[FFmpeg-user] FFMPEG RTSP stream problem
Balogh László
laci at blacc.hu
Fri Apr 8 09:10:55 EEST 2022
Hi Adam,
Thanks a lot, problem is solved!!!
Yes its an ONVIF camera. I know that it can produce single JPEG
pictures, but as i saw in the camera settings, its on sub channel which
settings offers only 640*480 MJPEG picture, so i passed this. But now i
did a try, and i'm now surprised, because wth the following command i
got a full resolution (2688*1520) JPEG image very quick:
wget -O /<SAVETOPATH>/$today.jpeg
http://<USERNAME>:<PASSWORD>@<IPADDRESS>/ISAPI/Streaming/channels/1/picture
So i think with this my problem is solved, and many thanks again for
your tip!!
Regards, Laszlo
2022. 04. 08. 5:45 keltezéssel, Adam Nielsen via ffmpeg-user írta:
>> I have an RTSP stream which framerate is 1/16, which means every 16 sec
>> a frame is transported through RTSP. This framerate is because of a
>> special purpose, cannot and want not to change it.
>>
>> What i want is to save every frame of this video as single JPEG image on
>> my server (Linux). Here the full command, which is working in bash script:
> This looks like an ONVIF camera. Most of these offer screenshots in
> JPEG format, so you can use curl or wget to download a single frame as
> a .jpg when you need it.
>
> Is there a reason why you don't want to use the screenshot URL?
>
>> its waiting about 2 minutes. But don't know why?
>> libswscale 4. 8.100 / 4. 8.100
>> libswresample 2. 9.100 / 2. 9.100
>> libpostproc 54. 7.100 / 54. 7.100
>>
>> And after that its finishing with the following lines:
>>
>> Input #0, rtsp, from
> It looks like it might be trying to probe the input to figure out what
> format it's in, since you can stream multiple codecs over RTSP.
>
> You could try messing with the -probesize option, but I'd only do this
> if there's some reason why the screenshot URL is unusable.
>
> Cheers,
> Adam.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list