Hi. I know that some videos I've edited in the past have had a repeated frame but, since I don't notice it in playback, I've ignored it in my edit. Out of curiosity, I'm trying it now and thought I'd use the SelectEvery command. To begin, I wanted to be sure that the repeat in my video was every fifth frame so I went through a few seconds of it manually:
At first glance, every fifth frame is a repeat but note 'trim(77825,77827' - the repeat comes in a frame early. Can this be explained or is it likely just a quirk of this video? Obviously, because of this weird break in the sequence (and any others there might be) using SelectEvery wouldn't work properly. Thank you.Code:trim(77800,77803)++trim(77805,77808)++trim(77810,77813)++trim(77815,77818)++trim(77820,77823)++trim(77825,77827)++trim(77829,77832)++ trim(77834,77837)++trim(77839,77842)++trim(77844,77847)++trim(77849,77852)++trim(77854,77857)++trim(77859,77862)++trim(77864,77867)++trim(77869,77872)++trim(77874,77877)++trim(77879,77882)++trim(77884,77887)++trim(77889,77892)++trim(77894,77897)++trim(77899,77902)++trim(77904,77907)++ trim(77909,77912)++trim(77914,77917)++trim(77919,77922)++trim(77924,77927)++trim(77929,77932)++trim(77934,77937)++trim(77939,77942)++trim(77944,77947)++trim(77949,77952)++trim(77954,77957)++trim(77959,77962)++trim(77964,77967)++trim(77969,77972)++trim(77974,77977)
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 5 of 5
Thread
-
-
Pattern breaks are often glitches from editing.
The duplicates are probably from a film (24fps) to NTSC (30fps) conversion.
For removing the duplicates try
Code:TDecimate()
Code:TDecimate(cycle=5,cycleR=1)
-
Thanks, Sharc. I ran the simple 'TDecimate()' on my wee edit above and the result was amazing. It included frames 77827 and 77828 (which are duplicates at the sequence break) but every frame it dropped was a duplicate. Excellent stuff. Can you (or anyone) explain how TDecimate KNOWS which frames to drop?
-
See here, Basic Parameters.
http://avisynth.nl/index.php/TIVTC/TDecimate
Basically it drops the "M most similar frames" out of a group of "N". -
Thanks again. Minor, supplementary question now: I see that I have to add '.TDecimate()' to every command i.e.
Code:trim(73861,78317).TDecimate()++trim(76232,78317).TDecimate()
Code:TDecimate() trim(73861,78317)++trim(76232,78317)
IGNORE ME: This works:
Code:trim(73861,78317)++trim(76232,78317) TDecimate()
Last edited by pooksahib; 12th Mar 2023 at 09:18.
Similar Threads
-
Mp4Box - Output is generated without frame Width, frame height & frame rate
By Saptarshi in forum Newbie / General discussionsReplies: 0Last Post: 25th Nov 2022, 09:27 -
Problem with Premiere frame size and motion scale on frame hold
By miguelmorin in forum EditingReplies: 0Last Post: 10th Jan 2021, 18:20 -
Every 5th frame is interlaced. How do I address this in avisynth?
By LaserBones in forum Newbie / General discussionsReplies: 5Last Post: 15th Dec 2020, 19:14 -
Disabling Auto-Repeat Feature in Freemake Video Converter
By TheRockSnob in forum Newbie / General discussionsReplies: 0Last Post: 9th May 2020, 22:20 -
Audio gets out of sync when "decimating" on 6th frame instead of 5th
By jaibubwan in forum EditingReplies: 31Last Post: 12th Apr 2018, 13:45