View Full Version : AVS scripts and multiple video sources?
tomos
23rd December 2005, 09:17
i'm trying to encode 3 transport streams. i ran them through dgindex but they have different PIDs so cant add all together so ended up with 3 d2v files.
is there a way to add all 3 into one script? i've tried a few random ideas that popped into my head and searched both avisynth forums, but cant see anything that would help.
midnightsun
23rd December 2005, 10:25
You assign each d2v to a different variable in the avs.
Example:
clip1=mpeg2source("....\1.d2v")
clip2=mpeg2source("....\2.d2v")
clip3=mpeg2source("....\3.d2v")
Then you can append, trim, filter, do whatever you like.
stickboy
23rd December 2005, 10:45
You don't even need three variables (although the variables are typically easier to manage).
mpeg2source("1.d2v") ++ mpeg2source("2.d2v") ++ mpeg2source("3.d2v")
tomos
23rd December 2005, 10:52
ahhhh, thank you both :goodpost:
i was trying things like
---------------------------------
mpeg2source("1.d2v")
mpeg2source("2.d2v")
and
mpeg2source("1.d2v"+"2.d2v")
---------------------------------
thank you both, will try tonight. you've made my life a lot easier :)
tomos
24th December 2005, 00:15
just got a change to test it and this worked a treat.
thanks again guys :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.