Only 2 channels on XBMC, but 5 channels on mplayer
#1
Hi.
I have a problem with XBMC. I have a fresh install of ubuntu 9.04 . I have a ati hd4350 card with HDMI.
My idea was to have the video and the sound trough the HDMI port.
The hdmi sound didn't work out of the box, so I've installed the catalyst drivers and now works.

The problem is that when I execute the following command in mplayer, I get 5.1 sound, but when I run xbmc I only have 2 channel sound.

xbmc@tuca:~/Desktop$ mplayer -ao alsa:device=hw=0.3 -ac hwac3 Ac3_test.aviMPlayer 1.0rc2-4.3.3 © 2000-2007 MPlayer Team
CPU: Intel® Pentium® D CPU 2.80GHz (Family: 15, Model: 4, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Ac3_test.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DIV3] 576x432 24bpp 29.970 fps 2011.8 kbps (245.6 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm: ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
==========================================================================
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 448000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
[AO_ALSA] alsa-lib: conf.c:3843Sadparse_args) Unknown parameter AES0
[AO_ALSA] alsa-lib: conf.c:3969Sadsnd_config_expand) Parse arguments error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2205Sadsnd_pcm_open_noupdate) Unknown PCM hw:0,3,AES0=6
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
Starting playback...
VDec: vo config request - 576 x 432 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 576x432 => 576x432 Planar YV12
a52: CRC check failed! 0.027 ct: 0.000 1447/1447 4% 0% 0.1% 1 0
A: 48.6 V: 48.6 A-V: 0.003 ct: 0.004 1457/1457 4% 0% 0.1% 1 0
GNOME screensaver enabled

Exiting... (End of file)


Bellow are my xbmc settings.
If I enable the ac3passthrough, I have an "error initializing audio device" while trying to play the same movie that was played with mplayer. If I leave it Off, I only get the sound for the front speakers.
It doesn't matter If I leave enabled or disabled dtspassthrough. Always 2 channel output.
Also, If I choose to force the hwdts codec on mplayer, the video plays without sound. So I suppose that my card supports ac3 but doesn't support dts. The question Is why xbmc is not allowing me to use ac3passthrough

Any suggestion is really apreciated!

<audiooutput>
<ac3passthrough>false</ac3passthrough>
<audiodevice>plughw:0,3</audiodevice>
<downmixmultichannel>false</downmixmultichannel>
<dtspassthrough>true</dtspassthrough>
<mode>1</mode>
<passthroughdevice>iec958</passthroughdevice>
</audiooutput>
Reply
#2
I've found the problem.
I've changed the passthrough device to plughw:0,3 and now it's working.

Regards.

Max
Reply

Logout Mark Read Team Forum Stats Members Help
Only 2 channels on XBMC, but 5 channels on mplayer0