Log in

View Full Version : More than 2 audio streams?


clodomiro
5th June 2003, 02:53
Is there a way to have 3 audio streams on divx or any other highly compressed format? I'm doing Citizen Kane and i'd like to keep the original stream plus the 2 audio comments. TIA

A.Lanza

jeremymacmull
5th June 2003, 03:39
yep there is its call OGG or OGM look for doom9's OGM creator guide or look in the forums as far as i know if the files are encoded to ogg (with Oggmachine or such) then u can have loads

Im doing a movie at the moment and i have 4 audio streams One soundtrack, One directors Comments, One Alternative Comments , One Music Only

So yeah sure its possible

Hope this helps

JEREMY

clodomiro
5th June 2003, 15:06
Thanks man, i'll give it a try

jeremymacmull
5th June 2003, 19:59
Forgot To mention Use Koepi's Ogg Mux To put them together

IE Divx or Xvid Video Stream and 1,2,3,or whatever Sound streams

Only thing to be careful is have them all the same amount of channels

ie it does not matter if you have one 57 k bit rate and another 160 k (directors comments and soundtrack) but DONT have 5.1 and 2.0 or 1.0 at the same time.

u can have subtitles as well using the same container

Oggmux is the easiest utility to mux ogm files together however if you fancy a better one with more control and options use VirtualDubMod

however using that is harder

hope all this helps
JEREMY

clodomiro
5th June 2003, 21:22
Hmmm... Kane's main audio is 1.0, so that means i'm screwed right? Comentaries are 2.0. Or could I take an AC3 1.0 and make a 2.0 mp3 out of it?

jeremymacmull
6th June 2003, 00:04
Often even if the box says its mono if you extract the stream with DVD2AVI (like u probably are doing) then ull find its probably 192 stereo and itll be fine i dont think AC3 has a mono setting

BUT on the chance it is 1.0 then yes u can make it 2.0 ogg using besweet or oggmachine.

only thing to remember if you are using gordian knot to do the picture ie divx xvid etc then set the cd size to 695 mb for a 700 cd clip and no audio on the avi overhead as that extra 5 mb is needed by the muxing proggies to get the size right when putting in the audio streams

Secondly OGG is a really high quality codec ie roughly 80 ogg = 128k mp3 so dont be afraid to go down to the lowest quality setting on oggmachine or besweet etc .01 i think 57 kbps for the directors comments as itll still sound good and if pressed for space 80-90 k for the main soundtrack is still acceptable not reccomended but acceptable

JEREMY

alexnoe
6th June 2003, 17:41
You can use AVI-Mux GUI to put as many audio streams in a file as you want

Hiro2k
6th June 2003, 22:03
Also the new Matroska format can hold multiple audio streams. I haven't messed with it, but I'm sure that it can. But currently you'll have to do all the muxing in VdubMod.

alexnoe
6th June 2003, 23:17
Matroska can hold many audio streams, but I don't know if VDubMod can create such matroska files at the moment.

Hiro2k
6th June 2003, 23:38
Well i haven't tested it, but I'm sure Vdubmod just uses the same format with Matroska as it does with OGM, you just keep adding streams. What I'm not sure is if the DSF for Matroska can play back a Matroska file with that many audio streams.

clodomiro
7th June 2003, 04:42
Thanks a lot guys, I'll try the Avimux gui as soon as I have some time off.

clodomiro
8th June 2003, 00:08
@Alexnoe. Ok, avimux works great, now all I need to know is how do I calculate the interleaving and frame overhead for 3 vbr mp3's?

@Jeremymcull. Thanks a lot for your help, but I'd rather stick to mp3, for now, since I don't have the time to research into ogg.

alexnoe
9th June 2003, 13:02
Assuming that you make open-dml without a legacy index, 24 millisec of audio cause 16 bytes of overhead per stream (i.e. about 15 MB for 3 streams of 2 hours).

clodomiro
9th June 2003, 17:34
Thanks, actually I found a post by you that explained very well the overhead, and I calculated 24 mb. In the end i got 23 mb overhead, so it's pretty cool.
Now, I just noticed I can include .srt files in the avi with Avi mux, but it seems I'm limited to 1 subtitle stream, is that correct? It's a shame because this saves me the work of splitting sub files myself, plus it's cleaner to have one single avi file. Thanks.
PS. If I add a .srt file and then click on it, avimux crashes consistently.

alexnoe
9th June 2003, 17:37
You can include as many SRT files as you want.

Do you use 1.13 or 1.13.3? If it crashes when you click onto the subtitle stream, then this is the subtitle name setting bug which I've fixed in 1.13.1.

clodomiro
9th June 2003, 18:51
Hmmm... I was able to put 2 srt's, but when I play back with BSPlayer I only get one, let me correct that, I use directvobsub 2.23 and it only shows one subtitle stream, any ideas?

alexnoe
9th June 2003, 19:23
Did you check "include all subtitles" or did you mark all subtitles? Could you also try ZoomPlayer? BSPlayer is always crashing here, so I can't check that...

clodomiro
9th June 2003, 19:54
I checked 'all subtitles', and both srts were showing in the lower box, I mean, they automatically show up in the 'subs' box when they are added in the 'open files' box. I'll download zoomplayer and tell you later about it, however, I don't know if it matters, as directvobsub is the one displaying the subs.

alexnoe
9th June 2003, 20:00
I just remember...I had such a bug once (that only one subtitle showed up). However, it vanished and never came back...

clodomiro
9th June 2003, 20:03
Wait! This is weird, if I use WMP, directvobsub shows all the options (3 audio, 2 sub streams), I guess I don't know much about how players and directvobsub interact. Just now I see there's a new build for BSPlayer, I'll try that and then come back.

Sycho
9th June 2003, 21:42
@ jeremymacmull
the whole point of AC3 is to give good quality sound over a veritiy of settings, AC3 does have a mono setting (1/0) it also has just about any other one you can think of.
1/0, 2/0, 3/0+1, 2/1+1, 3/1+1, 2/2+1, and of course, 3/2+1.

clodomiro
9th June 2003, 22:10
Ok, Zoomplayer works great, now I only need to find out how to make it remember the position of the last movie played and how to use chapters, and I'm done. Thanks everybody for the help. BTW, the latest BSPlayer didn't work either, it's just much slower to load, and it seems to crash a lot