[FFmpeg-user] frame rate change w/o changing frames

Moritz Barsnick barsnick at gmx.net
Thu Jan 9 21:45:47 EET 2020


On Wed, Jan 08, 2020 at 20:48:56 +0000, Wayne Poll wrote:
> > I would like to speed up this video. I figure it would be nice to
> > simply increase the frame rate to 60 fps, so a x2.002 speed-up.
> >
> > Can this be done without re-encoding the video? I tried:

> You need to include a filter, like this: -
> -r 60 -vf "setpts=(1/2)*PTS"

You cannot use filters without re-encoding the video.

You *can* use bitstream filters though. I seem to recall there was an
idea of a "setpts" bitstream filter, but I can't find the thread on
ffmpeg-devel. This could have changed speed without reencoding.

Cheers,
Moritz


More information about the ffmpeg-user mailing list