Finally decided to post as I'm out of ideas on how to solve my problem.
A friend of mine offered me for my birthday a MSI Mega 651 with a celeron and some RAM. He knew I was working on making a divx box, but so far I was using an old K6-3 400, an old tower case, etc.
Was a nice gift, but so far I havn't been able to get ac3 to pass thru the onboard sound card... Best I've done is analog thru spdif, but when it comes to ac3, nada.
Sound card is supposed to be a Realtek ALC650
lspci sees it as a :
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7600
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e000
I/O ports at e400
Capabilities: [48] Power Management version 2
and everything seems to work OK (except the ac3) with the intel8x0 driver.
I'm trying (that time, I last time I hoped mandrake would help me "auto-guess" the proper configuration) to get it working on gentoo 2004.1 with accept_keywords=~x86, hoping everytime that "next emerge -u" will bring that missing key to my puzzle.
if that can help, that's what mplayer says when I try running a dolby digital vob file with the following command :
mplayer -vo null -ao alsa1x -ac hwac3 dolby-waterfall.vob
output gives something like :
Cache fill: 10.25% (860160 bytes) Fichier de type MPEG-PS détecté.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 6500.0 kbps (812.5 kbyte/s)
==========================================================================
Codec audio forcé: hwac3
Ouverture du décodeur audio: [hwac3] AC3/DTS pass-through SP/DIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 448000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, 16 bit (0x400), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
==========================================================================
==========================================================================
Ouverture du décodeur vidéo: [mpegpes] MPEG 1/2 Video passthrough
VDec: requête de configuration de vo - 720 x 480 (csp préferé: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
L'aspect du film est 1.78:1 - pré-redimensionnement à l'aspect correct.
VO: [null] 720x480 => 854x480 Mpeg PES
Selected video codec: [mpegpes] vfm:mpegpes (Mpeg PES output (.mpg or Dxr3/DVB card))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian AC3
AF_pre: 48000Hz 2ch AC3
alsa-init: requested format: 48000 Hz, 2 channels, AC3
alsa-init: soundcard set to iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
alsa1x: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa1x] 48000Hz 2ch AC3 (1 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
[format] Sample format big endian AC3 not yet supported
Couldn't find matching filter / ao format!
and then movie plays with no sound (and no picture of course as I use -vo null)
has anyone any idea of what I could try to make that work ? I've spent ages trying to find something with google, spent nights reading alsa-project.org, nights reading opensrc.org/alsa/ but I'm running out of ideas and patience.
got a dual boot, so I could make a windows version for my divx box (friend who gave me the mega 651 is a more of a windows user so I thought it'd be a good idea for him and I figured it would let me play my movies quickly, giving me all the time I need to make a perfect linux version)
I sincerely hope to get a helping answer as I'm desesperate and doubt I can find a solution without outside help now.
Thanks in advance whoever will take some time to read that post and hopefully post some ideas on how to get my ac3 to go thru spdif.
last bit of information as I was forgetting, here's the content of asound/devices (and while I'm at it, I have no .asoundrc as I couldn't find any that would help)
tvbox root # cat /proc/asound/devices
1: : sequencer
0: [0- 0]: ctl
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
33: : timer
(2nd digital audio capture is probable spdif in as that motherboard has spdif in and out)
Thanks in advance,
Baramin

