[mythtv-users] Audio problem with hdpvr playback after upgrading to Fedora 12

Richard Woelk richardwoelk at yahoo.ca
Tue Jan 12 00:59:09 UTC 2010



Shawn Asmussen wrote:
> I upgraded my master mythtv box from FC 10 to FC 12 last night (Using 
> atrpms for my mythtv packages). After doing so, I found that 
> mythfrontend on that machine would not play the audio on hdpvr 
> recordings made after the upgrade. Recordings made off of my hdhomerun 
> from both before and after the upgrade play fine, as do hdpvr 
> recordings made before the upgrade. I have a separate box with a 
> frontend on it that I haven't upgraded yet, and it has no problems 
> playing the hdpvr recordings made by my upgraded mythbackend, 
> including audio, so the recordings themselves seem to be fine. It's 
> just that the mythfrontend on the upgraded machine will not play the 
> audio on the new hdpvr recordings. Has anybody seen an issue like 
> this, or if not, does anybody have any idea what might cause an issue 
> like that?
>  
> Here is a portion of a mythfrontend log that I captured with -v audio, 
> while I try to watch a recording made after the upgrade. This 
> recording plays fine on my unupgraded frontend, so I can vouch that 
> the recording contains audio.
>  
> 2010-01-10 10:46:43.941 TV: Attempting to change from None to Watching 
> WatchingPreRecorded
> 2010-01-10 10:46:44.005 TV: StartPlayer(0, Watching 
> WatchingPreRecorded, main) -- begin
> 2010-01-10 10:46:44.218 AFD: Opened codec 0x308c7a0, id(H264) type(Video)
> 2010-01-10 10:46:44.218 AFD: codec AAC has 2 channels
> 2010-01-10 10:46:44.218 AFD: Opened codec 0x30f1590, id(AAC) type(Audio)
> 2010-01-10 10:46:44.218 AFD: Audio Track #1 is A/V stream #1 and has 2 
> channels in the Undetermined language(7695972).
> 2010-01-10 10:46:44.218 AFD: Selected track 1: Undetermined LIBFAAD 
> 2ch (A/V Stream #1)
> 2010-01-10 10:46:44.218 AFD: Initializing audio parms from audio track #1
> 2010-01-10 10:46:44.218 AFD: Audio format changed
>                         from id(NONE)    -1Hz -1ch   0bps    ; 
> id(NONE)    -1Hz -1ch   0bps
>                         to   id( AAC) 48000Hz  2ch  16bps    ; id( 
> AAC) 48000Hz  2ch  16bps
> 2010-01-10 10:46:44.219 AO: Killing AudioOutputDSP
> 2010-01-10 10:46:44.219 Opening audio device 'default'. ch 2(2) sr 48000
> 2010-01-10 10:46:44.220 Opening ALSA audio device 'default'.
> 2010-01-10 10:46:44.459 in SetParameters(format=2, channels=2, 
> rate=48000, buffer_time=400000, period_time=25000)
> 2010-01-10 10:46:44.459 get_buffer_size returned 16384
> 2010-01-10 10:46:44.459 set_period_time_near returned 21333
> 2010-01-10 10:46:44.460 get_period_size returned 1024
> 2010-01-10 10:46:44.460 Setting  volume to 100
> 2010-01-10 10:46:44.460 Setting  volume to 100
> 2010-01-10 10:46:44.460 AO: Audio fragment size: 6144
> 2010-01-10 10:46:44.460 AO: Audio Stretch Factor: 1
> 2010-01-10 10:46:44.460 Audio Codec Used: not set
> 2010-01-10 10:46:44.460 AO: Ending reconfigure
> 2010-01-10 10:46:44.460 AO: no change exiting
> 2010-01-10 10:46:44.460 AO: kickoffOutputAudioLoop: pid = 25714
> 2010-01-10 10:46:44.461 AO: OutputAudioLoop: Play Event
> 2010-01-10 10:46:44.469 AO: no change exiting
> 2010-01-10 10:46:44.469 AO: Pause 1
> 2010-01-10 10:46:44.471 AO: OutputAudioLoop: audio paused
> 2010-01-10 10:46:44.663 NVP(0): Forcing decode extra audio option on 
> (Video method requires it).
> 2010-01-10 10:46:44.664 OSD Theme Dimensions W: 1280 H: 720
> 2010-01-10 10:46:45.083 AO: Pause 1
> 2010-01-10 10:46:45.083 TV: StartPlayer(0, Watching 
> WatchingPreRecorded, main) -- end ok
> 2010-01-10 10:46:45.083 TV: Changing from None to Watching 
> WatchingPreRecorded
> 2010-01-10 10:46:45.084 AO: OutputAudioLoop: audio paused
> 2010-01-10 10:46:45.084 Using realtime priority.
> 2010-01-10 10:46:45.106 Video timing method: USleep with busy wait
> 2010-01-10 10:46:45.108 ScreenSaverX11Private: DPMS Deactivated 1
> 2010-01-10 10:46:45.131 AO: Pause 0
> 2010-01-10 10:46:45.132 AO: OutputAudioLoop: Play Event
> 2010-01-10 10:46:54.919 TV: Attempting to change from Watching 
> WatchingPreRecorded to None
> 2010-01-10 10:46:54.972 TV: Changing from Watching WatchingPreRecorded 
> to None
> 2010-01-10 10:46:54.988 ScreenSaverX11Private: DPMS Reactivated 1
> 2010-01-10 10:46:55.040 AO: Killing AudioOutputDSP
> 2010-01-10 10:46:55.042 AO: OutputAudioLoop: Stop Event
> 2010-01-10 10:46:55.042 AO: kickoffOutputAudioLoop exiting
> 2010-01-10 10:46:57.071 AudioPulseUtil: Resume Success
> 2010-01-10 10:46:57.071 Deleting UPnP client...
> ------------------------------------------------------------------------


Shaun,
    I notice from your log that your HDPVR is recording audio to AAC 
format. When I originally started with the HDPVR, I had to compile my 
own copy of FAAD2 or else mythfrontend would crash trying to play it. It 
needed a configure option that later I found was enabled in the livna 
package. When AC3 support was released for the HDPVR, I went back to 
using the atrpms version, just to satisfy the dependency.

When recording AC3 from the optical connector, the HDPVR automatically 
records AC3. You can set AC3 In the recording profile page of 
mythfrontend settings, This setting affects the analog input as well as 
the SPDIF if it is getting PCM in.

Hope it helps

- Richard











More information about the mythtv-users mailing list