Kodi Community Forum
v18 Enabling cache settings causes h265 video playback to abort - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: v18 Enabling cache settings causes h265 video playback to abort (/showthread.php?tid=342703)



Enabling cache settings causes h265 video playback to abort - badbob001 - 2019-04-04

Leia 18.1 on Amazon FireTV Stick 4K (has 1.5GB ram)

With the following cache settings enabled, the playing of h265 video will consistently stop after a few seconds. The behavior doesn't seem to occur for h264 video. With the cache setting disabled, h265 video will playback with no issues.
Quote:    <cache>
        <buffermode>1</buffermode>
        <memorysize>139460608</memorysize>        
        <readfactor>20</readfactor>
        <curlclienttimeout>10</curlclienttimeout>
        <curllowspeedtime>10</curllowspeedtime>
    </cache>

The error seems to be here:
Quote:2019-04-03 17:19:57.326 T:22158  NOTICE: VideoPlayer::OpenFile: smb://192.168.1.240/g/Media/Movies/<foldername>/<filename>
2019-04-03 17:19:57.327 T:22158   DEBUG: OnPlayBackStarted: CApplication::OnPlayBackStarted
2019-04-03 17:19:57.327 T:22210   DEBUG: Thread VideoPlayer start, auto delete: false
2019-04-03 17:19:57.330 T:22210  NOTICE: Creating InputStream
2019-04-03 17:19:57.346 T:22158   DEBUG: CVideoGUIInfo::InitCurrentItem(smb://192.168.1.240/g/Media/Movies/<foldername>/<filename>)
2019-04-03 17:19:57.366 T:22210   DEBUG: CFileCache::Open - opening <g/Media/Movies/<foldername>/<filename>> using cache
2019-04-03 17:19:57.371 T:22210   DEBUG: CSMBFile::Open - opened smb://USERNAME:[email protected]/g/Media/Movies/<foldername>/<filename>, fd=10002
2019-04-03 17:19:57.380 T:22211   DEBUG: Thread FileCache start, auto delete: false
2019-04-03 17:19:57.381 T:22210   DEBUG: ScanForExternalSubtitles: Searching for subtitles...
2019-04-03 17:19:57.386 T:22196   DEBUG: Loading settings for smb://192.168.1.240/g/Media/Movies/<foldername>/<title> (
2019-04-03 17:19:57.434 T:22210   DEBUG: ScanForExternalSubtitles: END (total time: 55 ms)
2019-04-03 17:19:57.435 T:22210  NOTICE: Creating Demuxer
2019-04-03 17:19:57.436 T:22210   DEBUG: Open - probing detected format [matroska,webm]
2019-04-03 17:19:57.443 T:22210   DEBUG: Seek - waiting for position 5640743668.
2019-04-03 17:19:57.453 T:22211    INFO: CFileCache::Process - Source read didn't return any data! Hit eof(?)
2019-04-03 17:19:57.455 T:22211   ERROR: Read - Error( -1, 103, Software caused connection abort )
2019-04-03 17:19:57.456 T:22211   DEBUG: CFileCache::Process - Source read returned a fatal error! Will wait for buffer to empty.
2019-04-03 17:19:57.457 T:22210   DEBUG: Open - avformat_find_stream_info starting
2019-04-03 17:19:57.484 T:22210   DEBUG: Open - av_find_stream_info finished
Debug Log: