Reverse Buffer
#1
Hey folks! I've found a few posts and wiki articles about changing the cache size, but I what I haven't seen anyone talk about is how to adjust how much of that cache is for "forward" cache versus "reverse" cache. That is, continuing to store previously played video to facilitate quick skips backwards without invalidating the whole stream and having to re-fetch and start the whole cache over again. I've noticed I can sometimes get away with jumping back 10 seconds without it pausing to re-fetch, but I'd like to increase that if possible. I jump back a lot to go over particular moments again and again, and it's a real pain when it keeps wrecking things.

So is there any way to adjust effectively what point in the cache the player plays from, meaning how much is left even after being "used"? Is it a fixed amount? Or a percentage? If I can increase the entire cache, does any of that go towards a longer "skip back" distance?
Reply
#2
There is an addon that does what you are looking for ( referred to as time shift).
I use Inputstream ffmpeg Direct for time shift, which works remarkably well. Might be a solution for you.
(Latest Kodi v22 nightly (12/13) this feature is broken probably due to ffmpeg7 update. In V21 it works well).

For some readup see: https://forum.kodi.tv/showthread.php?tid=354976


Hope it helps.
Reply
#3
Huh, interesting. I suppose there is a sense in which timeshifting is kinda what I'm looking for.
It would be nice if the player just had a setting for it, but if this does fix my problem that may be good enough.

Thanks!
(If anyone else has any other suggestions of settings or add-ons that also help with this, feel free to reply with those too)
Reply
#4
(2024-12-14, 05:20)psycotica0 Wrote: particular moments again and again
I suppose you could bookmark the spots and then using repeat on the left slide-out. Setting a cache is just an expandable border limit and only uses what is needed at the time. Cache settings are in settings>services>caching
Reply
#5
Right, the going back part isn't the tricky part, it's just that the buffer seems to keep 14 MB (or whatever it's configured to) ahead of the playback, which makes sense. And I can adjust the settings to control how far ahead it fetches. But what I'm saying is that I want to control how far back it retains after it's played it, allowing me to jump back instantaneously by just staying within the buffer.
Reply
#6
That's adjustable in settings (using ffmpeg direct if that's applicable in your case)..
I believe the max setting is 24 hours in the past, I have it set to 10 hours (depending on storage availability, see link that I posted).
Why don't you try it out, you'll find it's all pretty straightforward.
Reply

Logout Mark Read Team Forum Stats Members Help
Reverse Buffer0