[FFmpeg-user] ffmpeg -i reports a video of length 03:17.53, but splitting into frames at 2 fps only results in one frame

Griffin Smith griffin at urbint.com
Thu Jul 18 17:28:34 EEST 2019

Gyan <ffmpeg at gyani.pro> writes:
> If a framerate value has been set then
>      -vf setpts=N/FR/TB

It worked!!! Thank you so much for your help, this is awesome.

I'm building an application that splits user-supplied videos into 
frames - what
would I look for / did you look for in ffprobe output that 
indicated this would
work? Is this likely to work for all videos with overflowed (or 
whatever) DTS/PTS or
is there some sort of logic I'd have to put in there to dispatch 
on information
about the video streams.

More information about the ffmpeg-user mailing list