View Full Version : oggmux doesn't mux audio
määp
6th December 2003, 01:47
Hi there. I want to mux an avi (xvid) with an ogg file. Oggmux does it without complaining. When i open the ogm in WMP i can't hear anything, although the filter-trayicon suggests that there is an audio stream.
MPC doesn't even play the movie. I can seek through the movie and see the frames, but it's not playing.
So i looked at the filesize:
AVI: 1.318.254.592 bytes
OGG: 141.850.982 bytes
OGM: 1.323.902.407 bytes
So i guess the audio wasn't muxed at all? Doesn't oggmux "do" xvid? I never had any problems with divx.
Did anyone experience the same thing?
Tuning
6th December 2003, 01:52
Hi määp, Welcome to Doom9 forum
Regarding your problem, you can use VirtualDubMod to verify wheather audio is muxed to OGM. Look here [http://virtualdubmod.sf.net].
Btw, VDM also supports muxing audio and video to OGM.
Hope that helps..
määp
6th December 2003, 02:11
Thanks. I'll try that tomorrow. Time to sleep.
Koepi
6th December 2003, 09:07
Which dshow filter version are you using?
If it's 0.9.6 go back to 0.9.5 and try again.
regards
Koepi
määp
8th December 2003, 00:41
I'm using 0.9.6, but I think I found the reason. The movie comes on two DVDs, and I thought I was easier to encode the audio seperately with bsweet and then join the ogg's later. I know this could be done with bsweet too, but I don't really like the commandlie...
Anyway, I used a tool (musiCutter) recommended here by someone to join them. It looks like it's done correctly but VDubMod, unlike Winamp, plays just the first part. I think musiCutter messed up the header or so.
And that's why I didn't get any errors: Winamp ignores it and OggMux just swallows the bad file and doesn't say anything. Well, looks like i have to mess around with besweet :(
And what do we learn? Don't use musiCutter and Winamp rules!:D
Suiryc
8th December 2003, 17:28
I guess musiCutter just append the two files as-is.
This makes use of sequential multiplexing (see the specs (http://www.xiph.org/ogg/vorbis/doc/oggstream.html)) instead of concurrent multiplexing.
Right now only a few apps handle sequential multiplexing (like the winamp plugin).
VDM and OggDS (and thus OggMux) don't like it.
For instance VDM will only be able to see the first part of the sequences (that's why you don't get the end of your audio).
What are the problems with sequential multiplexing here ?
To put in simply :
- Ogg Vorbis files generally have one stream on its whole (i.e. without using sequential chaining). You can still append another chain and have a valid Ogg file (as per specs). (That's what I guess musiCutter did).
- OGM files generally have more than one stream and thus use concurrent multiplexing (i.e. something similar to the interleaving in the AVI specs). Theorically you could append many OGM files, resulting in a sequence (sequential chaining) of concurrent chainings (one for each OGM file), and still respecting the Ogg specs. But anyway no tools (including OggDS and VDM) would handle that.
But you can't mix both : you can't mux a sequential chaining (your Ogg file) inside an OGM file, because the specs tell the resulting file is not Ogg compliant.
The only ways to workaround this :
- get rid of the sequential chaining in the Ogg file by really appending the data streams. But this need many checkings, and in some cases it is impossible.
- break the concurrent chaining at the same point than the sequential chaining, and thus make a valid Ogg file using sequential chaining of concurrent chainings. But anyway as I said no tool will handle this file (e.g. OggDS won't play your whole clip).
Moreover both methods require a lot of work :p
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.