[mythtv-users] HDMI ac3 passthough audio
Joel Means
means.joel at gmail.com
Thu Feb 12 17:40:54 UTC 2009
On Thu, Feb 12, 2009 at 9:28 AM, James Crow <james at ultratans.com> wrote:
> >From my Asus M2N68 with HDMI and onboard SPDIF out:
>
> ~$ uname -r
> 2.6.27-11-generic
>
> $ aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: NVidia [HDA NVidia], device 0: VT1708B Analog [VT1708B Analog]
> Subdevices: 2/2
> Subdevice #0: subdevice #0
> Subdevice #1: subdevice #1
> card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
>
> $ aplay -L
> default:CARD=NVidia
> HDA NVidia, VT1708B Analog
> Default Audio Device
> front:CARD=NVidia,DEV=0
> HDA NVidia, VT1708B Analog
> Front speakers
> surround40:CARD=NVidia,DEV=0
> HDA NVidia, VT1708B Analog
> 4.0 Surround output to Front and Rear speakers
> surround41:CARD=NVidia,DEV=0
> HDA NVidia, VT1708B Analog
> 4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=NVidia,DEV=0
> HDA NVidia, VT1708B Analog
> 5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=NVidia,DEV=0
> HDA NVidia, VT1708B Analog
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=NVidia,DEV=0
> HDA NVidia, VT1708B Analog
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> null
> Discard all samples (playback) or generate zero samples (capture)
>
> This is the same Ubuntu 8.10 system that had HDMI audio (not ac3
> passthrough) working. I updated Ubuntu and the new kernel overwrote my
> updated alsa drivers. I then reran the Alsa upgrade script and got back
> my 1.0.19 driver. I am unable to test because I do not have any HDMI
> display device near the computer.
>
> If I try to play a file with ac3 audio using hw passthrough this is what
> I get:
> :~/Desktop$ mplayer -ao alsa:device=hw=0.3 -ac hwac3 -vf pp=fd
> 4032_20090120114500.mpg
> MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
> CPU: AMD Athlon(tm) X2 Dual Core Processor BE-2400 (Family: 15, Model:
> 107, Stepping: 2)
> CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing 4032_20090120114500.mpg.
> TS file format detected.
> VIDEO MPEG2(pid=2176) AUDIO A52(pid=2177) NO SUBS (yet)! PROGRAM N. 1
> VIDEO: MPEG2 1920x1080 (aspect 3) 29.970 fps 25000.0 kbps (3125.0
> kbyte/s)
> vo: couldn't open the X11 display ()!
> Error opening/initializing the selected video_out (-vo) device.
> ==========================================================================
> Forced audio codec: hwac3
> Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
> No accelerated IMDCT transform found
> hwac3: switched to AC3, 384000 bps, 48000 Hz
> AUDIO: 48000 Hz, 2 ch, ac3, 384.0 kbit/25.00% (ratio: 48000->192000)
> Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
> ==========================================================================
> [AO_ALSA] alsa-lib: conf.c:3843:(parse_args) Unknown parameter AES0
> [AO_ALSA] alsa-lib: conf.c:3969:(snd_config_expand) Parse arguments
> error: No such file or directory
> [AO_ALSA] alsa-lib: pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
> hw:0,3,AES0=6
> AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
> Video: no video
> Starting playback...
> A:44742.1 (12:25:42.0) of 387863.9 (107:44:23.8) 0.5%
> Exiting... (Quit)
>
> Again, I don't know if that helps or not.
>
> Cheers,
> James
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Try using '-ao alsa:device=hdmi' and see if the alsa errors go away.
Joel
More information about the mythtv-users
mailing list