[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 08:11:50 EEST 2019


No luck.

On Mon, Sep 2, 2019 at 23:08 Michael Koch <astroelectronic at t-online.de>
wrote:

> 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
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

-- 
Sent from Gmail Mobile


More information about the ffmpeg-user mailing list