Talk:Trim

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (typo & formatting)
m (typo correction)
 
Line 19: Line 19:
 
</div>
 
</div>
 
:--[[User:Raffriff42|Raffriff42]] 15:02, 18 March 2016 (CET)
 
:--[[User:Raffriff42|Raffriff42]] 15:02, 18 March 2016 (CET)
 +
:'''EDIT''' I meant to say, NOT to be trimmed, since stream lengths remain independent --[[User:Raffriff42|Raffriff42]] 16:39, 18 March 2016 (CET)

Latest revision as of 16:39, 18 March 2016

[edit] Parameter names

Hi there. Imo the old naming of the parameters is less confusing. Please revert back the naming. Admin 22:16, 7 January 2016 (CET)

No problem. --Raffriff42 01:41, 8 January 2016 (CET)

[edit] Stream lengths remain independent

Trim#Examples
Trim(100, 0, pad=false)
"the resulting stream lengths remain independent"
Should this be reworded? In the script below, I would expect audio to be trimmed to video length

A=WavSource("timecode(philrees.co.uk).wav") [* (Adur = 1.935s) *]
\ .AmplifyDB(-20)
ColorBars   [* (Vdur = 1 hr)      *]
Trim(0, 9)  [* (Vdur = 10 frames) *]
AudioDub(A) [* Adur > Vdur        *]
Trim(0, 9, pad=false)
return Last.Info ## audio is trimmed ?!
--Raffriff42 15:02, 18 March 2016 (CET)
EDIT I meant to say, NOT to be trimmed, since stream lengths remain independent --Raffriff42 16:39, 18 March 2016 (CET)
Personal tools