Page 1 of 1

(Newbie) Remove duplicate frames on video

PostPosted: Thu Nov 09, 2017 9:31 pm
by Meiereika
I have a video file that contains duplicate frames every 2-3 seconds.

I was able to remove those redundant frames with the following command line:

ffmpeg -i input.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB out.mp4

However, at the same time the video was also transcoded into a progressive clip rather interlaced (just like the original file).
How can I force FFmpeg to maintain the interlaced structure, while at the same time removing the duplicate frames?

I'm totally new to FFMpeg and have no clue about command lines and all that stuff.
Maybe you could just help me out with the right code?