[MPlayer-users] Re: es1371 and hwac3

Dark Avenger adonis at linuxmail.org
Mon Mar 24 06:10:59 CET 2003

Has anyone figured out if/how the SPDIF out of CT5880/es1371/CT4810 cards works?

I do: modprobe spdif=1 nomix=1

dmesg says:
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
es1371: found es1371 rev 8 at io 0xe000 irq 11
es1371: features: joystick 0x0
es1371: enabling S/PDIF output
ac97_codec: AC97 Audio codec, id: ƒ„v9(SigmaTel STAC9721/23)

but mplayer says:
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3 pass-through SP/DIF
No accelerated IMDCT transform found
AUDIO: 48000 Hz, 2 ch, 16 bit (0x400), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
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
Can't set audio device /dev/dsp to AC3 output, trying S16...
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...

What gives?
I looked at the kernel code for es1371 and there seems to be nothing relating to AC3, which makes sense from the above ("can't set audio dev. to AC3 output"). So I figure what's missing is either:

1) code from the kernel driver to handle AC3 audio to the card
2) the "proper" pass-through format (that the card understands) that Mplayer has to send to the card in order to get it output through the SPDIF.

Anyone have any ideas/clues etc? or can point me into some meaningful direction?

According to this page http://www.corbac.com/page18.html the es1371 does have/support SPDIF-out 

Thanks for your time/info

Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

More information about the MPlayer-users mailing list