[FFmpeg-user] Frames at a particular (interval) distance
Tom Evans
tevans.uk at googlemail.com
Tue Mar 18 16:48:45 CET 2014
On Tue, Mar 18, 2014 at 2:57 PM, oana1404 <oana.inel at gmail.com> wrote:
> Hi,
>
> I'm trying to extract key frames from a video using the following option:
> eq(pict_type\,I). However, there are lot of keyframes, and I wouldn't want
> to get all of them. Thus, I've been thinking to get the timestamps only for
> keyframes at a difference between 50 and 60 seconds. Is there a way to do
> that?
Yes, as listed in the docs for the select filter:
Select only I frames contained in the 10-20 time interval:
select=between(t\,10\,20)*eq(pict_type\,I)
http://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect
Cheers
Tom
More information about the ffmpeg-user
mailing list