View Single Post
Old 20 June 2009, 11:29 pm   #2
Antonski
Veteran Member
 
Join Date: Jun 2007
Location: Bulgaria
Posts: 102
Send a message via ICQ to Antonski Send a message via Yahoo to Antonski
Default

Hello again,

with a little googling I found the following about 5.1channel mappings:

5.1 WAV: FL , FR , FC , LFE, SL , SR
5.1 AC3: FL , FC , FR , SL , SR , LFE
5.1 DTS: FC , FL , FR , SL , SR , LFE
5.1 AAC: FC , FL , FR , SL , SR , LFE
5.1 AIFF: FL , SL , FC , FR , SR , LFE

I believe the channel mapping must be standardized for musepack as well. Maybe the easiest way would be to accept the Microsoft's convention because musepack files are coded from wav anyway?
Maybe it would be good to have also advanced switch for declaring of the input channel mapping?

BTW, the test files in my previous post might be wrong, I decoded them from test wma and ogg files. I tried the Microsoft's 5.1/7.1 test files but mpcenc does not recognize them, although they seems to be OK for foobar :|

Quote:
Foobar2000:
File Name : 8_Channel_ID.wav
Folder Name : D:\TestSamples\8chan\MS
File Path : D:\TestSamples\8chan\MS\8_Channel_ID.wav
Subsong Index : 0
File Size : 15.3MB (16 126 124 bytes)
Last Modified : 2005-02-04 10:54:38
Duration : 0:13.998 (671919 samples)
Sample Rate : 48000 Hz
Channels : 8
Bits Per Sample : 24
Bitrate : 9216 kbps
Codec : PCM
Encoding : lossless
Code:
MPC Encoder 1.30.0 --stable-- (C) 1999-2009 Buschmann/Klemm/Piecha/MDT
Built Feb 26 2009 20:33:36
 ERROR: WAVE file has no linear PCM format!

ERROR: Invalid file header, not a WAVE file '8_Channel_ID.wav'
Quote:
Foobar2000:
File Name : 6_Channel_ID.wav
Folder Name : D:\TestSamples\6chan\MS
File Path : D:\TestSamples\6chan\MS\6_Channel_ID.wav
Subsong Index : 0
File Size : 2.94MB (3 089 060 bytes)
Last Modified : 2002-09-23 12:45:34
Duration : 0:05.837 (257411 samples)
Sample Rate : 44100 Hz
Channels : 6
Bits Per Sample : 16
Bitrate : 4233 kbps
Codec : PCM
Encoding : lossless
Code:
MPC Encoder 1.30.0 --stable-- (C) 1999-2009 Buschmann/Klemm/Piecha/MDT
Built Feb 26 2009 20:33:36
 ERROR: WAVE file has no linear PCM format!

ERROR: Invalid file header, not a WAVE file '6_Channel_ID.wav'
Antonski is offline   Reply With Quote