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

Nicolas George george at nsup.org
Wed Oct 14 16:20:05 CEST 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151014/43cf1edc/attachment.sig>


More information about the ffmpeg-devel mailing list