Date: Sun, 02 Nov 2008 21:28:51 +0200 From: Alexander Motin <mav@FreeBSD.org> To: Norikatsu Shigemura <nork@FreeBSD.org> Cc: freebsd-multimedia@FreeBSD.org Subject: Re: How do I use AC3 codec instead of PCM like mplayer -ac hwac3 Message-ID: <490DFF73.20904@FreeBSD.org> In-Reply-To: <490DED08.9010800@FreeBSD.org> References: <20081103023207.68fb4ced.nork@FreeBSD.org> <490DED08.9010800@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Motin wrote: > Norikatsu Shigemura wrote: >> I think that my snd_hda(4) device supports hardware AC3 codec >> (SEE ALSO: attached dmesg and sysctl messages). But I couldn't >> mplayer -ac hwac3 dvd:// like following: > > It looks like there is two problems: > > First is yours: your default pcm0/dsp0 device is PCM only, it does not > supports AC3. Your SPDIF port is pcm1/dsp1. You should specify mplayer > to use it it you wish to pass AC3 through to the external decoder. Also > you have AC3 support as part of your video card HDMI port - pcm2/dsp2. > > Second is at vchans: it does not support AC3 pass though when "Soft PCM > volume" is enabled. You can hack this by commenting respective part of > the hdac_audio_ctl_ossmixer_init(). Also it was reported that with some > amount of luck it may work even without it is you set pcm and master > volume on that channel to 100% and your decoder is able to detect > unmarked AC3 stream. And the third problem is that vchans does not support "mixing" of AC3 pass though, so you have to disable it for the respective device allowing only one application to use it at a time. -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?490DFF73.20904>