PDA

View Full Version : Ogg Vorbis - Step 3: Multiplexing


bncr
13th February 2002, 02:24
First thing i want to say is thank you for all your great guides without this it had taken me alot of time to get into it :)

But what i want to say is that there's an option in nandub where you can mux your video with ogg audio. it works the same as mp3(vbr) etc. Doing it on this way saves a lot of time but i must say that i not really checked the overhead with this way.

Keep the good work going dude

Doom9
13th February 2002, 02:33
well.. the thing is: a) nandub writes real AVIs, not ogg media streams. And 2nd.. not 100% sure but that way I think you'd need different filters which have forwarding problems (it gets out of synch as soon as you touch that slider).. plus.. I just tried it (at 2:30am.. that's a role model for you guys... never too lazy to experiment;) and nandub just crashes if I try to load my .ogg stream.

I guess I should put that into the guide

Doom9
13th February 2002, 02:37
okay.. guide has been changed accordingly.. hope that stops a flood of questions before it has begun.

ChristianHJW
13th February 2002, 09:23
What nandub does, it will put a complete Ogg container with a Vorbis audio stream into an AVI ... this is making seeking in the AVI impossible .... ingoralfblum had stopped development on the according MediaXW DirectShowFilter recently, he stated its not the way to go.

Koepi
13th February 2002, 10:07
Doom9, you have to replace the ogg dlls in the nandub dir as they are outdated. Download freeamp, install it, copy that ogg vorbis dlls to nandub dir, uninstall freeamp.
After that it works like charme (that's the way I did it).
Still, the resulting .avi isn't really usable due to that search-trouble.

Best regards,
Koepi

Doom9
13th February 2002, 12:15
thanks koepi.. so now we have the full specs and I have to update my guide yet again... in any case it's good to know that the way described in the guide is the only way to go.

any experiences regarding the muxing overhead btw?

Oxygen
13th February 2002, 23:17
i found a trick for cutting in part a ogm, but it have to be tink before you finalise the film:
you just mux the wav AND the encoded divx avi in one big file [ugh, maybe too big for FAT ?]
then you cut in too files that huge one (approx in the middle)
and you extract the wav from the avi (avi+wav remember -> no double compression)
then you may encode the wav in ogg and finaly mux ogg and avi (without sound) in an ogm file
ugh ...
ugly solution but i think it have to be efficient...

Doom9
13th February 2002, 23:19
@oxygen: somebody mailed that to me earlier on.. but the problem is size prediction here.. you can't predict how large the audio will be before you actually encode.

@koepi: can nandub also split such streams? it it can and we can demux the audio again we might just have a working solution though with the overhead it's still going to be pretty hard to reach the desired size

ChristianHJW
13th February 2002, 23:57
Originally posted by Doom9 @koepi: can nandub also split such streams? it it can and we can demux the audio again we might just have a working solution though with the overhead it's still going to be pretty hard to reach the desired size
Excellent idea that is .... but why didnt i think of it :D .... the muxing overhead shouldnt be much of a problem, this is maybe 2 - 3 MB difference per CD on a 2 CD rip as you had pointed out in your Guide, so we may even think of using this brand new cutting tool being advertised here http://rilanparty.com/vbb/showthread.php?s=&threadid=14798 to split our AVI files to 703 or 704 MB in nandub, then demux both the Vorbis stream and the video stream again and finally mux both into Ogg .... should result in a fine 701 .. 702 MB file ;) ...

Suman
14th February 2002, 01:41
How about creating VOBs in Chapter modes and making two different more or less equal length DVD2AVI projects?

Gosh! after posting this idea it looks like its a crappy thing to do afterall.

Doom9
14th February 2002, 01:46
I'll definitely have to test this one day when I'm not so busy studying

Koepi
14th February 2002, 01:59
I'll check on demuxing such an XviD+ogg avi tomorrow, have to go to bed now... but generally, with updated dll's it shouldn't be a problem to demux that. Dunno if cutting works, I _never_ used that since I'm going for 1CDs...remember? ;)

Regards,
Koepi

Acaila
14th February 2002, 09:19
Nandub won't open an .ogg stream, not even when renamed to .avi. So splitting/demuxing an avi+ogg mulitplex is not an option.

Maybe it works with a new dll, but as far as I have seen Nandub just can't do anything with an ogg multiplex currently.

ChristianHJW
14th February 2002, 10:42
Acaila, its a bit hard to understand what Doom9 is referring to, but its a clever idea ... he wants to use the capabilities of nandub to mux a complete Ogg stream containing Vorbis audio into AVIs ( and these are real AVIs ! ) to create an interim format to know where to cut ( on file size, frame number or time ) .... if this is done he will demux the video and the Ogg Vorbis audio streams from the AVI to make a real Ogg container movie out of it using Tobias' filters ... resulting in a perfect file size of about 700 MB without making big trials and errors ...

Of course, once Tobias will make a tool for us to cut the Ogg streams ( on keyframes, dont forget this my dear friend Tobias, thats not trivial ! ) the method will probably be redundant ...