[FFmpeg-user] Extract N-frames sequence from input file to output with specified framerate.

Vasiliy Volkov volk.vasiliy at gmail.com
Sun Mar 22 23:35:31 CET 2015


In other words I need to decode every N-th (or calculated with some
equation) frame from video, without re-encoding, and muxing it with
specified timestamps - to look it faster. I believe it's possible, but how?

2015-03-22 21:12 GMT+03:00 Vasiliy Volkov <volk.vasiliy at gmail.com>:

> Carl, could you please specify the whole command line? Because I've tried
> -r instead of -vf "fps..." but without expected result. Maybe I've misused
> it.
> I know about select filter and the problem here not about "how" extract
> frame - based on scene detection or somehow different - but with output
> framerate and the whole approach. How to do it.
> Вс, 22 марта 2015 г. в 18:30, Carl Eugen Hoyos <cehoyos at ag.or.at>:
>
> Vasiliy Volkov <volk.vasiliy <at> gmail.com> writes:
>>
>> > the output framerate is not as I need (I need it to
>> > be as normal like 25 fps):
>> >
>> > ffmpeg -i source.mkv -vf "fps=fps=1/<Period>"
>> > -vframes 1000 -qp 0 -an -f yuv4mpegpipe pipe:1 > frames.yuv
>>
>> You can specify a frame rate for your output file
>> with "-r 25".
>>
>> There is also the select filter which may do what
>> you want.
>>
>> Carl Eugen
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>


More information about the ffmpeg-user mailing list