I'm transferring some tv episodes from vhs tape. The show source is pretty obviously 24p. The recording was made from an sd channel years ago so it's captured as 30i. There is a network logo/overlay text that is generally static and not an issue, but is occasionally animated (probably in 30i).
I'm using avisynth and tfm/tdecimate. This generally works well, except when the overlay logo animates over the duplicated show source frame. tdecimate sees the change in the overlay and keeps both duplicated frames, and discards another frame it should be keeping.
I have attached a gif showing the behavior. you can see the video kind of catch when the animation happens and a source frame is repeated, and the debug info tags a different frame in sequence as the duplicate.
for my script I'm using
tfm(y0=360,y1=460) # setting the exclusion band range (720x480 originally)
tdecimate( display=true , hint=true, denoise=false) # denoise does not help
I was hoping the exclusion band from tfm would carry over but it seems it doesn't.
What's the best way to deal with this? Is there a way to tell tdecimate() to ignore that area of the picture? Some other approach? I think if all else fails I will try using remapframes() and swap the 2nd frame in the animation with the first, it'll get identified properly, but that's kind of tedious.
+ Reply to Thread
Results 1 to 3 of 3
-
-
-
awesome thanks. that seems to take care of my issue. here's my revised script
vp = tfm(v, y0=360,y1=460) # v is 30i video, output 30p
vc = crop(vp, 0,0,0,-120) # cropped below line 360 to exclude overlays
vc.tdecimate( clip2=vp, display=true , hint=true, denoise=false) # evaluate cropped 30p video for decimate, return frames from 30p stream
Similar Threads
-
Remove Channel Logo with Ripbot
By Yonidan in forum Video ConversionReplies: 6Last Post: 28th Oct 2020, 14:47 -
[ffmpeg]: overlay logo over vstack/hstack composition
By mapg in forum Newbie / General discussionsReplies: 4Last Post: 22nd Sep 2019, 10:19 -
Video Overlay (watermark/animated logo)
By zkazzay in forum Newbie / General discussionsReplies: 10Last Post: 15th Feb 2019, 08:59 -
QTGMC and TDecimate as a custom IVTC script?
By Vitality in forum RestorationReplies: 9Last Post: 22nd Nov 2018, 16:04 -
Error message:" That program is not allowed to be recorded" Channel 24.3
By carltomd in forum DVD & Blu-ray RecordersReplies: 1Last Post: 13th Oct 2017, 12:00