[FFmpeg-user] Extract a frame

nonya bidness nunyafnbidness at gmail.com
Fri Jun 14 03:50:00 EEST 2019


I am using FFmpeg to grab a single frame from and RTSP on a windows server.

ffmpeg -rtsp_transport tcp -i rtsp://
192.168.100.10:7447/5c81df8ae41ba66e124ec0af_0 -f image2 -vframes 1
"C:\timelapse\sunflower-%10d.jpg"

I Scheduled this task to run every X mins.  However, Each time it runs, it
overwrites the sunflower-0000000001.jpg each time.

How can I prevent it from overwriting a file if it already exists?


More information about the ffmpeg-user mailing list