Stuttering playback when playing audio stream using PAPlayer
#1
Hi,

Over the last couple of days I've been trying to work out what's causing Kodi to stutter when playing this audio stream in an audio plugin. I'm experiencing breaks in the audio every 10-20 seconds, which last between 0.2 and 4 seconds.
http://stream.scahw.com.au/live/buddha_3...ylist.m3u8

In the end I've traced the problem to PAPlayer, since when overriding the default audio player to VideoPlayer in advancedsettings.xml the playback is smooth and reliable*.

Here are the logs from starting PAPlayer and VideoPlayer respectively:

Code:
17:04:39.153 T:6032   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
17:04:39.153 T:6032   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
17:04:39.153 T:6032   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
17:04:39.154 T:6032   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
17:04:39.155 T:6032   DEBUG: Radio UECP (RDS) Processor - new CDVDRadioRDSData::CDVDRadioRDSData
17:04:39.155 T:6032  NOTICE: VideoPlayer: Opening: http://stream.scahw.com.au/live/buddha_32.stream/playlist.m3u8
17:04:39.155 T:6032 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:04:39.214 T:6032   DEBUG: CCurlFile::GetMimeType - http://stream.scahw.com.au/live/buddha_32.stream/playlist.m3u8 -> application/vnd.apple.mpegurl
...

Code:
17:05:17.981 T:6032   DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (PAPlayer)
17:05:17.982 T:6032   DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
17:05:17.982 T:6032   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
17:05:17.982 T:6032   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: VideoPlayer
17:05:17.982 T:6032   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
17:05:18.027 T:6032   DEBUG: CCurlFile::GetMimeType - http://stream.scahw.com.au/live/buddha_32.stream/playlist.m3u8 -> application/vnd.apple.mpegurl
...

I've tried the stream on multiple computers, operating systems and network connections, using Kodi 16 and 17, and the stuttering is always present, varying only in severity from day to day.

There are several other threads here that mention similar playback issues with PAPlayer. What is it about this stream that might be causing the problem?

Cheers,
Jon


* Choosing VideoPlayer from the Play With context menu still uses PAPlayer for some reason. Kodi uses PAPlayer automatically when setInfo("music", info_dict) is called on the xbmcgui.ListItem instance. Omitting this, or playing the stream externally using a .strm file results in VideoPlayer being used instead.
Reply

Logout Mark Read Team Forum Stats Members Help
Stuttering playback when playing audio stream using PAPlayer0