Re: [mythtv-users] AC3 audio - Dolby Digital 5.1 Surround Sound

2005-02-25 Thread Jurgen Kramer
On Tue, 2005-02-22 at 21:20 -0500, Brent Borghese wrote:
 Has any body got Dodby Digital to work?

I have just completely rebuild my MythTV box using Jarod's guide. I did
not do anything special (no .asound etc) but I finally have AC3
passthrough working again! It has been literally some years ago that I
got this working. This is with a plain and old Aureal 8830 based card...

I think it all depends on your hardware setup, my normal Linux box with
SB Augidy2 hasn't been able to give proper AC3 passthrough for some time
(last seen working in the old OSS and ALSA 0.9 time) and they both use
the same software (FC3 kernel 2.6.10)...with the Audigy2 even the PCM
light om my receiver goes off when I try to play a DD5.1 stream...

I hope you get it working...

Jurgen


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] AC3 audio - Dolby Digital 5.1 Surround Sound

2005-02-23 Thread Brent Borghese
If I do:
mplayer -ao alsa:device=hw=0.2 dvd://1
I get PCM 48 sound(2 channels)


And if I do
mplayer -ao alsa:device=hw=0.2 -ac hwac3 dvd://1
I get no sound at all.  My receive gives me a decode error.

MPlayers output:(No sound)
==
Forced audio codec: hwac3
Opening audio decoder: [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 (0x100), ratio: 56000-192000 (448.0 kbit)
Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
==
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 big-endian AC3
alsa-init: 1 soundcard found, using: hw:0,2
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 2ch big-endian 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!


There is this error from MPLAYER:
[format] Sample format big-endian AC3 not yet supported

I have tried to add -channels 6 and if I get any sound at all it is just
poping and clicking sounds.

mplayer and xine just do not seem to pass-through the audio to SPDIF. 

Brent

Output of mplayer that works(but only 2 channel digital sound):
==
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x9), ratio: 56000-192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==
snip
==
Checking audio filter chain for 48000Hz/2ch/16bit -
48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little-endian 16-bit signed
int
AF_pre: 48000Hz 2ch little-endian 16-bit signed int
alsa-init: 1 soundcard found, using: hw:0,2
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 2ch little-endian 16-bit signed int (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -
48000Hz/2ch/16bit...


-
On Tue, 2005-02-22 at 21:55, Tj wrote:
 do you have a
 
 -ac=hwdts,hwac3,
 
 in your commandline if your are using mplayer?
 
 
 Brent Borghese wrote:
 
 Has any body got Dodby Digital to work?
 
 What I am talking about is when I watch a movie with mythvideo I want my
 computers SPDIF connector connected to my Sony receiver and have the
 Blue light come on the receiver saying I am running Dodby Digtal 3/2
 (5.1 Surround).
 
 I have no problem getting the SPDIF output to work and my receiver, but
 it says it has a PCM 48 connection, but it is only 2 channels.
 
 I have a Asus A7N8X-E deluxe MB with 6 channel audio.  I am running alsa
 1.08 and I have tested it with the MB's audio and a Sound Blaster Live
 5.1 card.   Both do the same thing 2 channel digital audio.
 
 I did try to use the Nvidia OSS audio drivers and was able to get my
 receiver say it was Dodby Digtal 3/2 and the blue light came on.   But,
 the drivers would make all the video run real real slow, so it made the
 audio driver unusable.
 
 I have also tried xine, the last 3 versions of MPlayer and the CVS
 version of MPlayer.  They all do the same thing, 2 channel digital
 audio.
 
 Brent 
 
 
 
   
 
 
 
 ___
 mythtv-users mailing list
 mythtv-users@mythtv.org
 http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
   
 
 
 ___
 mythtv-users mailing list
 mythtv-users@mythtv.org
 http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] AC3 audio - Dolby Digital 5.1 Surround Sound

2005-02-22 Thread Tj
do you have a
-ac=hwdts,hwac3,
in your commandline if your are using mplayer?
Brent Borghese wrote:
Has any body got Dodby Digital to work?
What I am talking about is when I watch a movie with mythvideo I want my
computers SPDIF connector connected to my Sony receiver and have the
Blue light come on the receiver saying I am running Dodby Digtal 3/2
(5.1 Surround).
I have no problem getting the SPDIF output to work and my receiver, but
it says it has a PCM 48 connection, but it is only 2 channels.
I have a Asus A7N8X-E deluxe MB with 6 channel audio.  I am running alsa
1.08 and I have tested it with the MB's audio and a Sound Blaster Live
5.1 card.   Both do the same thing 2 channel digital audio.
I did try to use the Nvidia OSS audio drivers and was able to get my
receiver say it was Dodby Digtal 3/2 and the blue light came on.   But,
the drivers would make all the video run real real slow, so it made the
audio driver unusable.
I have also tried xine, the last 3 versions of MPlayer and the CVS
version of MPlayer.  They all do the same thing, 2 channel digital
audio.
Brent 


 


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
 

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] AC3 audio - Dolby Digital 5.1 Surround Sound

2005-02-22 Thread Paul Bender
Brent Borghese wrote:
Has any body got Dodby Digital to work?
What I am talking about is when I watch a movie with mythvideo I want my
computers SPDIF connector connected to my Sony receiver and have the
Blue light come on the receiver saying I am running Dodby Digtal 3/2
(5.1 Surround).
I have no problem getting the SPDIF output to work and my receiver, but
it says it has a PCM 48 connection, but it is only 2 channels.
I have a Asus A7N8X-E deluxe MB with 6 channel audio.  I am running alsa
1.08 and I have tested it with the MB's audio and a Sound Blaster Live
5.1 card.   Both do the same thing 2 channel digital audio.
I did try to use the Nvidia OSS audio drivers and was able to get my
receiver say it was Dodby Digtal 3/2 and the blue light came on.   But,
the drivers would make all the video run real real slow, so it made the
audio driver unusable.
I have also tried xine, the last 3 versions of MPlayer and the CVS
version of MPlayer.  They all do the same thing, 2 channel digital
audio.
I have it working with Xine. In the Xine configuration file, I set the 
following to make it work:

audio.driver:alsa
audio.output.speaker_arrangement:Pass Through
By default, the alsa pass through device is:
#audio.device.alsa_passthrough_device:iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users