[FFmpeg-user] filter for changing frame rate

Jon bae jonbae77 at gmail.com
Mon May 13 15:21:12 EEST 2019


Am Mo., 13. Mai 2019 um 14:09 Uhr schrieb Carl Eugen Hoyos <
ceffmpeg at gmail.com>:

> Am Mo., 13. Mai 2019 um 14:03 Uhr schrieb Jon bae <jonbae77 at gmail.com>:
> >
> > Am Mo., 13. Mai 2019 um 13:41 Uhr schrieb Paul B Mahol <onemda at gmail.com
> >:
> >
> > > On 5/13/19, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> > > > Am Mo., 13. Mai 2019 um 13:25 Uhr schrieb Jon bae <
> jonbae77 at gmail.com>:
> > > >>
> > > >> Hello everybody,
> > > >> I have videos with 23.97 fps and I want to change the fps to 25. For
> > > this
> > > >> I
> > > >> don't want to use fps or framerate filter, but changing the pts
> with:
> > > >> setpts=1/1.0427093760427095*PTS
> > > >>
> > > >> If I do this I have to define also the output frame rate with the -r
> > > >> command. But I would like to change the frame rate with an video
> filter,
> > > >> after setting the pts.
> > > >
> > > > What's wrong with using the fps filter?
> > > > In some cases, dejudder could also help.
> > > >
> > >
> > > fps filter duplicates/drops frames, dejudder is specific filter for
> > > specific usecase.
> > >
> > > Yes the is right, I don't want any dropping or interpolating. Just
> setting
> > a new fps. But when this is not possible with filters, I have to use the
> -r
> > option.
>
> Or the fps filter.
> This filter and the r option have different algorithms that have advantages
> (and disadvantages) in different situations.
>
> But how you can tell the fps filter to don't duplicate one frame? For me
it hurts less, that the video plays slightly faster, than it have every
second a duplicated frame.


More information about the ffmpeg-user mailing list