All of lore.kernel.org
 help / color / mirror / Atom feed
* terratec dmx xfire 1024 ac3
@ 2003-01-15  8:04 Guido Bakker
  2003-01-15  9:08 ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Guido Bakker @ 2003-01-15  8:04 UTC (permalink / raw)
  To: alsa-devel

hi,

i'm trying to use the optical out of my terratec dmx xfire 1024 with an ac3 
stream.

root@thebox:~/alsa/alsa-tools-0.9.0rc6/ac3dec# ./ac3dec -C test.ac3
Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
ALSA lib pcm.c:1719:(snd_pcm_open_conf) Invalid type for PCM 
iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 definition (id: iec958, value: 
cards.pcm.iec958)
snd_pcm_open: Invalid argument
Output open failed

i'm getting this error, any ideas?

i'm running alsa rc6.

-- 
Guido Bakker

Interne Automatisering
Sogeti Nederland B.V.
T: +31 (0)20 660 66 00 + nakiesnummer 0281
e-mail: guido.bakker@sogeti.nl

panic("sun_82072_fd_inb: How did I get here?");
        2.2.16 /usr/src/linux/include/asm-sparc/floppy.h



-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terratec dmx xfire 1024 ac3
  2003-01-15  8:04 terratec dmx xfire 1024 ac3 Guido Bakker
@ 2003-01-15  9:08 ` Takashi Iwai
  2003-01-15 10:23   ` Guido Bakker
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2003-01-15  9:08 UTC (permalink / raw)
  To: Guido Bakker; +Cc: alsa-devel

Hi,

At Wed, 15 Jan 2003 09:04:21 +0100,
Guido Bakker wrote:
> 
> hi,
> 
> i'm trying to use the optical out of my terratec dmx xfire 1024 with an ac3 
> stream.
> 
> root@thebox:~/alsa/alsa-tools-0.9.0rc6/ac3dec# ./ac3dec -C test.ac3
> Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
> ALSA lib pcm.c:1719:(snd_pcm_open_conf) Invalid type for PCM 
> iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 definition (id: iec958, value: 
> cards.pcm.iec958)
> snd_pcm_open: Invalid argument
> Output open failed
> 
> i'm getting this error, any ideas?
> 
> i'm running alsa rc6.

try the cvs version.
should have been already fixed.


ciao,

Takashi


-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terratec dmx xfire 1024 ac3
  2003-01-15  9:08 ` Takashi Iwai
@ 2003-01-15 10:23   ` Guido Bakker
  2003-01-16  9:54     ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Guido Bakker @ 2003-01-15 10:23 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Wednesday 15 January 2003 10:08, you wrote:
> Hi,
>
> At Wed, 15 Jan 2003 09:04:21 +0100,
>
> Guido Bakker wrote:
> > hi,
> >
> > i'm trying to use the optical out of my terratec dmx xfire 1024 with an
> > ac3 stream.
> >
> > root@thebox:~/alsa/alsa-tools-0.9.0rc6/ac3dec# ./ac3dec -C test.ac3
> > Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
> > ALSA lib pcm.c:1719:(snd_pcm_open_conf) Invalid type for PCM
> > iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 definition (id: iec958,
> > value: cards.pcm.iec958)
> > snd_pcm_open: Invalid argument
> > Output open failed
> >
> > i'm getting this error, any ideas?
> >
> > i'm running alsa rc6.
>
> try the cvs version.
> should have been already fixed.

I'm now stuck to 2ch ac3 only.

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: 56000->192000 (448.0 kbit)
Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)

alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 48000 Hz, 2 channels, AC3
alsa-init: soundcard set to iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
alsa9: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa9] 48000Hz 2ch AC3
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!

Above is the audio output from mplayer -ao alsa9 -abs 1 -ac hwac3

And the following from ac3dec -C:

Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
AC3 Stream 48.0 KHz 448 kbps
** CRC failed - skipping frame **
** CRC failed - skipping frame **
** CRC failed - skipping frame **
(and alot more of those)
Segmentation fault

I installed CVS from yesterday...

-- 
Guido Bakker

Interne Automatisering
Sogeti Nederland B.V.
T: +31 (0)20 660 66 00 + nakiesnummer 0281
e-mail: guido.bakker@sogeti.nl

Linux!  Guerrilla UNIX Development     Venimus, Vidimus, Dolavimus.
	-- Mark A. Horton KA4YBR, mah@ka4ybr.com



-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terratec dmx xfire 1024 ac3
  2003-01-15 10:23   ` Guido Bakker
@ 2003-01-16  9:54     ` Takashi Iwai
  2003-01-16  9:55       ` Guido Bakker
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2003-01-16  9:54 UTC (permalink / raw)
  To: Guido Bakker; +Cc: alsa-devel

At Wed, 15 Jan 2003 11:23:58 +0100,
Guido Bakker wrote:
> 
> On Wednesday 15 January 2003 10:08, you wrote:
> > Hi,
> >
> > At Wed, 15 Jan 2003 09:04:21 +0100,
> >
> > Guido Bakker wrote:
> > > hi,
> > >
> > > i'm trying to use the optical out of my terratec dmx xfire 1024 with an
> > > ac3 stream.
> > >
> > > root@thebox:~/alsa/alsa-tools-0.9.0rc6/ac3dec# ./ac3dec -C test.ac3
> > > Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
> > > ALSA lib pcm.c:1719:(snd_pcm_open_conf) Invalid type for PCM
> > > iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 definition (id: iec958,
> > > value: cards.pcm.iec958)
> > > snd_pcm_open: Invalid argument
> > > Output open failed
> > >
> > > i'm getting this error, any ideas?
> > >
> > > i'm running alsa rc6.
> >
> > try the cvs version.
> > should have been already fixed.
> 
> I'm now stuck to 2ch ac3 only.
> 
> 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: 56000->192000 (448.0 kbit)
> Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
> 
> alsa-init: testing and bugreports are welcome.
> alsa-init: requested format: 48000 Hz, 2 channels, AC3
> alsa-init: soundcard set to iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
> alsa9: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little 
> Endian
> AO: [alsa9] 48000Hz 2ch AC3
> Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
> [format] Sample format big endian AC3  not yet supported
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

i guess the file is corrupt or you forgot byte-swapping.


Takashi


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terratec dmx xfire 1024 ac3
  2003-01-16  9:54     ` Takashi Iwai
@ 2003-01-16  9:55       ` Guido Bakker
  2003-01-16 10:19         ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Guido Bakker @ 2003-01-16  9:55 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

> > > > i'm trying to use the optical out of my terratec dmx xfire 1024 with
> > > > an ac3 stream.
> > > >
> > > > root@thebox:~/alsa/alsa-tools-0.9.0rc6/ac3dec# ./ac3dec -C test.ac3
> > > > Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
> > > > ALSA lib pcm.c:1719:(snd_pcm_open_conf) Invalid type for PCM
> > > > iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 definition (id: iec958,
> > > > value: cards.pcm.iec958)
> > > > snd_pcm_open: Invalid argument
> > > > Output open failed
> > > >
> > > > i'm getting this error, any ideas?
> > > >
> > > > i'm running alsa rc6.
> > >
> > > try the cvs version.
> > > should have been already fixed.
> >
> > I'm now stuck to 2ch ac3 only.
> >
> > 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: 56000->192000 (448.0 kbit)
> > Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
> >
> > alsa-init: testing and bugreports are welcome.
> > alsa-init: requested format: 48000 Hz, 2 channels, AC3
> > alsa-init: soundcard set to iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
> > alsa9: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little
> > Endian
> > AO: [alsa9] 48000Hz 2ch AC3
> > Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
> > [format] Sample format big endian AC3  not yet supported
>
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> i guess the file is corrupt or you forgot byte-swapping.

When i use the same file on a sb live 1024, it works fine.

-- 
Guido Bakker

Interne Automatisering
Sogeti Nederland B.V.
T: +31 (0)20 660 66 00 + nakiesnummer 0281
e-mail: guido.bakker@sogeti.nl

printk("??? No FDIV bug? Lucky you...\n");
	2.2.16 /usr/src/linux/include/asm-i386/bugs.h



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terratec dmx xfire 1024 ac3
  2003-01-16  9:55       ` Guido Bakker
@ 2003-01-16 10:19         ` Takashi Iwai
  2003-01-20  6:19           ` Guido Bakker
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2003-01-16 10:19 UTC (permalink / raw)
  To: Guido Bakker; +Cc: alsa-devel

At Thu, 16 Jan 2003 10:55:37 +0100,
Guido Bakker wrote:
> 
> > > > > i'm trying to use the optical out of my terratec dmx xfire 1024 with
> > > > > an ac3 stream.
> > > > >
> > > > > root@thebox:~/alsa/alsa-tools-0.9.0rc6/ac3dec# ./ac3dec -C test.ac3
> > > > > Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
> > > > > ALSA lib pcm.c:1719:(snd_pcm_open_conf) Invalid type for PCM
> > > > > iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 definition (id: iec958,
> > > > > value: cards.pcm.iec958)
> > > > > snd_pcm_open: Invalid argument
> > > > > Output open failed
> > > > >
> > > > > i'm getting this error, any ideas?
> > > > >
> > > > > i'm running alsa rc6.
> > > >
> > > > try the cvs version.
> > > > should have been already fixed.
> > >
> > > I'm now stuck to 2ch ac3 only.
> > >
> > > 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: 56000->192000 (448.0 kbit)
> > > Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
> > >
> > > alsa-init: testing and bugreports are welcome.
> > > alsa-init: requested format: 48000 Hz, 2 channels, AC3
> > > alsa-init: soundcard set to iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
> > > alsa9: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little
> > > Endian
> > > AO: [alsa9] 48000Hz 2ch AC3
> > > Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
> > > [format] Sample format big endian AC3  not yet supported
> >
> >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > i guess the file is corrupt or you forgot byte-swapping.
> 
> When i use the same file on a sb live 1024, it works fine.

what about running ac3dec without -C option (i.e. analog two
channels)?  it must work correctly regardless of spdif support.


Takashi


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: terratec dmx xfire 1024 ac3
  2003-01-16 10:19         ` Takashi Iwai
@ 2003-01-20  6:19           ` Guido Bakker
  0 siblings, 0 replies; 7+ messages in thread
From: Guido Bakker @ 2003-01-20  6:19 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Thursday 16 January 2003 11:19, Takashi Iwai wrote:
> At Thu, 16 Jan 2003 10:55:37 +0100,
>
> Guido Bakker wrote:
> > > > > > i'm trying to use the optical out of my terratec dmx xfire 1024
> > > > > > with an ac3 stream.
> > > > > >
> > > > > > root@thebox:~/alsa/alsa-tools-0.9.0rc6/ac3dec# ./ac3dec -C
> > > > > > test.ac3 Using PCM device
> > > > > > 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2' ALSA lib
> > > > > > pcm.c:1719:(snd_pcm_open_conf) Invalid type for PCM
> > > > > > iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 definition (id:
> > > > > > iec958, value: cards.pcm.iec958)
> > > > > > snd_pcm_open: Invalid argument
> > > > > > Output open failed
> > > > > >
> > > > > > i'm getting this error, any ideas?
> > > > > >
> > > > > > i'm running alsa rc6.
> > > > >
> > > > > try the cvs version.
> > > > > should have been already fixed.
> > > >
> > > > I'm now stuck to 2ch ac3 only.
> > > >
> > > > 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: 56000->192000 (448.0
> > > > kbit) Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
> > > >
> > > > alsa-init: testing and bugreports are welcome.
> > > > alsa-init: requested format: 48000 Hz, 2 channels, AC3
> > > > alsa-init: soundcard set to
> > > > iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2 alsa9: 48000 Hz/2
> > > > channels/4 bpf/32768 bytes buffer/Signed 16 bit Little Endian
> > > > AO: [alsa9] 48000Hz 2ch AC3
> > > > Building audio filter chain for 48000Hz/2ch/16bit ->
> > > > 48000Hz/2ch/8bit... [format] Sample format big endian AC3  not yet
> > > > supported
> > >
> > >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > >
> > > i guess the file is corrupt or you forgot byte-swapping.
> >
> > When i use the same file on a sb live 1024, it works fine.
>
> what about running ac3dec without -C option (i.e. analog two
> channels)?  it must work correctly regardless of spdif support.

That just plays it fine but in stereo.

-- 
Guido Bakker

Interne Automatisering
Sogeti Nederland B.V.
T: +31 (0)20 660 66 00 + nakiesnummer 0281
e-mail: guido.bakker@sogeti.nl

Let's call it an accidental feature.
	-- Larry Wall



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-01-20  6:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-15  8:04 terratec dmx xfire 1024 ac3 Guido Bakker
2003-01-15  9:08 ` Takashi Iwai
2003-01-15 10:23   ` Guido Bakker
2003-01-16  9:54     ` Takashi Iwai
2003-01-16  9:55       ` Guido Bakker
2003-01-16 10:19         ` Takashi Iwai
2003-01-20  6:19           ` Guido Bakker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.