[FFmpeg-devel] [PATCH] avfilter: add setfps filter

Paul B Mahol onemda at gmail.com
Fri Oct 2 21:24:35 CEST 2015


On 10/2/15, Nicholas Robbins <nickrobbins-at-yahoo.com at ffmpeg.org> wrote:
> On Friday, October 2, 2015 2:00 PM, Moritz Barsnick <barsnick at gmx.net>
> wrote:
>>
>>
>>On Fri, Oct 02, 2015 at 19:47:12 +0200, Paul B Mahol wrote:
>>> fps filter duplicated or removes frames to produce cfr output.
>>> This filter changes fps and do not remove or duplicate single
>>> frame so output becomes faster or slower when played when
>>> fps increase or decrease.
>>
>>Ah! So, in other words, it takes input frames, totally disregads their
>>pts/dts, and puts each one into a cfr output stream at the given fps?
>>
>>That solves a lot of problems and ridiculous math. :-) I will try it.
>>
>>Cheers,
>>
>>Moritz
>
>
>
> Can't this be accomplished by the setpts filter?

setpts filter doesnt change framerate, so generally no.


More information about the ffmpeg-devel mailing list