FFmpeg: Remove Duplicate Frames with mpdecimate while Retaining Audio

Run mpdecimate Filter on Video (mp4 output)
ffmpeg -i original_file.mp4 -vf mpdecimate -vsync vfr -acodec copy mpdecimated.mp4
Run mpdecimate Filter on Video (mov output)*
ffmpeg -i original_file.mp4 -vf mpdecimate -vsync vfr -acodec copy mpdecimated.mov

* This seems to work better with Final Cut Pro

FFmpeg Installation Links: https://www.rickmakes.com/ffmpeg-notes/

Stack Overflow thread on mpdecimate: https://stackoverflow.com/questions/37088517/remove-sequentially-duplicate-frames-when-using-ffmpeg

Leave a comment

Your email address will not be published. Required fields are marked *