VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. I want to join 2 videos from different sources, but I'm only going to apply a watermark remover to one video. The filter works fine when I work with a single video, but if I try to merge the parts using the set variables, the filter stops working and the watermark appears.

    Code:
    VS1=LWLibavVideoSource("V1.mkv")
    P2=VS1.DuplicateFrame(3118).Trim(420,3118).ChangeFPS("ntsc_video").TDecimate().Spline36Resize(1280,720, 226,0,-228,-0)
    P5=VS1.Trim(40847,43542).ChangeFPS("ntsc_video").TDecimate().Spline36Resize(1280,720, 226,0,-228,-0)
    VS2=LWLibavVideoSource("V2.ts")
    VS2
    EraseLOGO(logofile="logo.lgd",start=1249, end=4543)
    EraseLOGO(logofile="logo.lgd",start=6344, end=43355)
    EraseLOGO(logofile="logo.lgd",start=46204, end=50398)
    P1=VS2.Trim(1248,1547).TFM().TDecimate().Spline36Resize(1280,720, 2,0,-2,-0)
    P3=VS2.Trim(4246,4544).TFM().TDecimate().Spline36Resize(1280,720, 2,0,-2,-0)
    P4=VS2.Trim(6343,43355).TFM().TDecimate().Spline36Resize(1280,720, 2,0,-2,-0)
    P6=VS2.Trim(48899,50398).TFM().TDecimate().Spline36Resize(1280,720, 2,0,-2,-0)
    P1+P2+P3+P4+P5+P6
    I'm definitely failing at something, but I don't know what. The VS2 variable alone on the line before filter is because it's only way I found to make AVSPmod not have an error.
    Last edited by naoto89; 26th Aug 2025 at 12:02.
    Quote Quote  
  2. add
    Code:
    VS2=last
    under your EraseLOGO-block or call EraseLogo on VS2 and assign the output to VS2
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  3. Video Damager VoodooFX's Avatar
    Join Date
    Oct 2021
    Location
    At Doom9
    Search PM
    Originally Posted by naoto89 View Post
    I want to join 2 videos from different sources, but I'm only going to apply a watermark remover to one video. The filter works fine when I work with a single video, but if I try to merge the parts using the set variables, the filter stops working and the watermark appears.
    By quick look, I think you meant that:

    Code:
    VS1=LWLibavVideoSource("V1.mkv")
    P2=VS1.DuplicateFrame(3118).Trim(420,3118).ChangeFPS("ntsc_video").TDecimate().Spline36Resize(1280,720, 226,0,-228,-0)
    P5=VS1.Trim(40847,43542).ChangeFPS("ntsc_video").TDecimate().Spline36Resize(1280,720, 226,0,-228,-0)
    VS2=LWLibavVideoSource("V2.ts")
    VS2
    EraseLOGO(logofile="logo.lgd",start=1249, end=4543)
    EraseLOGO(logofile="logo.lgd",start=6344, end=43355)
    EraseLOGO(logofile="logo.lgd",start=46204, end=50398)
    P1=last.Trim(1248,1547).TFM().TDecimate().Spline36Resize(1280,720, 2,0,-2,-0)
    P3=last.Trim(4246,4544).TFM().TDecimate().Spline36Resize(1280,720, 2,0,-2,-0)
    P4=last.Trim(6343,43355).TFM().TDecimate().Spline36Resize(1280,720, 2,0,-2,-0)
    P6=last.Trim(48899,50398).TFM().TDecimate().Spline36Resize(1280,720, 2,0,-2,-0)
    P1+P2+P3+P4+P5+P6
    BTW, there is better delogo tool than MakKi's plugin, try InpaintDelogo.
    Quote Quote  



Similar Threads

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