Content of m3u8 files is not cached
#1
Hi there,

I have an Emby Server that is capable of transcoding. When transcoding and watching the transcoded stream in a browser everything is perfectly fine.

However I have a RPi3 with Kodi, that is connected via Wifi and one that is connected over the Internet. Both play videos, that are not transcoded perfectly fine. For some videos however, I need transcoding and these videos keep on stuttering.

I tried to enable the Kodi cache in the advancedsettings.xml, cause it seems like a caching problem for me. Caching works fine for videos that are not transcoded. The cache is filled up to the desired value.

When I start a transcoded video the cache is not filled and the videos stutters every now and then because the Wifi speed sometimes drops under the bitrate value (but is a lot over that in average). This means I cannot Emby + transcoding + Kodi.

When Emby is transcoding, it produces lots of .ts files with approx. 1Mbyte and a m3u8 playlist with the content:

Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:1099
#EXTINF:1098.013589,
f61a5378971e2b2456f549f210587023365.ts
#EXTINF:3.003000,
f61a5378971e2b2456f549f210587023366.ts
#EXTINF:3.003000,
f61a5378971e2b2456f549f210587023367.ts
...
Each .ts-file has a size of 1 MByte.

I suppose Kodi only caches the .ts-file that is played at the moment and therefore only uses 1 MByte of Cache.
Is there a workaround for this, so Kodi uses caching for the whole m3u8 playlist? I see the "EXT-X-ALLOW-CACHE:YES" up there but it doesn't seem to work.

Does anyone have an idea where to start debugging? It seems more like a Kodi problem to me (not caching playlists) than an Emby problem...

Thanks for your help!
Reply

Logout Mark Read Team Forum Stats Members Help
Content of m3u8 files is not cached0