I have a progressive 29.97fps 1920x1080p video that originally was PAL 25fps (pro-recorded concert in France). Someone inserted frames to get 29.97fps.
How can I find and remove the duplicate frames to get it back to 25fps without affecting audio-video sync?
I opened it in Virtualdub2 and verified there is no combing, just periodic duplicate frames. As I want to use SVPFlow (via Avisynth) to get a smooth 50fps, I need to get it back to 25fps first. I have demuxed the file into .mp2 and .avc files but don't know how to process this. I searched and found FDecimate() and the page describing the issues at hand. Is there a better way? Any help would be much appreciated by me.
Here's a short sample (11MB):
+ Reply to Thread
Results 1 to 7 of 7
FDecimate(rate=25,threshold=2,protect=true) gets me to 25fps, but there are still dups. I'm trying to change the dups to interpolated frames with InterpolateDoubles (part of the FrameRateConverter plugin). So far no luck. I'm using it like so: InterpolateDoubles(Thr=0.1,Preset="slowest",BlkSiz e=16)
The Thr value seems to have no effect. I'm using "slowest" otherwise I get artifacts (with FrameRateConverter...I now use SVPFlow as it's much faster).
Any other dup to interpolated frame plugins I should be looking at?
It's not uncommon for PAL to be converted to NTSC by slowing it down to 24.975fps and repeating fields, or in this case, repeating every fifth frame.
For some reason the old version of Lsmash I'm using on XP decodes at a frame rate of 29.9717fps, but FFMS2 seems to be getting it right.
LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll") FFVideoSource("E:\lamsf-29.97fps-clip.mkv", threads=1) TDecimate(Cycle=6) # from the TIVTC plugin
Here's a quick SD re-encode (edit: forgot to add the audio).
LWlibavVideoSource returned a 29.97 fps clip and TDecimate converted to 24.975 fps with no duplicates or drops:
LWLibavVideoSource("lamsf-29.97fps-clip.mkv", cache=false, prefer_hw=2) TDecimate(Cycle=6, CycleR=1)
TDecimate(Cycle=6, CycleR=1) works well.
Thank you everyone for helping!