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.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 14 of 14
Thread
-
-
No. You must decimate and reencode. Use sufficient bitrate and you won't notice the quality loss.
-
-
It was 25p. Removing every sixth frame from a 30fps source leaves you with 25fps. The source was from PAL land.
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...
https://en.wikipedia.org/wiki/Data_compression#Video
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.
-
It varies. It's a collection of videos I have saved through the years but I separated those that had problems with the intention of fixing them in the future.
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. -
I think there is a decimate filter for vdub , it should work ok
http://rationalqm.us/decimate.html
It supports 1 in N decimation, where N can be up to 50 -
Nope, it is definitely more on the wizardly side. But it gets easier if you keep a few key concepts in mind.
- 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.
-
If this is more than a one-off, it's in your best interests to learn at least the rudiments. With 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. -
With 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).
-
Similar Threads
-
Audio gets out of sync when "decimating" on 6th frame instead of 5th
By jaibubwan in forum EditingReplies: 31Last Post: 12th Apr 2018, 12:45 -
50fps mp4 where every frame is duplicated
By pooksahib in forum Video ConversionReplies: 5Last Post: 7th May 2017, 01:46 -
AVStoDVD won't allow clicking on 6th-8th video titles?
By gastrof in forum Newbie / General discussionsReplies: 9Last Post: 3rd Mar 2015, 23:51 -
removing duplicated frames from YT video
By adom in forum EditingReplies: 7Last Post: 23rd Aug 2014, 11:19