Am 03.09.2019 um 02:27 schrieb suraj kandukuri:
Hi,

I have Long video ~8hrs to be converted to individual frames to be saved in
a folder with the filename in the format
"InputVideoName_Frame_Number_TimeStampoftheframeinthevideo.jpg" for
example: InputVideo2_234_130425 in a python code. My system has GPU to
process the load.

I was able to get to a part of it by running the below code in terminal but
was not able to have the filename in the format i need and also was not
able to run it in python code with absolute pathnames

ffmpeg -i ActualPath/Video.mp4 -vf fps=1 Outputfolder/out%d.jpg


Have a look at the examples in chapter 21.15.1
https://www.ffmpeg.org/ffmpeg-all.html

Try to add this option to your command line (I haven't tested it):

-frame_pts true

Michael


_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to