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

Paul B Mahol onemda at gmail.com
Wed Oct 14 18:42:19 CEST 2015


Dana 14. 10. 2015. 16:20 osoba "Nicolas George" <george at nsup.org> napisala
je:
>
> Le primidi 11 vendémiaire, an CCXXIV, Paul B Mahol a écrit :
> > >>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.
> > > Can't this be accomplished by the setpts filter?
> > setpts filter doesnt change framerate, so generally no.
>
> Are you sure? It seems to be exactly one of the setpts examples:
>
>        ·   Set fixed rate of 25 frames per second:
>
>                    setpts=N/(25*TB)
>
> Regards,
>
> --
>   Nicolas George
>
>

This changes pts but framerate remains same.
_______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list