v19 IPTV Simple now supports local Timeshift for live streams (experimental)
#46
(2020-06-04, 20:19)phunkyfish Wrote: It's now possible to use timeshift with live streams from IPTV Simple from version v5.2.0. It is provided via a new feature in inputstream.ffmpegdirect. It will enable pause, seek back and forward etc.

Notes:
  • By default the buffer size will be limited to 1 hour, this limit can be set to a limit from 15 mins to 24 hours. 
  • A good heuristic for video size is 130MB per minute of 1080p video and 375MB per minute of 4K video (h264).
  • If you pause a stream the buffer will grow indefinitely. It will not be reduced unless you seek or play from the pause point. 

You need to enable the timeshift feature in the addon settings. Once enabled it will only work with http streams automatically. If you would like to to try it with other stream types you can add the following KODIPROP's to each M3U entry you would like to try it on:

Code:

#KODIPROP:inputstream=inputstream.ffmpegdirect
#KODIPROP:inputstream.ffmpegdirect.stream_mode=timeshift
#KODIPROP:inputstream.ffmpegdirect.is_realtime_stream=true

For any TS stream an additional property should be added to every M3U entry using timeshift. This will speed up initial load time:

Code:
#KODIPROP:mimetype=video/mp2t

The feature us very much experimental, so expect issues Wink If you find it works well with other stream types let me know and I can add them to the settings.

Enjoy,

phunkyfish

Adding these settings in my M3U file solved my problems. 
Just wondering is there is a list somewhere of all supported KODIPROP's ?
Reply
#47
(2024-04-29, 21:04)sereeds Wrote: Adding these settings in my M3U file solved my problems. 
Just wondering is there is a list somewhere of all supported KODIPROP's ?

For ffmpegdirect they are all in the README: https://github.com/xbmc/inputstream.ffmpegdirect
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply

Logout Mark Read Team Forum Stats Members Help
IPTV Simple now supports local Timeshift for live streams (experimental)0