I have some music videos that I'm converting. They are quite a few different types of source video, but lets just use a music video that is film source as an example. I have to IVTC it to restore the original film frames from the video, but there is an animated logo at the bottom right of the music video that is interlaced/video. Are my avs scripts correct for taking an analysis pass at the video with the logo cropped out to obtain the correct matching and decimating results and then apply those results in a non-analysis pass (actual encode pass) without the logo cropped out?
Analysis pass script (where I'm cropping the logo out of the bottom right corner of the video) :
Encode pass script :Code:d2vpath = "Video.d2v" DGDecode_mpeg2source("Video.d2v", info=3) crop( 0, 0, 300, 300) tfm(d2v=d2vpath,order=-1,mode=3,PP=6,slow=2,output="TFM.txt") tdecimate(Mode=4,output="TDec.txt")
I'm doing this because I believe that the overlaid interlaced/video logo would screw up the field matching of the actual music video.Code:DGDecode_mpeg2source("Video.d2v", info=3) tfm(batch=true,input="TFM.txt",order=-1,mode=3,PP=6,slow=2) tdecimate(batch=true,input="TDec.txt",tfmIn="TFM.txt")
alcOre
+ Reply to Thread
Results 1 to 4 of 4
-
-
I'd use something like Overlay() to cover the animated logo with a black box instead of cropping the video down to 300x300.
-
TIVTC's TFM has a way to ignore the stuff you don't want it to consider when making field matching decisions. From the TFM readme:
y0/yi -
These define an exclusion band which excludes the lines between y0 and y1 from
being included in the field matching decision. An exclusion band can be used
to ignore subtitles, a logo, or other things that may interfer with the matching.
y0 sets the starting scan line and y1 sets the ending line, all lines in between
y0 and y1 (including y0 and y1) will be ignored. Set y0 equal to y1 to disable.
Default: y0 - 0 (int)
y1 - 0 (int)
Similar Threads
-
avs script giving me fits
By willmoodom in forum Newbie / General discussionsReplies: 32Last Post: 30th Sep 2009, 03:43 -
How do I create an AVS script
By Sopt Finder in forum Newbie / General discussionsReplies: 4Last Post: 15th Jun 2009, 13:17 -
AVS script and Subtitle Workshop
By sambat in forum SubtitleReplies: 3Last Post: 19th Apr 2009, 10:20 -
This correct avs script for this source?
By alcOre in forum Newbie / General discussionsReplies: 2Last Post: 13th Feb 2009, 01:24 -
help with avs script (dv to mpeg2) Fading in/out
By ZiGGY909 in forum EditingReplies: 2Last Post: 14th Nov 2007, 14:12