rtsp to file mp4 not work · Issue #128 · quasarstream/python-ffmpeg-video-streaming · GitHub
Skip to content

rtsp to file mp4 not work #128

Open
Open

Description

@sugizo

Describe the bug
rtsp url link to file mp4 not work

To Reproduce
code

url = 'http://honjin1.miemasu.net/nphMotionJpeg?Resolution=320x240&Quality=Standard'
rtsp = ffmpeg_streaming.input(url)
output = 'rtsp_mp4.mp4'
rtsp_mp4 = rtsp.stream2file(Formats.h264() )
rtsp_mp4.output(output, async_run = False)

Expected behavior
output file can be play either in IPython or media player, e.g. vlc

Screenshots
executed in google colab can not play using ipython
image

after download to local machine, it can't be play using vlc
image

Local machine (please complete the following information):

  • OS : ubuntu jammy
  • FFMpeg : ffmpeg version 4.4.2-0ubuntu0.22.04.1
  • environment : google colab
  • python : 3.10.12
  • python-ffmpeg-video-streaming : 0.1.15

best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions