Help - Search - Members - Calendar
Full Version: What the hell?
Hydrogenaudio Forums > Lossy Audio Compression > Ogg Vorbis > Ogg Vorbis - General
Skelsgard
Not a newbie, encoding for a long time...
But now I can´t get BeSweet, using BeSweet Gui, to encode my 6-ch wavs into OGG.
It says that ogg 6-ch only accepts 48 kHz files, when my wavs are already 48kHz.

Not a problem before, why now?

QUOTE
BeSweet v1.5b31 by DSPguru.
--------------------------
Using Ogg Vorbis v1.0 dlls  (http://www.vorbis.com).

Logging start : 12/27/05 , 20:41:21.

C:\Archivos de programa\Audio\BeSweet\BeSweet.exe -core( -input C:\Documents and Settings\Athlon XP\Mis documentos\5.1.wav -output C:\Documents and Settings\Athlon XP\Mis documentos\5.1.ogg -logfile C:\Archivos de programa\Audio\BeSweet\BeSweet.log ) -ogg( -q 0.300 -6ch 1 )

[00:00:00:000] +------- BeSweet -----                         
[00:00:00:000] |  Input : C:\Documents and Settings\Athlon XP\Mis documentos\5.1.wav
[00:00:00:000] |  Output: C:\Documents and Settings\Athlon XP\Mis documentos\5.1.ogg
[00:00:00:000] |  Floating-Point Process: Yes
Error 68: 6chogg only works with 48khz streams.
          Gain & Dynamic Compression should be set against azid.

Quiting...
[00:00:00:000] Conversion Completed !                                   

Logging ends : 12/27/05 , 20:41:21.


No problem playing the wavs, importing them to SoftEncode, or encoding with AACEnc32/Nero Digital/BeSweet GUI to AC3/etc...
john33
This would seem to be a BeSweet/GUI problem since the dlls will accept input of multi-channel wave data at pretty much any sampling rate.
Skelsgard
BeLight:

CODE
BeSweet v1.5b31 by DSPguru.
--------------------------
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).

Logging start : 12/27/05 , 20:54:48.

BeSweet.exe -core( -input C:\Documents and Settings\Athlon XP\Mis documentos\5.1.wav -output C:\Documents and Settings\Athlon XP\Mis documentos\5.1.ogg -logfile C:\Documents and Settings\Athlon XP\Mis documentos\5.1_1.log ) -ogg( -q 0.300 -6ch 1 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Documents and Settings\Athlon XP\Mis documentos\5.1.wav
[00:00:00:000] | Output: C:\Documents and Settings\Athlon XP\Mis documentos\5.1.ogg
[00:00:00:000] | Floating-Point Process: Yes
Error 68: 6chogg only works with 48khz streams.
Gain & Dynamic Compression should be set against azid.

Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 12/27/05 , 20:54:48.


Same thing.

When using OggDropXPd (last release), the .wav is encoded without errors, but the resulting file has completely trashed center and surround channels (normal specs, Q=3, No lowpass or lowpass at 24000, nothing changed that shouldn´t be changed).

Oggenc2 gives me a perfect 5.1 file.
Also, my 5.1 .wav with L-R-C-LFE-SL-SR (as WAV standard channel-mapping), renders in Winamp perfectly, but with DS filters the channel mapping is incorrect. So to get a 5.1 OGG that will play with proper channel-mapping in DS filters, I have to map the 5.1 WAV as 5.1 AC3-like (instead of .wav L-R-C-LFE-SL-SR, .wav L-C-R-SL-SR-LFE).
What´s up with that?
john33
Does your 5.1 channel wave file have a correct WAVEFORMATEXTENSIBLE header with the correct channel mask? If the answer is yes, then oggdropXPd v1.8.7 and oggenc2.8 will remap the channels as per the vorbis spec, ie., L-C-R-SL-SR-LFE. If the multi channel wave file does not have the correct header, then the channels will be encoded in the order in which they are presented,

With the correct wave header, the resulting ogg vorbis file will be decoded by vorbis I spec decoders to generate an output wave file with the correct header and with the channels mapped back to the correct order for wave files. The correct channel mask will be written to the header. If the correct header with channel mask was not present in the original wave file, then on decode, the channels will be mapped incorrectly as the decoders assume that the multi channel data was mapped correctly when encoded.

In the vorbis I spec, there is no provision for storing channel mask data to now how the channels were mapped. As things currently stand, if you want to map channels in any way other than currently specified, then you'll have to provide your own decoder to handle the channel mapping on output.
Skelsgard
CODE
Does your 5.1 channel wave file have a correct WAVEFORMATEXTENSIBLE header with the correct channel mask?

When exported from Audition, is not accepted by OggDropXPd, nor BeSweet, or other programs. But when exported from Soft Encode, where I can specify the mapping by myself, they´re accepted by all software including BeSweet, except for the OGG not-encoding issue.
When using FAAC with AAC LC/MAIN/LTP the file has the correct channel-mapping, a 5.1 .wav with standard L-R-C-LFE-SL-SR .wav mapping creates a AAC/M4A/MP4 with correct mapping (I use FAAC as example just beacuse it accepts 6-ch-ready files).

QUOTE
With the correct wave header, the resulting ogg vorbis file will be decoded by vorbis I spec decoders to generate an output wave file with the correct header and with the channels mapped back to the correct order for wave files. The correct channel mask will be written to the header. If the correct header with channel mask was not present in the original wave file, then on decode, the channels will be mapped incorrectly as the decoders assume that the multi channel data was mapped correctly when encoded.

In the vorbis I spec, there is no provision for storing channel mask data to now how the channels were mapped. As things currently stand, if you want to map channels in any way other than currently specified, then you'll have to provide your own decoder to handle the channel mapping on output.

But why then Winamp´s OGG filter maps correctly the same file that DS Filters do not?

QUOTE
When using OggDropXPd (last release), the .wav is encoded without errors, but the resulting file has completely trashed center and surround channels (normal specs, Q=3, No lowpass or lowpass at 24000, nothing changed that shouldn´t be changed).

No bashing against OggDropXPd, I love that tiny incredibly usefull peace of software.
Just wondering if there´s something I´m missing...

Are there tools that would allow to me to check/fix the headers of my wavs in case needed?
Thnx in advance.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.