[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:40:52 EEST 2020
Am Mo., 13. Apr. 2020 um 15:29 Uhr schrieb Ramana <ramanajajula9 at gmail.com>:
> I don't know, it is extracting the more and more number of frames, I have
> scheduled the live input feed as 1 hour video for 24x7. currently I am using
> the ffmpeg -i input.ts -vf fps=1 output_%d.jpg command to extract the
> frames for every second.
>
> When I compared the extracted frames for example with the 1800th frame(It is
> supposed to at 30th min zero-th frame). But actual frame is extracted at
> 30th min 12th frame. Not only for 1800th frame. Every frame is extracting at
> 12th frame for every second.
Did you see the documentation of the select filter?
https://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect
Did you try to test the pts for whole seconds?
Carl Eugen
More information about the ffmpeg-user
mailing list