[FFmpeg-user] How to extract the very starting frame for every second on a live videi input?

Ramana ramanajajula9 at gmail.com
Mon Apr 13 16:12:37 EEST 2020

Hi everyone,

I am trying yo select select the very starting frame of every second on a
live input video. Input is a .ts file. I have a command to select the 0th
frame of every second on a non-live video. 

ffmpeg -i INPUT.ts -vf "select=between(mod(n\, 25)\, 0\, 0), setpts=N/24/TB"

 But this is useless for me, as I want to work on live feed. 

I have tried another command also i.e

ffmpeg -i INPUT.ts -vf
-vsync 0 out%d.png 

The above command extracting the frames but they are not in the correct
order as per the time. I have ran the command on TCR time code video to
check whether the frames are in sync.

Can anyone help me on this?


Sent from: http://www.ffmpeg-archive.org/

More information about the ffmpeg-user mailing list