avinewbie
4th March 2023, 20:19
Hi folks
I am not able to get trim to work on multiple clips.
using AVPMod V 2.6.7.0
using AVSplus V 2.7.2 64 bit
script tried for testing:
video=FFVideoSource()
Trim(video, 18133,27421)ColorYUV(gain_y=74, gamma_y=90, off_y=-9).tweak(sat=10)
b=trim(video, 33478,42974) ColorYUV(gain_y=90, gamma_y=90, off_y=64).tweak(sat=9.00)
c=trim(video, 61235,74272) ColorYUV(gain_y=74, gamma_y=90, off_y=-9).tweak(sat=9)
return(last++b++c)
ISSUES:
1)
I cannot label the first trim as a=Trim(video, 18133,27421)ColorYUV(gain_y=74, gamma_y=90, off_y=-9).tweak(sat=10)
I get an error:invalid arg to function colour YUV. removing "a= " works
so how do some post get a+b+c to work? here only Last+b+c works
BUT
2)
Filtering is only working on the first script when i scroll thru the Last++b++c video in preview on AVSPMod.
Runing each script individually makes the filtering work but when joined, only the first video is filtered.
Any guidance appreciated
avinewbie
I am not able to get trim to work on multiple clips.
using AVPMod V 2.6.7.0
using AVSplus V 2.7.2 64 bit
script tried for testing:
video=FFVideoSource()
Trim(video, 18133,27421)ColorYUV(gain_y=74, gamma_y=90, off_y=-9).tweak(sat=10)
b=trim(video, 33478,42974) ColorYUV(gain_y=90, gamma_y=90, off_y=64).tweak(sat=9.00)
c=trim(video, 61235,74272) ColorYUV(gain_y=74, gamma_y=90, off_y=-9).tweak(sat=9)
return(last++b++c)
ISSUES:
1)
I cannot label the first trim as a=Trim(video, 18133,27421)ColorYUV(gain_y=74, gamma_y=90, off_y=-9).tweak(sat=10)
I get an error:invalid arg to function colour YUV. removing "a= " works
so how do some post get a+b+c to work? here only Last+b+c works
BUT
2)
Filtering is only working on the first script when i scroll thru the Last++b++c video in preview on AVSPMod.
Runing each script individually makes the filtering work but when joined, only the first video is filtered.
Any guidance appreciated
avinewbie