LinHES Forums
http://forums.linhes.org/

AC3 and HDTV
http://forums.linhes.org/viewtopic.php?f=15&t=4085
Page 1 of 1

Author:  Human [ Tue Apr 05, 2005 10:08 pm ]
Post subject:  AC3 and HDTV

I'm using R5A12, and I've followed the helpful guides on the Wiki ( http://knoppmythwiki.homelinux.org/inde ... AudioHowTo ) and in various threads on the forum here. I got digital audio working through my nForce4 mobo's S/PDIF output for MythMusic and MythVideo (the hardware in my signature file is out of date). So ripped CDs and DVDs play digitally. But I can't get MythTV to play my saved TV shows with digital audio. I _can_ play them directly with xine, using xine's passthru option, and they come out in digital 5.1 as they should, so I know the digital audio track is there...

Here are my settings from the Setup -> Setup -> General -> Audio screen:

Code:
Audio output device: ALSA:digital
(either this or /dev/adsp works for music and videos)
Code:
[x] Enable AC3 to SPDIF passthrough
[ ] Aggressive Soundcard Buffering
[ ] Use internal volume controls
(I've tried this each way.)

Does anyone have any ideas on what to try next? It looks like it's just a matter of telling MythTV how to play its .nuv files the right way, since the S/PDIF is obviously working every other way I use it.

Author:  jbman [ Tue Apr 05, 2005 11:29 pm ]
Post subject: 

for me ALSA:spdif worked

Author:  Xsecrets [ Wed Apr 06, 2005 12:16 am ]
Post subject: 

may just be that the drivers for the nforce4 are not mature enough. I know some people had insurmountable problems with nforce3.

Author:  Human [ Wed Apr 06, 2005 9:11 am ]
Post subject: 

Xsecrets wrote:
may just be that the drivers for the nforce4 are not mature enough. I know some people had insurmountable problems with nforce3.

If it were a driver issue, wouldn't manual .nuv playback with xine also fail? When I do this and use xine's audio passthru option, I get perfect 5.1 digital surround sound.

Author:  Human [ Wed Apr 06, 2005 9:16 am ]
Post subject: 

jbman wrote:
for me ALSA:spdif worked

Unfortunately, for me, this seems to also work for music and videos and not TV :(

Author:  Grooby [ Wed Apr 06, 2005 11:21 am ]
Post subject: 

That's interesting.. I, for one, can't get my Nforce3 SPDIF output to work. I can't even get a single sound out from anywhere (even aplay with different hardware number). Is there somethinig special you have to do to get your nforce4 sound out to work?

Author:  Human [ Wed Apr 06, 2005 11:27 am ]
Post subject: 

Grooby wrote:
Is there somethinig special you have to do to get your nforce4 sound out to work?

Nope - I just followed the guide as if I had an nForce2 chipset. The only remaining problem is convincing MythTV to send the audio track directly to the S/PDIF when it plays captured TV shows.

Author:  Human [ Sat Apr 09, 2005 7:41 pm ]
Post subject:  solution

I will reply to my own question here, since the solution I have is nonstandard in two ways.

For one, using /dev/adsp or ALSA:spdif or ALSA:digital or any of the other posted variants only worked for music, DVDs, and videos, not HDTV. Oddly, what worked was to leave the audio device set to /dev/dsp! This allowed digital audio for everything.

On top of that, I needed to add an unintuitive extra flag to my mplayer commandlines. For whatever reason, I didn't need to do this the first time around, but this time I needed to add '-v 0' or I'd get no sound in DVDs and videos. This makes no sense, since this is just a verbosity flag, and '-v 0' corresponds to the default setting anyway. If I don't do this, mplayer yells about the AC3 track being big endian and unsupported. The same audio track works fine with that verbosity flag. So something is peculiar, but it all works :)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/