View Full Version : CoreVorbis DirectShow Audio Decoder (was: is CV coming!?)
Aboo
12th June 2003, 18:52
Because i have 4.1 sound. Besides Trombetworks is required for CoreVorbis to play IMHO.
Animaniac
12th June 2003, 21:39
Originally posted by Aboo
Because i have 4.1 sound. Besides Trombetworks is required for CoreVorbis to play IMHO.
Load the filter in GraphEdit and configure it for 4.1 output. Namely, set it to multichannel with front L/R (>=2.x), back SL/SR (>=4.x), and subwoofer (x.1). Do not select center since that would be 5.1. By default this filter outputs stereo.
haibane
13th June 2003, 03:21
I tried the 1.0b3 and 1.0b4,both work with 5.1 vorbis, the 16-bits decode still have to be selected. Good things is this time, unlike the old oggds, i don't have to use the custom channel mapping in MPC to out put 5.1 anymore.
I wish postgain can be ajusted, the sound is still not loud enough, I have to walk all the way to my subwoofer to turn up the speaker volumn.;)
Aboo
13th June 2003, 05:40
Originally posted by Animaniac
By default this filter outputs stereo.
I've aleready did it. Via MPC filter properties page. The only thing i don't like in trombettworks is that trere is no "mix .1 to LR channels", because my Creative FPS1600 doesn't have a stand-alone jack for subwoofer - it splits lower frequencies from front LR channels.
CaptainCarrot
13th June 2003, 11:53
Originally posted by Aboo
I've aleready did it. Via MPC filter properties page. The only thing i don't like in trombettworks is that trere is no "mix .1 to LR channels", because my Creative FPS1600 doesn't have a stand-alone jack for subwoofer - it splits lower frequencies from front LR channels.
Of course you can do that with the Trombettworks Channeldownmixer.
On the first page of the properties you can pick your speaker configuration, simply uncheck the .1 speaker. And if the LFE is not mixed to L/R automatically, you can create your own 5.1 -> 5.0 mixmatrix, which should look like this:
1 0 0 0.707
0 1 0 0.707
0 0 1
0 0 0 0 1
0 0 0 0 0 1
I'm not 100% sure about the input channel order, but if this one doesn't work try putting the column with the 0.707 in the third or the last position.
Animaniac
15th June 2003, 23:58
Thanks for releasing a filter only (sans installer) version. ^_^
Animaniac
18th June 2003, 03:49
It seems the channel mapping is wrong (similar to OggDS), the only thing I can discern is that the center channel (usually speech) is mapped to the fornt, left channel. This may be an OggEnc problem, but I hope it could be corrected in CoreVorbis. Thanks.
[Toff]
18th June 2003, 14:04
Hmm, strange, i have used the documentation from xiph to map the channels to the dshow ones.
For example, for 5.1, in xiph's documentation there is :
channel order: front left, front center, front right, rear left, rear right, LFE
( http://www.xiph.org/ogg/vorbis/doc/vorbis-spec-ref.html end of the page)
In directshow the channel order is :
front left, front right, front center, LFE, rear left, rear right,
( http://www.microsoft.com/whdc/hwdev/tech/audio/multichaud.mspx )
In fact i have just rechecked and if what is above is correct then there is currently an error. LFE and back left should be switched.
Now i don't know what the encoders do.
Anyone can confirm ?
DeXT
18th June 2003, 19:44
Originally posted by Animaniac
It seems the channel mapping is wrong (similar to OggDS), the only thing I can discern is that the center channel (usually speech) is mapped to the fornt, left channel. This may be an OggEnc problem, but I hope it could be corrected in CoreVorbis. Thanks. AFAIK OggDS is right regarding channel remapping. It may be an OggEnc issue. Get this 5ch ogg sample file and check if every channel position is right, both with OggDS and CoreVorbis:
http://webs.ono.com/dextstuff/5ch_test.ogg
Originally posted by [Toff]
In fact i have just rechecked and if what is above is correct then there is currently an error. LFE and back left should be switched. The remap table I originally used on my Ogg/Vorbis plugin was wrong for 4 and 5.1 channel configurations (you should not trust me so easily ;)). Here is the fixed one:
const int chmap[MAXCHANNELS][MAXCHANNELS] = {
{ 0, }, // mono
{ 0, 1, }, // l, r
{ 0, 2, 1, }, // l, c, r -> l, r, c
{ 0, 1, 2, 3, }, // l, r, bl, br
{ 0, 2, 1, 3, 4, }, // l, c, r, bl, br -> l, r, c, bl, br
{ 0, 2, 1, 5, 3, 4 } // l, c, r, bl, br, lfe -> l, r, c, lfe, bl, br
};
As you can see, the mono, stereo and 4ch configurations do not need any remap at all, so it can be optimized by doing a simple memcpy() on these channel configurations, as I did on my latest plugin for TCMP.
Hope this helps.
[Toff]
18th June 2003, 21:36
Ok a new beta is up with the mapping correction :
CoreVorbis 1.0 Beta 5 (with installer) (http://corevorbis.corecodec.org/CoreVorbis_1.0b5_20030618.exe)
CoreVorbis 1.0 Beta 5 (without installer) (http://corevorbis.corecodec.org/CoreVorbis_1.0b5_20030618.zip)
Let's test :)
Animaniac
25th June 2003, 01:34
It seems that OggEnc 2.2 Post-CVS from Rarewares uses incorrect channel mapping. Using OggEnc 1.0 solved my problem. Is there anyway to change postgain tags for Vorbis audio in an MKV without demuxing and muxing?
ChristianHJW
25th June 2003, 04:21
Yes, but you really shouldnt do this, and our specs, library and tools dont offer this right now, but in principal it would be feasible ....
Animaniac
25th June 2003, 05:17
Originally posted by ChristianHJW
Yes, but you really shouldnt do this
Why not? The audio is still too quiet, even after running the Besweet gain.
Completely off-topic:
MatrixMixer seems to be better than ChannelDownmixer since it allows more than one instance of itself to be in the filter graph. This is particularly important for Matroska files with more than one multichannel track. It works well with everything except OggDS's Vorbis decoder, for some reason it doesn't like the output type of the Vorbis decoder. It instanciates twice when using Morgan Stream Switcher (before and after mmswitch). mmswitch then instanciates itself again... And, in MPC, MatrixMixer only instanciates once, for some reason. I still feel it's a better down/upmix filter, since it's open, based on tired-and-true AC3Filter, and likes multiple audio streams. (Who needs a 17.1 config... -_-)
MarkCoolio
25th June 2003, 08:16
@Corecodec team:
could u look into the problems between matrixmixer (http://matrix-mixer.sourceforge.net) and CoreVorbis as mentioned above? Would be nice to get it working.
Thanks!
[Toff]
25th June 2003, 11:07
Originally posted by Animaniac
Is there anyway to change postgain tags for Vorbis audio in an MKV without demuxing and muxing?
It's technically possible if the tag is already present, but the tag is handled by the vorbis stream so the application need to be aware of that. It's a kind of special case to handle.
Matroska also have a postgain/replaygain ... element and this is the one that the application may be able to modify.
Originally posted by Animaniac
Why not? The audio is still too quiet, even after running the Besweet gain.
Then it's a dynamic range problem.
If you use something higher for replaygain you will have clipping.
Maybe you should try to use some dynamic range compression.
Originally posted by MarkCoolio
could u look into the problems between matrixmixer (http://matrix-mixer.sourceforge.net) and CoreVorbis as mentioned above? Would be nice to get it working.
Animaniac your are talking of OggDS's vorbis decoder or of CoreVorbis ?
I don't think i can do mutch about that btw.
At least i have no idea ATM and it's time to eat ;)
MarkCoolio
25th June 2003, 12:40
sorry, it was my mistake...
I think he meant OggDS (as he also wrote that...) and not CoreVorbis
Animaniac
26th June 2003, 05:40
Originally posted by MarkCoolio
sorry, it was my mistake...
I think he meant OggDS (as he also wrote that...) and not CoreVorbis
Yup, CoreVorbis is awesome. I wonder if we can have a new Ogg DSF that can tie into CoreVorbis. A Gabest implementation would be awesome. :D
Palikrovol
29th June 2003, 19:40
Hello. (this is long, so patience)
I have make some tests with mkv and vorbis 5.1 and here the results :)
I'm using CoreVorbis 1.0beta5 and Matroska Splitter 1.0.1.0 from Gabest. Zoomplayer 3.0 & MPC 6.4.5.6 for playing mkv.
First i made a mkv with the DeXT's "5ch_test.ogg" (only this audio). Playing it with Zoomplayer and MPC every channel sounds in their speaker and the seek in the mkv works perfectly in both players.
Then i made an ogg vorbis 5.1 from an AC3 5.1 using BeSweet and muxed it into a mkv file (mkv with only one audio file - vorbis 5.1). The same as above, everything perfect.
Next i made a mkv with both vorbis 5.1. With MPC both audio files sounds correctly (every channel in their speaker) but in Zoomplayer only the first audio file sounds correctly, in the other audio, the Front Left, Front Right & LFE channels sounds in their speakers, Center & SR sounds very low in the right speaker and SL sounds very low in the left speaker (nor Center, SR, SL speakers sounds at all). I changed the order of the audio files in mkv and the problem is the order not the audio files (the second audio files does't sound correctly)
With more than 2 vorbis 5.1 audio streams, the same problem with ZoomPlayer, only the first one sounds correctly.
The last test was made with some vorbis 5.1 and an AC3 5.1 and again the above problem EVEN with the AC3 (if AC3 is not the first stream only sounds in the FL, FR & LFE speakers) with Zoomplayer. Using MPC there is no channel problems with any of the audio streams but when seeking while listening the AC3 stream there are some stutering problems until video gets in synchronization with audio (no audio for a little time)
Using vorbis 2.0 and 5.1 streams, the same problem with the 5.1 streams that are not in first position.
Conclusion (at last :))
With more than one audio streams.
Using Zoomplayer to change between audio streams, the first stream always sounds correctly and the others only sounds in the FR, FL & LFE speakers (In FL speaker: FL & SL (very low) channels. In FR speaker: FR, Center (very low) & SR (very low) channels. In LFE speaker: LFE channel).
Using MPC no channel problems with any audio stream. Only stutering problems when seeking while AC3 audio.
I hope that when matroska support audio stream changing, no one of this problems exists.
One question. If i make a mkv with some 5.1 audio streams, there will be any problem with the new matroska filters?
Hope you've understood my english ;)
bye
ChristianHJW
29th June 2003, 21:23
Originally posted by Palikrovol I hope that when matroska support audio stream changing, no one of this problems exists.
Yes, thats the goal.
One question. If i make a mkv with some 5.1 audio streams, there will be any problem with the new matroska filters?
Not at all, the files are fine, and you can play them fine on every other player also, like mplayer or VLC ...
wiflye81
3rd July 2003, 10:45
Hi,
I can't DL the new corevorbis beta ( server busy all time ), can anyone post it here please ?
Bluedan
3rd July 2003, 14:27
damn, screwed, I cannot find my corevorbis folder anymore.
Is there anywhere a mirror for latest version, because http://corevorbis.corecodec.org/CoreVorbis_1.0b5_20030618.exe is down for me ATM...
[Toff]
3rd July 2003, 19:11
Here is a mirror
CoreVorbis 1.0 Beta 5 (with installer) (http://christophe.paris.free.fr/temp/matroska/CoreVorbis_1.0b5_20030618.exe)
CoreVorbis 1.0 Beta 5 (without installer) (http://christophe.paris.free.fr/temp/matroska/CoreVorbis_1.0b5_20030618.zip)
wiflye81
3rd July 2003, 20:04
thanks a lot.
btw, why we can't access corecodec projects pages ?
ChristianHJW
3rd July 2003, 21:17
we get a new server .....
wiflye81
3rd July 2003, 23:14
that's a very good news.
Malow
14th July 2003, 06:07
Hi guys, thanks for your work.
To Toff,
i have a little question, with Corevorbis.
the sound looks good if cheched 16bits output, but with 32, the sound looks like a TV in channel 0: SHXXSXSXHHHHHHHHHHHHHH!!!!!!!!!!!!
is normal? i have a 5.1 live! card.. :)
Malow
Bluedan
22nd August 2003, 22:56
Any ongoing here?
I still run into problems using Corevorbis 1.0b5 and mkv containing OGG Vorbis audio streams.
Compared to former experiences CoreMediaPlayer as RC4 does not close anymore when opening file, but A/V is unsynch.
BSplayer 0.86-501 still crashes.
Situation is a bit confusing to conclude from because I updated the mkvmuxer and ~splitter as well from gulliverkli page.
Did anybody have the same experience ?
Dima
25th August 2004, 20:48
You can get CoreVorbis 1.0 (not beta):
Here (http://corecodec.org/projects/corevorbis/)
Released notes:
Fixed bug when only start timestamp is set.
Defiler
25th August 2004, 20:50
Awesome. Thanks.
callmeace
27th August 2004, 18:42
I got the new corevorbis - THANKYOU Corecodec team!:)
Bluedan
31st August 2004, 12:09
Hm.Unable to reach site at http://corecodec.org/projects/corevorbis/. Is it down?
>EDIT>---Hell, no. But my firewall was nasty...<EDIT<
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.