[Alsa-user] Surround over spdif

2009-01-28 Thread Floris
Maybe a simple question, but is it possible to play a 6 channel wav file over a spdif connection? $aplay -L ... iec958:CARD=Audigy2,DEV=0 Audigy 2 ZS [2001], ADC Capture/Standard PCM Playback IEC958 (S/PDIF) Digital Audio Output ... sample file http://www.halfgaar.net/media/chan-id.zip

Re: [Alsa-user] Surround over spdif

2009-01-28 Thread Kyle Husmann
Floris, From what I understand, you can fit only 2 uncompressed audio channels over a spdif connection. In order to handle more channels, it must be compressed and then transferred as a data stream, like DTS or AC3. Kyle On Wed, Jan 28, 2009 at 7:51 AM, Floris jkflo...@dds.nl wrote: Maybe a

Re: [Alsa-user] Surround over spdif

2009-01-28 Thread Floris
Is there a way to encode a file on the fly? I tried the -af lavcac3enc option in mplayer, but I get an error: $mplayer chan-id.wav -ao alsa:device=spdif -af lavcac3enc=1 MPlayer dev-SVN-r26940 CPU: Intel(R) Pentium(R) 4 CPU 3.60GHz (Family: 15, Model: 4, Stepping: 3) CPUflags:

Re: [Alsa-user] Surround over spdif

2009-01-28 Thread Kyle Husmann
Interesting, I don't have that audio filter. Perhaps it isn't compiled into my build of mplayer (ubuntu 8.10, 1.0rc2-4.3.2) Do you have ffmpeg installed? It looks like that may be your problem. Kyle On Wed, Jan 28, 2009 at 9:00 AM, Floris jkflo...@dds.nl wrote: Is there a way to encode a

Re: [Alsa-user] Surround over spdif

2009-01-28 Thread Clemens Ladisch
Floris wrote: Is there a way to encode a file on the fly? http://wiki.alsa-project.org/main/index.php/A52_plugin HTH Clemens -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your