[MPlayer-users] liba52 decoder question

siggma siggma at trbailey.net
Sun Nov 2 08:10:58 CET 2008


I've been trying to get the liba52 codec to properly decode dolby 
surround on low sample rate video files like many of the popular TV show 
rips. Under windows (MPC 6.x), ffdshow decodes them correctly using 
liba52 albeit with somewhat choppy rear or side channel output but the 
same library under linux misreads or improperly evaluates the file 
format (claims it has only two channels) failing to produce accurate 
rear channel output. It seems to simply duplicate the front channels or 
play a mix.

Is there an way to get liba52 to work the same under linux as it does 
under windows?
Is this a liba52 issue or an incorrect mplayer command line?

I usually use smplayer to manage mplayer itself.

Here is an example file pin output from ffdshow under MPC that will 
decode to 6 channels under ffdshow but will not output the same under 
mplayer using liba52:
-------------------------------------------------------------------
|- Connected to:

CLSID: {18C16B08-6497-420E-AD14-22D21C2CEAB7}
Filter: Audio Switcher
Pin: ReGenesis=1x01=Baby Bomb and 1x02 Spare Parts.avi / Audio 1

- Connection media type:

Audio: WAVE_FORMAT_EXTENSIBLE 48000Hz 6ch 4608Kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 40

WAVEFORMATEX:
wFormatTag: 0xfffe
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 576000
nBlockAlign: 12
wBitsPerSample: 16
cbSize: 22 (extra bytes)

WAVEFORMATEXTENSIBLE:
wValidBitsPerSample: 16
dwChannelMask: 0x0000003f
SubFormat: {00000001-0000-0010-8000-00AA00389B71}

pbFormat:
0000: fe ff 06 00 80 bb 00 00 00 ca 08 00 0c 00 10 00 þÿ..€»...Ê......
0010: 16 00 10 00 3f 00 00 00 01 00 00 00 00 00 10 00 ....?...........
0020: 80 00 00 aa 00 38 9b 71 €..ª.8›q

- Enumerated media type 0:

Set as the current media type

- Enumerated media type 1:

Unknown

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: MEDIASUBTYPE_None {E436EB8E-524F-11CE-9F53-0020AF0BA770}
formattype: FORMAT_None {0F6417D6-C318-11D0-A43F-00A0C9223196}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 307200
cbFormat: 0|
-------------------------------------------------------------------------------------------------

Thanks for any help.





More information about the MPlayer-users mailing list