Log in

View Full Version : More than two audio streams in a video file?


Dreamweaver
20th May 2002, 15:16
Hi out there!

Is there a way to pack more than two audio streams in an avi or other video file?
I'd like to rip Dogma with the English language track and both of the commentary tracks. If possible into one media-file on two CD's. Does anyone know how to do that??

Alex

emilius256
20th May 2002, 16:11
Try reading the good guide of doom9
http://www.doom9.org/dual-audio.htm

or this one if you wnat vorbis audio

http://www.doom9.org/ogg.htm

bye

Dreamweaver
20th May 2002, 16:22
Yes, but they only tell how to mux two audio tracks, not three(!!!). I want to get all three tracks in one file and as far as i understand it you can only specify a second audio stream in nandub or virtualdub. Ain't it correct??
Alex

Acaila
20th May 2002, 18:08
The last link tells you about OggMux which can mux more than two Ogg Vorbis audio streams into your movie. You'll have to use the Ogg container instead of an Avi for the final product though. But it works perfectly.

raistlin2k
20th May 2002, 19:17
Yeah, but mp3 doesn't work in ogm, any Dshow-based player responds that no decoder is available, even graphedit cannot render audio from an ogm containing mp3.

So if you want ot use mp3 as audiocodec you have two solutions:
1. avimux (by the author of bsplayer) only downside: no mono-stream is supported (e.g. for commentary)

2. aviedit: this tool works perfectly, just open avi and use "merge"-function to add all audio-streams. I suggest searching for aviedit 2.9, for this one you can get a serial number :devil:

Cheers
Raist

Beave
22nd May 2002, 13:06
Thanks for the tip with aviedit, but it won't select any VBR MP3 nor ac3 files. And even with CBR it has an internal error when trying to save as. A pitty. I was looking forward to mux 3 audiotrack in an avi stream. And since I get those broken frames with OGMs I can't use them either.

If somebody could just make a nandub version with three audio tracks...

raistlin2k
22nd May 2002, 14:05
Sorry, my fault: You have to use wavemp3 1.2 first to give all mp3s a wave-header. unfortunately, this works only with CBR MP3s, but it's the only way you have to use more than 2 audio-streams in an avi, besides avimux, working with CBR mp3s and ac3s, but hey, if you use more than two ac3-streams you will need a DVD-burner to burn your movie, too big cor CD:D

What's going wrong for you with ogm? I can use it, with four audio-streams, decoding works with FFDshow and Divx 5.02 Decoder with all features enabled.

Raist

Beave
22nd May 2002, 22:18
It is the problem discribed here (http://forum.doom9.org/showthread.php?threadid=23339) . It happened with every movie so far reproducably, but you have to look for it carefully. So OGM is not an avi replacement for me (and many others who use divx) anymore. I use OGM for some specials (making ofs...) where I don't care so much.

And you are sure you don't have those broken frames in OGMs?

raistlin2k
22nd May 2002, 23:22
Yeah, all I noticed today was a bug in latest FFDshow decoder from sourceforge, in Bram Stokers Dracula there is a picture error when jonathan enters the castle at the beginning, but turning FFDshow off (using DivX Decoder) all goes perfect.

Raist

Eric B
5th June 2002, 11:10
I also want to mux 3 audio streams in an AVI : Ac3 + mp3 vbr/abr.
I've tried avimux, but since my mp3 are vbr, I have a desync in playing the result avi file.

Both avimux and aviedit need CBR mp3, that's right ?

Would be possible to use graphedit to mux all my streams (with vbr mp3) or I have to recompress my mp3 in cbr ??

PeterTheMaster
5th June 2002, 15:02
i tell myself to be optimistic that the next playback filter of divx5 will solve the problem with the broken frames. i think that everything that was written about this shows that the glitches are not in the encoded file but generated during playback.

raistlin2k
5th June 2002, 17:26
@ Eric B

I'm quite sure there is no way for 3 VBR-Mp3s.

I was looking for that very a very long time.

What's your average bitrate for mp3? If it's below 112, switch to vorbis and use OggMux by Koepi (a real god:p ) there you can use 3 or more audiostreams in one videofile and audio-q is even better than with cbr-mp3s!

Or just take less bitrate for audio, and get better video-q :cool:

Really, I left my whole microDVD-based mDVDit, just for vorbis and XCD, although I have already 124 movies as microDVDs ;)
BUT I'm quite sure that XVID+Vorbis>OGM>XCD is the future of ripping!

Raist

Eric B
6th June 2002, 09:15
thanks for your reply.
I have finaly recompress my mp3 in cbr.
That's for 2 films where I keep 2 ac3 track and 1 mp3 for comments. So my mp3 are 80 or 96 kbits/s CBR, that's enough for just speaking...