Log in

View Full Version : 2 ogg audio streams = problems


elgan123
20th March 2002, 21:24
Hope someone can help out with a problem i've been having.

I'm trying to mux 2 ogg audio streams with different bitrates and different sampling rates with an Xvid avi.

Using the old direct show filters I can mux it all together but I can only play 1 stream. Using the new filters (released yesterday) graphedit just closes when I press the play button. Yep, it just packs up and leaves. ;)

Has anyone sucessfully muxed and played avi's with 2 ogg media streams of different bitrates and sampling rates?

--elgan123

MaTTeR
20th March 2002, 22:25
I'll move you over to the new AV section as I think they discuss this very subject.

chepe36
22nd March 2002, 01:05
i can mux 2 audio streams ( an mp3 wich was alredy multiplexed in the avi, and a vorbis audio) but the problem is that when i play the file both audio streams play at the same time. I tried dissableing the second with the menu but i can't find any solution.

total_chris
24th March 2002, 15:53
I have the same problem. BSplayer and wmp play both streams at the same time. disabling in menu has no effekt in bsplayer. powerdivx doesn´t even start. it exits with error.
I can playback the individual audiostream together with video using graphedit. that works just perfect but is not very "easy-using"

any solutions?

btw. oggds-filters 8.8 or 8.9 do not playback the ogg audio at all. 8.6 works (at least with graphedit)

Der_Vogel
24th March 2002, 17:35
I've also problems when playing ogm files with two audiostreams muxed with the new v0.9.8.8 filters. Both audiostreams are 32kHz but one is stereo at 80kbit and the other one mono at 38kbit (Audioquality on DVD was poor so I decided to use such low settings)

Muxing in Graphedit worked but playback of the second audiostream is not possible (all you can hear is noise of higher frequencies after switching to the second stream)

I tried to add a third ogg audiostream (48kHz 120kbit). The movie played to fast afterwards (sounded like the first track at 32khz was played with 48khz).
Problems were the same as before (noise) when playing second and third stream.

And when I add a mp3 (lame vbr) audiostream to an ogm file no playbackfilter for the mp3 is found!?!? (mp3 playback in avi files works of course).

ChristianHJW
24th March 2002, 23:24
Tobias should reply here ... he told us that in the latest release of his filters the bug was fixed that appeared with Vorbis streams being encoded with different qualities/bitrates ... but i honestly dont know if Vorbis streams of different sampling rates can be muxed together ??

TobiasWaldvogel
25th March 2002, 00:07
Originally posted by Der_Vogel
I've also problems when playing ogm files with two audiostreams muxed with the new v0.9.8.8 filters. Both audiostreams are 32kHz but one is stereo at 80kbit and the other one mono at 38kbit (Audioquality on DVD was poor so I decided to use such low settings)

Muxing in Graphedit worked but playback of the second audiostream is not possible (all you can hear is noise of higher frequencies after switching to the second stream)

I tried to add a third ogg audiostream (48kHz 120kbit). The movie played to fast afterwards (sounded like the first track at 32khz was played with 48khz).
Problems were the same as before (noise) when playing second and third stream.

And when I add a mp3 (lame vbr) audiostream to an ogm file no playbackfilter for the mp3 is found!?!? (mp3 playback in avi files works of course).

Well, I thought the issue with different bit rates was solved already. Could you please cut a few seconds with the OggCut utility and send them to me by mail for further investigation?

Best regards,
Tobias

PS: Are there any more muxing problems with 0.9.8.9 ?

ChristianHJW
25th March 2002, 00:48
These audio tracks are not only different bitrates but also different sampling rates ??

elgan123
25th March 2002, 05:43
Not sure about Der_Vogel but my two tracks were different sampling rates.

Let me give more info as it may help narrowing down the problem. I was trying to do DSOTM/Wizard of Oz with both Pink Floyd soundtrack and original soundtrack. I have already done this very successfully with MP3 tracks so I thought why not try it with ogg.

So the floyd track was encoded with Oggdrop at 44.1 KHz and the original track was encoded with Headac3he at q=0 (around 58kbps) at 48 KHz.

I have tried 8.6, 8.7 and 8.8 with no success. I haven't tried 8.9 yet.

Hope that helps.

--
elgan123

TobiasWaldvogel
25th March 2002, 09:32
Originally posted by elgan123
So the floyd track was encoded with Oggdrop at 44.1 KHz and the original track was encoded with Headac3he at q=0 (around 58kbps) at 48 KHz.

Different sampling rates are not supported only different bitrates. I will try to add this in future versions. But I think it's nearly impossible from the tchnical point of view.

Best regards,
Tobias

Der_Vogel
25th March 2002, 14:44
With the new 0.9.8.9 version playback of the ogg streams almost :) worked. At least there is no more noise when switching to the second stream. (both streams are 32kHz first is stereo, second is mono only)

But there is still a Problem with speed of playback. The movie (Video and Audio) is playing at double speed as soon as i switch to the second (mono) stream.

When using the mono stream as first one and the stereo stream as second one the opposite is happening. The Movie runs at half speed when playing the second stream.

Is muxing of streams with different number of channels not supperted yet either? (i might try adding a 6 channel file)
Or maybe this is just a bug?
Has the kind of Video any influence on such Problems? (i'm using divx5 in this case)

@ tobias
If a piece of my stream still could help you, i'll send it to you of course.
And thanks for your work !!!

TobiasWaldvogel
25th March 2002, 15:04
Originally posted by TobiasWaldvogel


Different sampling rates are not supported only different bitrates. I will try to add this in future versions. But I think it's nearly impossible from the tchnical point of view.

Best regards,
Tobias

Different amount of channels is currently also not supported. (Same as bitrates) Currently all streams must have the same attribute but the bitrate.

Best regards,
Tobias

Der_Vogel
25th March 2002, 15:50
Thanks for your answer!
Then everything works ;) what's supposed to work but mp3 playback (even as single audiostream).
But I don't mind anyway I won't need mp3 in ogm files.

Rumata
25th March 2002, 18:10
Originally posted by TobiasWaldvogel

PS: Are there any more muxing problems with 0.9.8.9 ?
Nope, but still problems with subtitles...
Can't play OGM file with subtitles on my Win98SE box.

TobiasWaldvogel
26th March 2002, 09:38
Originally posted by Rumata

Nope, but still problems with subtitles...
Can't play OGM file with subtitles on my Win98SE box.

Yes I know. Although I would recommend all Win98 users to upgrade to "real" OS I will try to fix the following issues as soon as possible:

- It seems that in Win98 and WinME theres is a bug: IEEE float is accepted but it is not played correctly. (My decoder offers PCS if IEEE would not be accepted).
- Some problmes with the subtitle mixer.

Well, thursday and friday is public holiday here in spain so I'm think everything will be solved until next weekend. Thank you for your patience.

Best regards,
Tobias

Rumata
26th March 2002, 19:51
Thank you, Tobias :-)
Waiting...

elgan123
27th March 2002, 03:41
Originally posted by TobiasWaldvogel


Different sampling rates are not supported only different bitrates. I will try to add this in future versions. But I think it's nearly impossible from the tchnical point of view.



I wondered if this would be the case. :p I will try again but first I will downsample the soundtrack to 44.1. Thanks for the quick reply!


I just thought of something else. ;) Tobias, should I compress the CD audio wav files with Headac3he as well? If you remember from above post I used oggdrop to encode that vorbis file. Is there any difference (headers, etc.) between an oggdrop file and a headac3he one?

Thanks again,
elgan123

TobiasWaldvogel
27th March 2002, 08:35
Originally posted by elgan123
Is there any difference (headers, etc.) between an oggdrop file and a headac3he one?

No, there shouldn't be any difference. The Ogg format is clear defined. You can also construct a graph and use my vorbis encoder.
You may also try one of the complete CD ripping solutins. As far as I know there are already some CD rippers with vorbis support out there. But you should verify that they are based on Vorbis RC3 (May be there some older apps base on RC2 ... RC1)

Best regards,
Toibas