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

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Apr 13 16:16:19 EEST 2020

Am Mo., 13. Apr. 2020 um 15:12 Uhr schrieb Ramana <ramanajajula9 at gmail.com>:

> 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"
> output-%04d.png
>  But this is useless for me, as I want to work on live feed.

Why would this command not work on a live feed?

Carl Eugen

More information about the ffmpeg-user mailing list