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.
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.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
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by naoto89; 26th Aug 2025 at 12:02.
-
add
Code:VS2=last
users currently on my ignore list: deadrats, Stears555, marcorocchini -
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
Similar Threads
-
Error importing avs script on ripbot264
By david.dgc in forum Video ConversionReplies: 14Last Post: 20th Sep 2023, 23:40 -
HCenc Help creating AVS script. newbie!
By Rom7x in forum Authoring (DVD)Replies: 2Last Post: 11th Feb 2022, 03:54 -
Selur Hybrid: how to export profile and/or AVS script
By Darryl In Canada in forum RestorationReplies: 1Last Post: 7th Feb 2022, 11:11 -
Colour of video changes when using FFMPEG with AVS Script
By bradwiggo in forum Video ConversionReplies: 5Last Post: 3rd Jul 2021, 05:51 -
Subtitle grammar check?
By jooj in forum SubtitleReplies: 1Last Post: 23rd Dec 2020, 12:33