Am 20.09.2023 um 16:50 schrieb Naveen.B:
Hello,
Thanks for the sharing the useful links,
I tried the way you said, but I am not sure whats happening, I don't see
anything happening after executing the command (neither it saves the jpg
files in the current path), I need to kill the process in later stage and I
get the below error,
C:\ffmpeg-6.0\bin>ffmpeg -i rtsp://192.168.9.78:5004 test.jpg
If you want to extract more than one picture, then the output filename
should contain a number that's automatically increased.
For example:
ffmpeg -i rtsp://192.168.9.78:5004 -t 5 -y test%4d.jpg
%4d is a 4-digit number that's automatically increased.
If you are starting FFmpeg from a Windows batch file, then % must be replaced
by %%
-t 5 does limit the duration to 5 seconds.
-y does automatically overwrite the output files, if they exist already.
Michael
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".