Talk:Trim
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) (no problem) |
Raffriff42 (Talk | contribs) (→Stream lengths remain independent) |
||
Line 1: | Line 1: | ||
+ | [[Category:Talk]] | ||
+ | ====Parameter names==== | ||
Hi there. Imo the old naming of the parameters is less confusing. Please revert back the naming. [[User:Admin|Admin]] 22:16, 7 January 2016 (CET) | Hi there. Imo the old naming of the parameters is less confusing. Please revert back the naming. [[User:Admin|Admin]] 22:16, 7 January 2016 (CET) | ||
: No problem. --[[User:Raffriff42|Raffriff42]] 01:41, 8 January 2016 (CET) | : No problem. --[[User:Raffriff42|Raffriff42]] 01:41, 8 January 2016 (CET) | ||
+ | |||
+ | ====Stream lengths remain independent==== | ||
+ | <div {{BoxWidthIndent|48|1}} > | ||
+ | [[Trim#Examples]]<br> | ||
+ | <code>Trim(100, 0, pad=false)</code><br> | ||
+ | "the resulting stream lengths remain independent"<br> | ||
+ | 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 ?! | ||
+ | </div> | ||
+ | :--[[User:Raffriff42|Raffriff42]] 15:02, 18 March 2016 (CET) |
Revision as of 15:02, 18 March 2016
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)
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)