[FFmpeg-user] Extracting Frames from Video using FFMPEG in GPU and File Name with TimeStamp in Linux

suraj kandukuri surajkandukuri at gmail.com
Tue Sep 3 03:27:24 EEST 2019


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




*Thanks, Suraj *Phone:- 972-900-3677


More information about the ffmpeg-user mailing list