|
|
INDEX F.A.Q. SEARCH LATEST POSTS
Rules Register Profile Private messages Login
| Author |
Message |
dererik Member
Joined: 19 Jun 2008 Location: Germany
|
|
Hi,
I use avisynth to play two videos in one, great.
But, I would like to get the audio from the right video.
a=avisource("xx.avi").converttoYUY2().Crop(40,60,-40,-60).BilinearResize(720,576)
b=avisource("xx.avi").converttoYUY2().Crop(40,0,-80,0)
c=StackHorizontal(a,b)
return(c)
####
The Avisynth docs say: Most other information (sound track, frame rate, etc) is taken from the first clip
####
Is there any possibility to get the audio from the right file?
thanks in advance
erik
|
|
guns1inger So Very Tired
Joined: 01 Apr 2004 Location: Miskatonic U
|
|
given the stack statement doesn't care which clip is first, why not just load the clip you want to get audio from as a, then stack them b,a
Otherwise try adding false to the AVISource(() statement for clip a to turn it's audio off.
_________________ The views expressed in this post are mine alone, unless plagiarised from others
Read my obscure DVD reviews here and my general blah here
|
|
dererik Member
Joined: 19 Jun 2008 Location: Germany
|
|
Hi gunslinger
thats what I tried:
Avisynth takes the audio from the file which is on the left, whether its b or a. When I turn the audio from the left video off, no audio at all.
|
|
dererik Member
Joined: 19 Jun 2008 Location: Germany
|
|
got it (thanx to bigotti5 from doom9):
a=avisource("xxx.avi").converttoYUY2().Crop(40,0,-80,0)
b=avisource("xxx.avi").converttoYUY2().Crop(40,60,-40,-60).BilinearResize(720,576)
c=StackHorizontal(b,a)
d=audiodub(c,a)
return(d)
a is on the right side and the audio is from a!
erik
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|