Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Dec 2010
Posts: 13
|
Multiple trims not working
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 |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 6,977
|
Looks like you are missing dots,..
Code:
video=FFVideoSource() a=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 a++b++c |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Dec 2010
Posts: 13
|
[QUOTE=Selur;1983980]Looks like you are missing dots,..
Hi Selur, YEESS! that was it. Thank you so much. I had spent all yesterday to find a solution.I suspected such a stupid error but could not see it. Thank you for this (and for all your help in the forum) |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|