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

AC3 Passthru issue with R5F27 -- SOLVED
http://forum.linhes.org/viewtopic.php?f=6&t=16581
Page 1 of 2

Author:  Liv2Cod [ Mon Sep 17, 2007 3:10 am ]
Post subject:  AC3 Passthru issue with R5F27 -- SOLVED

See the last message for the fix -- using ALSA:hw:0,4 in place of /dev/dsp in the sound device settings.

I'm having a bit of a problem using AC3 passthru with my fresh, shiny R5F27 install. I have everything working pretty much perfectly (THANKS, guys!) but for this one little issue.

The problem is, about 50-80% of the time I play back an HD recording (with AC3), my SPDIF output carries this horrible digital "noise" instead of the audio. It's a sound that definitely gets your attention when you start a playback! If I exit the playback and start it again (sometime several times), I can get it to play correctly.

I have tried all combinations of playback decoders (standard, ffmpeg, xvmc, etc) and all work the same. I have monkeyed with various alternative settings in the configuration of the sound, but I can find nothing that eliminates the problem, save disabling AC3 passthru which fixes the problem for all time. But I want my AC3 with its rumbling LFE channel and surround goodness! (Sing along with me... I want my, I want my AC3!)

My system is based on an Abit AS8 m/b with a Pentium 4 531 processor (Prescott core, 3.0GHz). It has onboard Realtek sound of some vintage. It worked perfectly on earlier releases, but I never tried it on R5F1.

Joe

Author:  LurkerLito [ Mon Sep 17, 2007 8:49 am ]
Post subject: 

Could it be your receiver or prepro? On mine I can set my to autodetect or only read from the Analog or Digital inputs. I generally force mine to always pick the digital input since I never want the analog signal.

AFAIK myth always sends the data out both the analog and digital output at the same time, so if there is a slight momentary pause in the beginning the prepro might decide that there is no digital signal coming in so it just gets the data from the analog line (which is why you get that horrible scratchy sound which is basically the AC3 signal converted to analog form).

Author:  Liv2Cod [ Mon Sep 17, 2007 11:14 am ]
Post subject: 

On my setup I only have the digital optical hooked up -- no analog signals at all. (That's how much I like it, my AC3....) When I uncheck the AC3 Passthru option, it still uses the digital output but passes normal dolby stereo (not 5 channel) to the optical out.

Author:  kmkittre [ Mon Sep 17, 2007 11:49 am ]
Post subject: 

Are these new recordings, or recordings that were made prior to the upgrade? Do you have the same sound problem when watching live TV?

Author:  mihanson [ Mon Sep 17, 2007 5:56 pm ]
Post subject: 

Joe,
I have an Abit AS8 based frontend that works perfectly well with digital audio on HDTV recordings using the standard decoder. With Xine, that's another story. You can see my complete configuration from the link in my signature. It's FE#2. Here are my settings that work for me. These are the values from my DB. Sorry, I'm not in front of the box:
Code:
AudioOutputDevice         ALSA:hw:0,4                             mythbox-rfe-2
PassThruOutputDevice    ALSA:iec958:{ AES0 0x02 }       mythbox-rfe-2
AC3PassThru                1                                              mythbox-rfe-2
DTSPassThru                1                                             mythbox-rfe-2


I do not use MythTV's internal volume controls.

Author:  Liv2Cod [ Mon Sep 17, 2007 7:49 pm ]
Post subject: 

Thanks for your settings, Mike. I'll try those. The old AS8 has been super-reliable for me until this last issue. It's not a huge disaster if I am forced to get a new motherboard for this (grin) but I'm just trying to squeeze the last "bit" out of this one first.

Author:  Liv2Cod [ Wed Sep 19, 2007 8:11 pm ]
Post subject: 

mihanson wrote:
Code:
AudioOutputDevice         ALSA:hw:0,4

Thanks again Mike -- this made ALL the difference! I can use full AC-3 passthru AND it avoids some nasty audio glitching I was getting. Excellent tip!

Author:  mihanson [ Wed Sep 19, 2007 11:17 pm ]
Post subject: 

Happy to help! :D

Author:  sinspot1 [ Tue Sep 25, 2007 7:49 pm ]
Post subject: 

I tried that setting and didn't see to help me. I just get a buzz out of my onboard digital coax jack but if I replace it with a chiantech card and use the opitcal out and don't change any setting it works just fine. My onboard sound work up until a couple versions of KM ago. It is a Nvidia Nforce430 based motherboard. I have downloaded newer versions of the alsa driver and tried them but no luck. Has anyone else had this problem?


Thanks

Author:  finger51 [ Wed Sep 26, 2007 8:49 pm ]
Post subject: 

Hi~

I'm ok with everything (videos, recorded TV, mythstream) except mythmusic.
Running mythfrontend from a command prompt returns "unable to open" error snd_pcm_output(hw:0,2)

currently using /dev/adsp in General\Audio -- but nothing I input to the output device field seems to be able to change the 'hw:0,2' value to get mythmusic playing. Selecting a song does nothing except produce the error.

Author:  mihanson [ Thu Sep 27, 2007 2:08 pm ]
Post subject: 

finger51 wrote:
Running mythfrontend from a command prompt returns "unable to open" error snd_pcm_output(hw:0,2)

currently using /dev/adsp in General\Audio -- but nothing I input to the output device field seems to be able to change the 'hw:0,2' value to get mythmusic playing. Selecting a song does nothing except produce the error.


Post the output of this command (this can be done as mythtv or root, doesn't matter):
Code:
aplay -l

Author:  finger51 [ Wed Oct 17, 2007 6:16 pm ]
Post subject: 

mihanson wrote:
Post the output of this command (this can be done as mythtv or root, doesn't matter):
Code:
aplay -l


Code:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


sorry for the delay in response- was on vacation for a couple of weeks... came home to a nice full hard drive though! Thanks for the assist
~F

Author:  mihanson [ Wed Oct 17, 2007 6:33 pm ]
Post subject: 

Try
Code:
ALSA:hw:0,1

0 = card #0
1 = device #1

You don't have a device #2 as evidenced by the output of aplay -l

Author:  tjc [ Wed Oct 17, 2007 8:19 pm ]
Post subject: 

Good work guys. I've added a link to this thread in the R5F27 Hints as Known Change #7.7

Author:  finger51 [ Wed Oct 17, 2007 8:46 pm ]
Post subject: 

mihanson wrote:
Try
Code:
ALSA:hw:0,1

0 = card #0
1 = device #1

You don't have a device #2 as evidenced by the output of aplay -l


that's the thing that is driving me nuts- no matter what I put into the field, I always get that same ""unable to open" error snd_pcm_output(hw:0,2) "

I've even put (literally) XXXX just to see what happens and it always returns that "unable to open" error snd_pcm_output(hw:0,2)

Is there a way to force it via mysql?

thanks for the speedy reply BTW!

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