View Full Version : OGM: Which Audio Stream Combinations can It Hold?
kilg0r3
9th May 2003, 11:14
Hi!
Since there are no specs available - read that in another thread -, I ask for your experiences. Just noe I am most interested in the question: Can I mux a video stream with one or two stereo/surround vorbis stream _and_ a mono vorbis stream. Well, of course I can but will they play and be in synch?
More generally, which combinations of codecs, channels and smpling frequencies are allowed?
ChristianHJW
9th May 2003, 13:07
While the Ogg container itself could hold a variety of different audio stream types, the current DShow filter will IIRC not allow you to use audio streams that vary in
- channel number ( combining 5.1, 2.0 and mono streams )
- sampling rate
- bitdepth
Reason for this is, AFAIK, that the current filter will only produce one type of DShow output pin when the graph is built, so you cant switch to other audio streams, unless you rebuild the grpah completely.
BlackSun
9th May 2003, 14:39
yup
kilg0r3
9th May 2003, 14:47
:)
What about differnt formats, e.g. ac3 plus vorbis?
BlackSun
10th May 2003, 11:59
Originally posted by kilg0r3
:)
What about differnt formats, e.g. ac3 plus vorbis?
bad idea too, the ogm demuxer create an output pin for each media_type, so the vorbis and ac3 stream will play at the same time :eek:
Trip Machine
16th May 2003, 05:16
While the Ogg container itself could hold a variety of different audio stream types, the current DShow filter will IIRC not allow you to use audio streams that vary in
- channel number ( combining 5.1, 2.0 and mono streams )
- sampling rate
- bitdepth
When you say bitdepth, does that mean the same as bitrate? Because I have two ogg audio files, one with an average bitrate of 150 and the other with 152, and I was able to mux them together with no playback problem. Both files contain 2 channels and are at 48KHz sampling.
Just to make sure: If there was something wrong, I would know because both audio files would play together simultaneously, right? Or does this only happen when you have two different audio streams (AC3 & ogg)?
kilg0r3
16th May 2003, 07:56
Bit Depth, AFAIK, is the Amplitude resolution in bits most common values are 8bit, 16bit, 32bit (well less common).
kilg0r3
16th May 2003, 08:03
Originally posted by BlackSun
bad idea too, the ogm demuxer create an output pin for each media_type, so the vorbis and ac3 stream will play at the same time :eek:
Ah yes, remember. That problem can be worked around by using zoom player or graphedit as play back software.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.