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

Paul B Mahol onemda at gmail.com
Thu Oct 15 11:11:38 CEST 2015


On 10/15/15, Nicolas George <george at nsup.org> wrote:
> Le quartidi 24 vendemiaire, an CCXXIV, Paul B Mahol a ecrit :
>> But not framerate.
>
> Yes, framerate. Please, could you make a little bit of effort so that this
> can be a two-sided discussion?
>
> The following command produces a 40-FPS Matroska file, and the next one
> transforms it into a 25-FPS file:
>
> ffmpeg -lavfi testsrc=r=40:d=10 /tmp/in40.mkv
> ffmpeg -i /tmp/in40.mkv -vf setpts='N*40' /tmp/out25.mkv
>
> Therefore, as far as I am concerned, this setfps filter is only useful
> because you did not correctly understand what the setpts filter can do. If
> I
> am wrong, please elaborate. NOT JUST ONE SHORT SENTENCE, thank you.

This filter sets outlink->frame_rate. Does any of your solutions do that?

>
> Regards,
>
> --
>   Nicolas George
>


More information about the ffmpeg-devel mailing list