[mythtv-users] Frontend aborts on selection of secondary audio stream

John Pilkington J.Pilk at tesco.net
Mon Mar 28 10:20:28 UTC 2011


Using dvb-t in the uk, 64-bit f13 latest from ATrpms

I don't use the 'visually impaired' stream and usually strip it off; I 
came across this yesterday but don't know how long it's been there.  I 
haven't tracked down exactly which programmes are affected.  It doesn't 
happen after Project-X has done the stripping.  mythfrontend -v audio 
log follows.  This programme isn't listed as having a second audio 
track.  I've found one in which the second track played properly and 
others that claim to have such a track but abort.

MythTV Version   : v0.24-231-gc2baf1b
MythTV Branch    : fixes/0.24
Network Protocol : 63
Library API      : 0.24.20101129-1
QT Version       : 4.6.3


2011-03-28 10:59:30.751 Connected to database 'mythconverg' at host: 
localhost
2011-03-28 10:59:48.185 MythUIWebBrowser: Loading css from - 
file:///usr/share/mythtv/themes/default/htmls/mythbrowser.css
2011-03-28 10:59:48.187 MythUIWebBrowser: enabling plugins
2011-03-28 11:00:06.423 TV: Attempting to change from None to 
WatchingPreRecorded
2011-03-28 11:00:08.562 Pulse: Operation: success 1 remaining 1
2011-03-28 11:00:08.582 Pulse: Operation: success 1 remaining 0
2011-03-28 11:00:08.592 Pulse: PulseAudio suspend OK
2011-03-28 11:00:08.596 AO: Sample rate 44100 is supported
2011-03-28 11:00:08.596 AO: Sample rate 48000 is supported
2011-03-28 11:00:08.596 AO: Sample rate 88200 is supported
2011-03-28 11:00:08.596 AO: Sample rate 96000 is supported
2011-03-28 11:00:08.597 AO: Sample rate 176400 is supported
2011-03-28 11:00:08.597 AO: Sample rate 192000 is supported
2011-03-28 11:00:08.597 AO: 2 channel(s) are supported
2011-03-28 11:00:08.597 AO: 4 channel(s) are supported
2011-03-28 11:00:08.597 AO: 6 channel(s) are supported
2011-03-28 11:00:08.597 AO: 8 channel(s) are supported
2011-03-28 11:00:08.630 AO: Killing AudioOutputDSP
2011-03-28 11:00:08.734 AFD: Opened codec 0x3693c40, id(MPEG2VIDEO) 
type(Video)
2011-03-28 11:00:08.734 AFD: codec MP2 has 2 channels
2011-03-28 11:00:08.734 AFD: Opened codec 0x3653870, id(MP2) type(Audio)
2011-03-28 11:00:08.734 AFD: Audio Track #1 is A/V stream #1 and has 2 
channels in the English language(6647399).
2011-03-28 11:00:08.735 AFD: codec MP3 has 0 channels
2011-03-28 11:00:08.735 AFD: Opened codec 0x3653ef0, id(MP3) type(Audio)
2011-03-28 11:00:08.735 AFD: Audio Track #2 is A/V stream #2 and has 0 
channels in the English language(6647399).
2011-03-28 11:00:08.735 AFD: Opened codec 0x3654b50, id(DVB_SUBTITLE) 
type(Subtitle)
2011-03-28 11:00:08.735 AFD: Trying to select audio track (w/lang)
2011-03-28 11:00:08.735 AFD: Selected track 1: English MP2 2ch (A/V 
Stream #1)
2011-03-28 11:00:08.736 AFD: Initializing audio parms from audio track #1
2011-03-28 11:00:08.736 AFD: Audio format changed
                         from id(NONE)     -1Hz -1ch -1bps     to id( 
MP2)  48000Hz  2ch 16bps
2011-03-28 11:00:08.736 AO: Killing AudioOutputDSP
2011-03-28 11:00:08.862 Pulse: Operation: success 1 remaining 1
2011-03-28 11:00:08.883 Pulse: Operation: success 1 remaining 0
2011-03-28 11:00:08.893 Pulse: PulseAudio resume OK
2011-03-28 11:00:09.063 Pulse: Operation: success 1 remaining 1
2011-03-28 11:00:09.083 Pulse: Operation: success 1 remaining 0
2011-03-28 11:00:09.093 Pulse: PulseAudio suspend OK
2011-03-28 11:00:09.096 AO: Sample rate 44100 is supported
2011-03-28 11:00:09.096 AO: Sample rate 48000 is supported
2011-03-28 11:00:09.096 AO: Sample rate 88200 is supported
2011-03-28 11:00:09.096 AO: Sample rate 96000 is supported
2011-03-28 11:00:09.096 AO: Sample rate 176400 is supported
2011-03-28 11:00:09.096 AO: Sample rate 192000 is supported
2011-03-28 11:00:09.096 AO: 2 channel(s) are supported
2011-03-28 11:00:09.096 AO: 4 channel(s) are supported
2011-03-28 11:00:09.096 AO: 6 channel(s) are supported
2011-03-28 11:00:09.097 AO: 8 channel(s) are supported
2011-03-28 11:00:09.129 AO: Killing AudioOutputDSP
2011-03-28 11:00:09.129 AO: Original codec was MP2, signed 16 bit, 48 
kHz, 2 channels
2011-03-28 11:00:09.130 AO: enc(0), passthru(0), canAC3(0), canDTS(0), 
canLPCM(1), configured_channels(2), 2 channels supported(1)
2011-03-28 11:00:09.130 AO: Opening audio device 
'front:CARD=Intel,DEV=0' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2011-03-28 11:00:09.130 ALSA: SetParameters(format=2, channels=2, 
rate=48000, buffer_time=500000, period_time=16)
2011-03-28 11:00:09.130 ALSA: Buffer size range from 64 to 16384
2011-03-28 11:00:09.130 ALSA: Period size range from 32 to 8192
2011-03-28 11:00:09.130 ALSA: Requested 500000us got 341333 buffer time
2011-03-28 11:00:09.131 ALSA: Hardware audio buffer cur: 64 need: 128 
max allowed: 32768
2011-03-28 11:00:09.131 ALSA, Error: Setting hardware audio buffer size 
to 128
2011-03-28 11:00:09.131 ALSA, Error: Error opening 
/proc/asound/card0/pcm0p/sub0/prealloc: Permission denied.
2011-03-28 11:00:09.131 ALSA, Error: Try to manually increase audio 
buffer with: echo 128 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc
2011-03-28 11:00:09.131 ALSA, Error: Unable to sufficiently increase 
ALSA hardware buffer size - underruns are likely
2011-03-28 11:00:09.132 ALSA: SetParameters(format=2, channels=2, 
rate=48000, buffer_time=500000, period_time=16)
2011-03-28 11:00:09.132 ALSA: Buffer size range from 64 to 16384
2011-03-28 11:00:09.132 ALSA: Period size range from 32 to 8192
2011-03-28 11:00:09.132 ALSA: Buffer time = 341333 us
2011-03-28 11:00:09.132 ALSA: Period time = 16 periods
2011-03-28 11:00:09.132 ALSA: Buffer size = 16384 | Period size = 1024
2011-03-28 11:00:09.150 ALSA: found playback control Master on mixer 
device default
2011-03-28 11:00:09.150 ALSA: mixer volume range on mixer device 
default/Master - min 0, max 65536, range 65536
2011-03-28 11:00:09.150 ALSA: mixer device default/Master set up 
successfully
2011-03-28 11:00:09.151 ALSA: channel 0 volume set 100 => 65536
2011-03-28 11:00:09.151 ALSA: channel 1 volume set 100 => 65536
2011-03-28 11:00:09.151 ALSA: get volume channel 0: 100
2011-03-28 11:00:09.151 ALSA: channel 0 volume set 100 => 65536
2011-03-28 11:00:09.151 ALSA: channel 1 volume set 100 => 65536
2011-03-28 11:00:09.151 AO: Audio fragment size: 2048
2011-03-28 11:00:09.151 AO: Audio Stretch Factor: 1
2011-03-28 11:00:09.151 AO: Ending Reconfigure()
2011-03-28 11:00:09.151 AudioPlayer: Enabling Audio
2011-03-28 11:00:09.151 AO: kickoffOutputAudioLoop: pid = 27216
2011-03-28 11:00:09.151 AO: Reconfigure(): No change -> exiting
2011-03-28 11:00:09.152 AO: OutputAudioLoop: Play Event
2011-03-28 11:00:09.206 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video 
Texture'
2011-03-28 11:00:09.242 OSD: Base theme size: 1280x720
2011-03-28 11:00:09.242 OSD: Scaling factors: 0.5625x0.8
2011-03-28 11:00:09.315 OSD: Base theme size: 1280x720
2011-03-28 11:00:09.315 OSD: Scaling factors: 0.5625x0.8
2011-03-28 11:00:09.322 Player(0): Video timing method: USleep with busy 
wait
2011-03-28 11:00:09.323 TV: Changing from None to WatchingPreRecorded
2011-03-28 11:00:09.324 AO: OutputAudioLoop: Play Event
2011-03-28 11:00:09.346 AO: Pause 1
2011-03-28 11:00:09.353 AO: Pause 0
2011-03-28 11:00:09.361 VideoOutput: Created YV12 OSD.
2011-03-28 11:00:09.376 AO: OutputAudioLoop: Play Event
Unknown ResidentProgram GIS

+++++++++++++++++'Plus' key hit here ++++++++++++++++++++++++++

2011-03-28 11:00:44.390 AFD: Initializing audio parms from audio track #2
2011-03-28 11:00:44.390 AFD: Audio format changed
                         from id( MP2)  48000Hz  2ch 16bps     to id( 
MP3)      0Hz  0ch 16bps
2011-03-28 11:00:44.390 AudioPlayer: Disabling Audio, params(2,0,0)
2011-03-28 11:00:44.390 AO: Killing AudioOutputDSP
2011-03-28 11:00:44.392 AFD: Audio is disabled - trying to restart it
2011-03-28 11:00:44.392 AFD: Trying to reselect audio track
2011-03-28 11:00:44.392 AFD: Selected track 2: English MP0 ?ch (A/V 
Stream #2)
2011-03-28 11:00:44.392 AFD: Audio is disabled - trying to restart it
2011-03-28 11:00:44.392 AFD: Trying to reselect audio track
2011-03-28 11:00:44.392 AFD: Selected track 2: English MP0 ?ch (A/V 
Stream #2)
2011-03-28 11:00:44.392 AFD: Audio is disabled - trying to restart it
2011-03-28 11:00:44.392 AFD: Trying to reselect audio track
2011-03-28 11:00:44.392 AFD: Selected track 2: English MP0 ?ch (A/V 
Stream #2)


++++++++++repeated many times ++++++++++++++++++


2011-03-28 11:00:44.406 AFD: Audio is disabled - trying to restart it
2011-03-28 11:00:44.406 AFD: Trying to reselect audio track
2011-03-28 11:00:44.406 AFD: Selected track 2: English MP0 ?ch (A/V 
Stream #2)
2011-03-28 11:00:44.406 AO: OutputAudioLoop: Stop Event
2011-03-28 11:00:44.406 AO: kickoffOutputAudioLoop exiting
2011-03-28 11:00:44.414 AFD: Audio is disabled - trying to restart it
2011-03-28 11:00:44.414 AFD: Trying to reselect audio track
2011-03-28 11:00:44.414 AFD: Selected track 2: English MP0 ?ch (A/V 
Stream #2)
pure virtual method called
terminate called without an active exception
Aborted (core dumped)
[John at localhost ~]$


More information about the mythtv-users mailing list