Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtsp to file mp4 not work #128

Open
sugizo opened this issue Apr 5, 2024 · 0 comments
Open

rtsp to file mp4 not work #128

sugizo opened this issue Apr 5, 2024 · 0 comments

Comments

@sugizo
Copy link

sugizo commented Apr 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant