Answer the question
In order to leave comments, you need to log in
Ffmpeg camera snapshot, is it possible to rename snapshot file?
There is this line:
c:\ffmpeg\bin\ffmpeg.exe -f dshow -i video="Lenovo EasyCamera" -vframes 1 -f image2 snapshot%%04d.jpg
Answer the question
In order to leave comments, you need to log in
Try using the -strftime option, then you can specify a name pattern consisting of date and time values.
If this does not work for some reason, you can do the same with the robbed file immediately after its creation, using the jhead utility (it is designed to manipulate JPEG files, rename them, change EXIF).
It works now
c:\ffmpeg\bin\ffmpeg.exe -f dshow -i video="Lenovo EasyCamera" -vframes 1 -f image2 -strftime 1 "d:\%%Y-%%m-%%d_%%H-%%M-%%S.jpg"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question