PDA

View Full Version : OGG with XviD and MP3


Head Hunter
14th February 2002, 05:29
I can't seem to get OGG to work with MP3, only vorbis audio. What Graphedit filters would get this to work right?

gnoshi
14th February 2002, 06:23
Do you have any vorbis streams at all? I seem to recall one of the limitations of the ogg filter by Tobias being that there had to be at least one vorbis stream (even if it was just a stream of compressed silence).

I am not sure if this is still the case, or if there is another problem, cos I only use vorbis sound in my OGG files.

gnoshi

Head Hunter
14th February 2002, 07:28
I was trying to do it without any vorbis files. I found that you can use MP3 decoder and Vorbis compressor and that works fine, just don't know how that will affect the audio.

ChristianHJW
14th February 2002, 10:27
Originally posted by Head Hunter
I was trying to do it without any vorbis files. I found that you can use MP3 decoder and Vorbis compressor and that works fine, just don't know how that will affect the audio.

You decompress the MP3 to WAV and encode it to Vorbis audio ... so there is no MP3 anymore, you transcoded it to Vorbis.

From my level of information its impossible to use MP3 audio in the Ogg container right now ... but i will ask Tobias to be sure about that ....

Head Hunter
14th February 2002, 16:49
I know it changed it to vorbis, I just don't know if that will affect the final size or the quality, because it doesn't let you select the bitrate (unless I'm missing something). Thanks for you help.

ChristianHJW
14th February 2002, 17:34
I just updated the FAQ because of your post .... there is no sense in transcoding a stereo MP3 to a stereo Vorbis .... the quality can never be better, but its very likely it will turn worse during the de/encoding process ... i will ask Tobias by time if he can put a note on his site ....

Head Hunter
14th February 2002, 21:03
I won't be converting these files over, but I was wondering if the Vorbis compressor filter just uses the average bitrate of the mp3 you used.

gnoshi
15th February 2002, 06:10
No, the vorbis compressor filter has its own 'quality' setting.
If you are using graphedit, you access this by right-clicking on the vorbis compressor, and bringing up its properties.

The quality settings go roughly like this:
0 = 64kbps
1 = 80kbps
2 = 96kbps
3 = 112kbps
4 = 128kbps
5 = 160kbps
6 = 192kbps

it is not a smooth transition between 4 and 5 though, because at 5, lossless channel coupling comes into play which causes a significant jump in bitrate to 160ish, whereas 4.99 is a tad lower than that.
I'd be surprised if you needed to go higher than 4.00 anyway.

oh, and what I meant in the second post wasn't that you needed to convert your mp3 to vorbis, but that there had to be a vorbis stream. That said, I haven't actually managed to get that working, but I haven't experimented that hard either.

gnoshi

CavalloPazzo
15th February 2002, 23:24
I had succes in muxing mp3 and divx from an avi with vbr mp3. So you should mux them with Nandub first, and then mux 2 streams with graphedit. I tried a previous version of DSF, but probably it works.

Head Hunter
17th February 2002, 19:00
Somehow this works fine on my desktop running Win2k, but not on my notebook with WinME.

ChristianHJW
17th February 2002, 23:43
I can confirm that it is possible to convert an AVI with DivX4 and/or XviD and VBR MP3 to Ogg container, OS is Win2k. The Graph to use is given in the Q&A , posted from philippas .. i admit i had no idea this would work, but it does :D ...