I am trying to extract frames using FFMPEG using the following command:
ffmpeg.exe ' -i ' videoFile ' -r 1/5 ' imgsFolder '\%5d.png'
It extracts frames and assigns frame names in a sequential manner, such as 0, 1, ...
Is it possible to assign the actual frame number as part of the extraction?
For example, if ffmpeg retrieves the 10th, 20th ... frames, it should call it img00010, img00020 instead of img00000, img00001 ....
source
share