[mythtv-users] frontend hangs on playing a recording (0.24-fixes)

Jordi Castells jorcas33 at gmail.com
Mon Apr 25 08:28:31 UTC 2011


Hi all,

I'm using 0.24-fixes from git server and compile it, so I suppose I have the
last version

>From time to time I have some recordings that I'm not able to watch, and
even worst try to play them hangs the frontend, well to be more exact,
frontend it is not hang, but it take too long to answer, so user feel as it
is hang.

Below the full mythwelcome/mythfrontend log of a failed play recording
2011-04-25 09:46:04.217 TV: Attempting to change from None to
WatchingPreRecorded
2011-04-25 09:46:04.334 [mpeg2video @ 0xb66c1960]ac-tex damaged at 14 25
2011-04-25 09:46:04.335 [mpeg2video @ 0xb66c1960]Warning MVs not available
2011-04-25 09:46:04.480 AFD: Opened codec 0xa5acbb20, id(MPEG2VIDEO)
type(Video)
2011-04-25 09:46:04.480 AFD: codec MP2 has 2 channels
2011-04-25 09:46:04.480 AFD: Opened codec 0xa34b72c0, id(MP2) type(Audio)
2011-04-25 09:46:04.480 AFD: codec MP2 has 2 channels
2011-04-25 09:46:04.480 AFD: Opened codec 0xa5af96a0, id(MP2) type(Audio)
2011-04-25 09:46:04.481 AFD: Opened codec 0xa77fc160, id(DVB_SUBTITLE)
type(Subtitle)
2011-04-25 09:46:04.624 AO: Opening audio device 'default' ch 2(2) sr 48000
sf signed 32 bit reenc 0
2011-04-25 09:46:04.636 ALSA, Error: Setting hardware audio buffer size to
1536
2011-04-25 09:46:04.637 ALSA, Error: Error opening
/proc/asound/card0/pcm0p/sub0/prealloc: Permission denied.
2011-04-25 09:46:04.637 ALSA, Error: Try to manually increase audio buffer
with: echo 1536 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc
2011-04-25 09:46:04.637 ALSA, Error: Unable to sufficiently increase ALSA
hardware buffer size - underruns are likely
ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
2011-04-25 09:46:04.650 ALSA, Error: failed to register mixer device
/dev/mixer: No such file or directory
2011-04-25 09:46:04.650 ALSA, Error: Unable to open audio mixer. Volume
control disabled
2011-04-25 09:46:04.650 AudioPlayer: Enabling Audio
2011-04-25 09:46:04.688 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video
Texture'
2011-04-25 09:49:49.285 AFD Error: av_seek_frame(ic, -1, 91080721433, 0) --
error
2011-04-25 09:49:49.288 OSD: Base theme size: 1280x720
2011-04-25 09:49:49.288 OSD: Scaling factors: 0.5625x0.8
2011-04-25 09:49:49.346 OSD: Base theme size: 1280x720
2011-04-25 09:49:49.346 OSD: Scaling factors: 0.5625x0.8
2011-04-25 09:49:49.350 Player(1): Video timing method: USleep with busy
wait
2011-04-25 09:49:49.350 TV: Changing from None to WatchingPreRecorded
2011-04-25 09:49:49.528 Player(1): Waited 100ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

last message was repeated 112 times!!!

2011-04-25 09:49:54.282 Player(1): Waited 100ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2011-04-25 09:49:54.355 TV: Attempting to change from WatchingPreRecorded to
None

So it takes around 3 minutes to return to the recording list menu (with
'Please wait' message on the screen, that not always appear, even on a
normal proper play recordings)

Next time I try to reproduce the same recording it start 'normally' but when
I try to fastforward it block again with the 'searching' message in the
upper right corner (around 10minutes!!), below the log

2011-04-25 09:51:18.414 TV: Attempting to change from None to
WatchingPreRecorded
2011-04-25 09:51:18.561 [mpeg2video @ 0xb66c1960]ac-tex damaged at 14 25
2011-04-25 09:51:18.561 [mpeg2video @ 0xb66c1960]Warning MVs not available
2011-04-25 09:51:18.662 AFD: Opened codec 0x8c4fcb0, id(MPEG2VIDEO)
type(Video)
2011-04-25 09:51:18.662 AFD: codec MP2 has 2 channels
2011-04-25 09:51:18.663 AFD: Opened codec 0x9dba400, id(MP2) type(Audio)
2011-04-25 09:51:18.663 AFD: codec MP2 has 2 channels
2011-04-25 09:51:18.663 AFD: Opened codec 0x8c58730, id(MP2) type(Audio)
2011-04-25 09:51:18.663 AFD: Opened codec 0x8c58b00, id(DVB_SUBTITLE)
type(Subtitle)
2011-04-25 09:51:18.749 AO: Opening audio device 'default' ch 2(2) sr 48000
sf signed 32 bit reenc 0
2011-04-25 09:51:18.760 ALSA, Error: Setting hardware audio buffer size to
1536
2011-04-25 09:51:18.761 ALSA, Error: Error opening
/proc/asound/card0/pcm0p/sub0/prealloc: Permission denied.
2011-04-25 09:51:18.761 ALSA, Error: Try to manually increase audio buffer
with: echo 1536 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc
2011-04-25 09:51:18.761 ALSA, Error: Unable to sufficiently increase ALSA
hardware buffer size - underruns are likely
ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
2011-04-25 09:51:18.773 ALSA, Error: failed to register mixer device
/dev/mixer: No such file or directory
2011-04-25 09:51:18.773 ALSA, Error: Unable to open audio mixer. Volume
control disabled
2011-04-25 09:51:18.774 AudioPlayer: Enabling Audio
2011-04-25 09:51:18.791 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video
Texture'
2011-04-25 09:51:18.823 OSD: Base theme size: 1280x720
2011-04-25 09:51:18.823 OSD: Scaling factors: 0.5625x0.8
2011-04-25 09:51:18.828 [mpeg2video @ 0xb66c1960]ac-tex damaged at 14 25
2011-04-25 09:51:18.829 [mpeg2video @ 0xb66c1960]Warning MVs not available
2011-04-25 09:51:18.869 OSD: Base theme size: 1280x720
2011-04-25 09:51:18.869 OSD: Scaling factors: 0.5625x0.8
2011-04-25 09:51:18.873 Player(1): Video timing method: USleep with busy
wait
2011-04-25 09:51:18.874 TV: Changing from None to WatchingPreRecorded
2011-04-25 09:51:18.893 OSD: Base theme size: 1280x720
2011-04-25 09:51:18.893 OSD: Scaling factors: 0.421875x0.6
2011-04-25 09:51:19.131 VideoOutput: Created YV12 OSD.
>> normal recording playing, here I press 'fastforward' button
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::end: Painter not active, aborted
2011-04-25 09:55:39.957 AFD Error: av_seek_frame(ic, -1, 89234681433, 0) --
error
2011-04-25 09:55:39.958 ALSA, Error: WriteAudio: buffer underrun
2011-04-25 09:55:40.075 Player(1), Warning: Waited 100ms for decoder to
unpause

last message repeated 198 times!!!

2011-04-25 09:56:00.024 Player(1), Warning: Waited 100ms for decoder to
unpause
2011-04-25 09:59:23.930 AFD Error: av_seek_frame(ic, -1, 89236721433, 0) --
error
2011-04-25 10:03:07.804 AFD Error: av_seek_frame(ic, -1, 89229721433, 0) --
error
2011-04-25 10:03:07.828 OSD: Base theme size: 1280x720
2011-04-25 10:03:07.828 OSD: Scaling factors: 0.421875x0.6
2011-04-25 10:03:08.104 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.108 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.108 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.108 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.108 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.108 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.108 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.108 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.109 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.109 TV: OSDDialogEvent: result -1 text  action
DIALOG_VIDEOEXIT_KEEPWATCHING_0
2011-04-25 10:03:08.213 Player(1): Waited 100ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAaAaL
2011-04-25 10:03:08.229 Player(1): Waited 100ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAaAaL
2011-04-25 10:03:08.342 Player(1): Waited 100ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAaAaL
2011-04-25 10:03:08.347 Player(1): Waited 100ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAaAaL
2011-04-25 10:03:08.357 Player(1): Waited 100ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAaAaL
2011-04-25 10:03:08.363 Player(1): Waited 100ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAaAaL
2011-04-25 10:03:08.364 TV: Attempting to change from WatchingPreRecorded to
None
2011-04-25 10:03:08.390 TV: Changing from WatchingPreRecorded to None

Any ideas on how to solve this, or at least reduce the time the get a
response

Thanks and regards
Jordi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20110425/715ad9e1/attachment-0001.html 


More information about the mythtv-users mailing list