[FFmpeg-user] How to remove duplicate frames

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Nov 29 15:58:30 EET 2020

Am Sa., 28. Nov. 2020 um 16:57 Uhr schrieb Mike Martin <redtux1 at gmail.com>:

> ffmpeg -i input.mp4  -vf mpdecimate,setpts=N/25/TB -c:a copy -vsync 0
> out.mp4

Please remove setpts and vsync from your command line, both are
meant to destroy audio sync.

You cannot get the result you want with mp4 output because FFmpeg
does not like vfr mov output (and if you remove frames, you get vfr
(There is no relevant difference between mov and mp4.)

Carl Eugen

More information about the ffmpeg-user mailing list