VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Oct 2008
    Location
    United States
    Search Comp PM
    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) :

    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")
    Encode pass script :

    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")
    I'm doing this because I believe that the overlaid interlaced/video logo would screw up the field matching of the actual music video.

    alcOre
    Quote Quote  
  2. I'd use something like Overlay() to cover the animated logo with a black box instead of cropping the video down to 300x300.
    Quote Quote  
  3. Member
    Join Date
    Oct 2008
    Location
    United States
    Search Comp PM
    So replace Crop() with Overlay() and use the same 2 scripts?
    Quote Quote  
  4. 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)
    You'll still have to figure a way to handle the interlaced logo, I guess, like jagabo's suggestion of blocking it out. Or maybe running Vinverse afterwards to deinterlace it.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!