I have a source video that is fake 24 fps. Every 1000 frames the 1001st is a duplicate.
I haven't fully decided if that's worth fixing or not, but is there a good decimation method for doing that?
My best guess was
TDecimate(Mode=0,cycleR=1,cycle=1001)
Seems like that would be a terrible idea though... and slow.
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 10 of 10
Thread
-
-
If the pattern is repeating without deviation, you can use DeleteEvery(1001,1000) from the ApplyEvery plugin. It would be much faster than TDecimate (because DeleteEvery is not performing an analysis, it's "blindly" deleting the offset value)
DeleteEvery adjusts the FPS, but does not affect audio. So you would need to slow the audio from 24/1 to 24000/1001Last edited by poisondeathray; 2nd Jan 2023 at 09:37.
-
Doesn't something like DeleteEvery cause the number of frame to shift as it works? I'd thought about creating something like that, but if frame 501,1502 ,2503, 3504, and 4505 are duplicates, doesn't deleting those frames move the duplicates? So they would become 501, 1501, 2501, 3501, 4501, etc.? Which would actually be pretty easy to delete now that I look at the math.
Btw, tested "TDecimate(Mode=0,cycleR=1,cycle=1001)" and it's slow and faulty. -
I would use SelectRangeEvery, that shouldn't affect the timeline.
I never used it, are you sure that it affects the timeline?Last edited by VoodooFX; 3rd Jan 2023 at 04:48.
-
No. Sorry. Too low on sleep with stupid crazy thinkin' going on. I suppose if I re-encoded it again and again deleting one frame each time that would happen.
I'll try DeleteEvery when I get a chance. -
DeleteEvery uses the original framenumbering for the timeline and does not shift as it works. You can verify with blankclip and showframenumber
Code:blankclip(10000, fps=23.976).AssumeFPS(24000,1001) showframenumber() changefps(24) #24/1 fps with duplicates @ framenumbers 1001,1002, 2002,2003, 3003,3004 Trim(1,0) #24/1 fps with duplicates @ framenumbers 1000,1001, 2001,2002, 3002,3003 DeleteEvery(1001,1000) #works ok
Code:SelectRangeEvery(1001,1000,0, audio=false)
-
-
Changefps("ntsc_film") the duration will stay the same and the judder if any will be uniform
if all else fails read the manual -
The audio function doesn't matter either way, the audio is separate and will be synced later.
Similar Threads
-
29.97 to 23.976 - interlace dilemma
By TenementLady in forum Video ConversionReplies: 9Last Post: 19th Dec 2022, 12:57 -
23.976 video - 3+1 frames
By maudit in forum EditingReplies: 2Last Post: 19th Sep 2022, 04:49 -
Use UsEac3To for 24fps to 23.976?
By digitalfreaknyc in forum AudioReplies: 2Last Post: 27th Mar 2022, 15:47 -
29.97 1080i to 23.976 1080P
By cyanfire in forum Video ConversionReplies: 6Last Post: 9th Feb 2019, 17:29 -
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