[mythtv-users] Pause when starting to play recording

Jerry Rubinow jerrymr at gmail.com
Wed Jan 29 06:07:36 UTC 2014


I get a long pause when starting to play a recording, frequently 5 or 10
seconds, but sometimes as long as 20 or more.  Using the default logging, I
see a long pause between these two lines:

Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: E CoreContext
audio/audiooutputalsa.cpp:242 (IncPreallocBufferSize) ALSA: Try to manually
increase audio buffer wi$
Jan 29 00:52:32 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
mythpainter_ogl.cpp:62 (ClearCache) Clearing OpenGL painter cache.

12 seconds in this case.  Before investigating further I wanted to ask if
this is a potential culprit, or if it's more likely something else which
isn't being logged currently.  If it is an audio issue, what's my next
step, and if not, any suggestions for what to turn on logging for?

I have barriers off currently on the system drive where the database
resides.  Here's the full log, from play start to stop, if it helps:

Jan 29 00:52:19 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
tv_play.cpp:2198 (HandleStateChange) TV: Attempting to change from None to
WatchingPreRecorded
Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: N CoreContext
audioplayer.cpp:164 (ReinitAudio) AudioPlayer: Enabling Audio
Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 6 channels
Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0xdbb8d80, id(AC3)
type(Audio)
Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 2 channels
Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0x77779a0, id(AC3)
type(Audio)
Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0x577e6a0,
id(MPEG2VIDEO) type(Video)
Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
audio/audiooutputbase.cpp:792 (Reconfigure) AOBase: Opening audio device
'hdmi:CARD=NVidia,DEV=1' ch$
Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: E CoreContext
audio/audiooutputalsa.cpp:783 (SetParameters) ALSA: Requested 500000us got
341333 buffer time
Jan 29 00:52:20 pip mythfrontend.real: mythfrontend[1430]: E CoreContext
audio/audiooutputalsa.cpp:242 (IncPreallocBufferSize) ALSA: Try to manually
increase audio buffer wi$
Jan 29 00:52:32 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
mythpainter_ogl.cpp:62 (ClearCache) Clearing OpenGL painter cache.
Jan 29 00:52:32 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
mythrender_vdpau.cpp:1689 (CreatePresentationSurfaces) VDPAU: Created 2
output surfaces.
Jan 29 00:52:32 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
mythrender_vdpau.cpp:411 (Create) VDPAU: Created VDPAU render device
1888x1062
Jan 29 00:52:33 pip mythfrontend.real: mythfrontend[1430]: N CoreContext
mythplayer.cpp:522 (CheckExtraAudioDecode) Player(14): Forcing decode extra
audio option on (Video m$
Jan 29 00:52:33 pip mythfrontend.real: mythfrontend[1430]: E CoreContext
filtermanager.cpp:243 (LoadFilters) FilterManager: Failed to load filter
'colorspace', no such filte$
Jan 29 00:52:33 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
mythplayer.cpp:1778 (InitAVSync) Player(14): Video timing method: USleep
with busy wait
Jan 29 00:52:33 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
tv_play.cpp:5541 (StartPlayer) TV: Created player.
Jan 29 00:52:33 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
tv_play.cpp:2456 (HandleStateChange) TV: Changing from None to
WatchingPreRecorded
Jan 29 00:52:33 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
tv_play.cpp:2547 (HandleStateChange) TV: Main UI disabled.
Jan 29 00:52:33 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
tv_play.cpp:411 (StartTV) TV: Entering main playback loop.
Jan 29 00:52:33 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
mythrender_vdpau.cpp:597 (CheckOutputSurfaces) VDPAU: Added 2 output
surfaces (total 4, max 4)
Jan 29 00:52:35 pip mythfrontend.real: mythfrontend[1430]: I CoreContext
tv_play.cpp:2198 (HandleStateChange) TV: Attempting to change from
WatchingPreRecorded to None

-Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140129/7edba7b2/attachment.html>


More information about the mythtv-users mailing list