How to make an .avi file with 2 audio stream and choose one for the playing
(by SPiRiT)

I think it's an exclusivity because I didn't find any method on the net (24/01/2000). This tecnics work for an .avi file with an mpeg4 video stream and 2 (or more) mp3) mp3 audio stream.

You have extract and compress the video from the vob in mpeg4, so you have for example video.avi. You have extract the 2 languages in .wav for example french.wav and english.wav
Launch virtualdub, and multiplex the .avi file with the first .wav, and save under for example videofrench.avi. Next, do the same thing but multiplex with the 2nd .wav and save under videoenglish.avi for example.
So, here we have 2 video file, one for each language.

Launch graphedit:
Insert filters, and choose avi/wav file source and choose videofrench.avi

Image 1
Image 2
Image 3

insert filters, and choose avi/wav file source and choose videoenglish.avi

insert filters, and choose avimux

Image 4

insert filters, and choose file writer (insert the name of the final avi, for example videofinal.avi)

Image 5
Image 6

All we have to do is link them:

Image 7

Press play and wait......here we are.....a beautiful .avi with 2 audio stream...
You will say me : why not taking the avi from the begining, take the 2 languages translated in mp3 and multiplex directly with... Well, it doesn't work, (at least with graphedit) si right now it's the only way I've found. If someone know a program who can multiplex directly 2 audio file in one avi.....say it to me :)

If you launch the .avi file like that, it's screwed because it will read both audio stream...
So, how to do ?
Let's continue:
Hit new in graphedit and in file, choose render url and open the file videofinal.avi (without specifing the directory).

Image 8

(Graphedit must be in videofinal.avi's directory if not it will note the path for the HD and it will be difficult to put it cd)

Image 9

So, now to read only the first audio stram (here the french one), delete the frame mpeg laye3 decoder from stream 2, go to default directsound device of stream2, right click, and select clock.

Image 10

Now save under french.grf for example

Image 11

Do the same thing for the second audio stream, here we delete the frame mpeg layer3 decoder from stream 1, and go to default directsound device from stream 1 and select clock.

Image 12

And save under english.grf for example

Image 13

Exit graphedit

Now to start the video in french do : mplayer2.exe french.grf
and in english : mplayer2.exe english.grf

See you soon and don't hesitate to write to me.

SPiRiT