python-ffmpeg-video-streaming
python-ffmpeg-video-streaming copied to clipboard
rtsp to file mp4 not work
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
after download to local machine, it can't be play using vlc
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