[mythtvnz] Long delay when starting playback

Austin Green austin.green at orcon.net.nz
Tue Jun 20 06:07:51 BST 2017


On Tue, 13 Jun 2017 17:18:25 +1200
"Criggie" <criggie at criggie.org.nz> wrote:
> Austin Green wrote:
> > When I hit Play on a selected recording, there is a long delay, usually 10
> > to 20 seconds, before it actually starts to play.  Once it a while it
> > starts after only a second or two.  Any ideas what could be causing that?
> > OS is Trisquel 7 (Ubuntu 14 derivative) with kernel 3.13.  MythTV Version
> > is v0.27-193-g8ee257c.
> 
> I'd guess its waiting for something like audio.
> -- 
> Criggie

I think you may be on to it there, Criggie.  See frontend log extract:

16:55:55 : I CoreContext tv_play.cpp:2201 (HandleStateChange) TV: Attempting to change from None to WatchingPreRecorded
16:55:55 : E CoreContext audio/audiooutputalsa.cpp:172 (GetPCMInfo) ALSA: snd_pcm_info_get_card: Operation not permitted
16:55:55 : N CoreContext audioplayer.cpp:164 (ReinitAudio) AudioPlayer: Enabling Audio
16:55:55 : I CoreContext avformatdecoder.cpp:1898 (ScanStreams) AFD: codec MP2 has 2 channels
16:55:55 : I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0x38723a0, id(MP2) type(Audio)
16:55:55 : I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0xc935900, id(MPEG2VIDEO) type(Video)
16:55:55 : I CoreContext audio/audiooutputbase.cpp:792 (Reconfigure) AOBase: Opening audio device 'default' ch 2(2) sr 48000 sf 32 bit floating point reenc 0
16:56:20 : I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler

There is a 25-second gap in the log after the attempt to open the audio device; the process just seems to be hanging there.

Any ideas on cause, or suggestions to fix?

Cheers,
Austin.



More information about the mythtvnz mailing list