Re: [FFmpeg-user] How to remove duplicate frames

2020-11-29 Thread Carl Eugen Hoyos
Am Sa., 28. Nov. 2020 um 16:57 Uhr schrieb Mike Martin :

> 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
output).
(There is no relevant difference between mov and mp4.)

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] How to remove duplicate frames

2020-11-28 Thread Mike Martin
Hi, every so often I come across a downloaded video where the source has
multiple stall moments, where the same frame shows for several seconds (up
to a minute) and then continues.

I have looked at mpdecimate,but the audio sync is totally destroyed, as per
various variations of the following common line

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

with vsync nothing changes , without massive desync

any suggestions?

Mike
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".