I have a bunch of videos where every 6th frame is duplicated. The footage is 24p but was exported at 30p. I googled this before and found a way to solve it with Avidemux but it reencodes and loses some quality.
It seems simple enough. Remove every 6th frame, adjust the timeframe to 41.708ms and put the audio back. Is there a way to solve this with mkvtoolnix without reencoding? I could probably do it manually but it would take forever.
I DO NOT WANT to create interpolated frames.
I already tried setting it to 24p in mkvtoolnix BUT the program keeps the duplicated frames in, which means the length of the video is increased.
Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or try DVDFab Passkey and copy Blu-ray and DVDs! :)
+ Reply to Thread
Results 1 to 12 of 12
No. You must decimate and reencode. Use sufficient bitrate and you won't notice the quality loss.
I could probably do it manually but it would take forever.
...but I don't know much about videos
Any idea why it can't be done without reencoding though? It seems to me like it should be possible...
Most video compression formats and codecs exploit both spatial and temporal redundancy (e.g. through difference coding with motion compensation). Similarities can be encoded by only storing differences between e.g. temporally adjacent frames (inter-frame coding) or spatially adjacent pixels (intra-frame coding). Inter-frame compression (a temporal delta encoding) is one of the most powerful compression techniques. It (re)uses data from one or more earlier or later frames in a sequence to describe the current frame.
You can't just cut out frames without leaving a mess behind.
Seems everyone has decided you must reencode without asking you about the source codec. If it's uncompressed, losslessly compressed, or uses intraframe-only compression, then you can decimate it without reencoding.
I tried the avidemux method I found online with Remove IVTC Dupe and while it did remove many duplicates, some remained for some reason. Strangely enough, the duplicates that stayed were properly tagged by the software but still weren't removed.
I googled and found a handful of decimation avisynth filters that I guess I could use while reencoding but I don't know how to use avisynth nor ffmpeg. Only mkvtoolnix, handbrake and avidemux since they are easy and simple.
Avisynth is really not friendly to beginners. Gotta read 2 dozen threads and a documentation manual before I even can get the thing working lol.
- AviSynth is a processing engine that lurks until some application calls it.
- Compatible apps can open scripts (text files with the extension AVS) and pass them to AviSynth.
- VirtualDub is the canonical example of an application that works with AviSynth.
- AviSynth returns video and audio that looks just like a media file in the calling app.
AviSynth it's a simple matter to remove every sixth frame, even when it varies sometimes to the 7th, or 5th frames, and only averages dupes every six frames (it happens). If you plan on working on your videos in other ways and do more than just remove dupe frames, it's almost a necessity.
If you were to post a short 10-second sample, we could provide scripts for you. In the mean time, go to the site, download and install it and start reading the beginners pages.