stremio-shell icon indicating copy to clipboard operation
stremio-shell copied to clipboard

Increase buffer in memory

Open rijnhard opened this issue 4 years ago • 7 comments

I'm running a raid array with hdds with eco modes to save power, sometimes stremio just gets the running wrong and stutters.

This may not be the cause but the effect the same.

rijnhard avatar Mar 10 '21 19:03 rijnhard

Are you using the "No Caching" setting? This is the only way that it won't buffer to disk, otherwise all other caching settings will buffer to disk.

Or are you talking about the video player's own caching? That should not cause issues, MPV does not have a buffer limit at all by default afaik.

jaruba avatar Mar 10 '21 19:03 jaruba

No No, I am suggesting you keep an in-memory buffer/cache ONTOP of the disk cache.

To ensure that slow disks don't cause stutters.

On Wed, 10 Mar 2021 at 21:47, Alexandru Branza [email protected] wrote:

Are you using the "No Caching" setting? This is the only way that it won't buffer to disk, otherwise all other caching settings will buffer to disk.

Or are you talking about the video player's own caching? That should not cause issues, MPV does not have a buffer limit at all by default afaik.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Stremio/stremio-shell/issues/205#issuecomment-795984140, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAXP2AHBJ5ELDLXYTADVY3TC7EETANCNFSM4Y6WWIUQ .

rijnhard avatar Mar 11 '21 08:03 rijnhard

MPV (the built-in video player) keeps it's buffer on top of the disk cache that Stremio uses if u have the cache setting set to anything else except "No Cache". This is the way I understand it at least. The question here is if MPV caches in-memory or not, my theory is that it also caches on disk. (as it pre-buffers the entire video by default)

If you can find the required MPV args to accomplish what u wish to do, then it may be possible in a future release as we are planning to expose an MPV config file to users.

jaruba avatar Mar 11 '21 08:03 jaruba

hehe, I think I asked for the MPV config settings on Twitter.

So MPV does do in-memory buffering, but it has a very low default setting, I run raw MPV for local videos (stremio is not great at local video discovery) and I DID have to tweak the settings in MPV in order to get smooth playback.

On Thu, 11 Mar 2021 at 10:57, Alexandru Branza @.***> wrote:

MPV (the built-in video player) keeps it's buffer on top of the disk cache that Stremio uses if u have the cache setting set to anything else except "No Cache". This is the way I understand it at least. The question here is if MPV caches in-memory or not, my theory is that it also caches on disk. (as it pre-buffers the entire video by default)

If you can find the required MPV args to accomplish what u wish to do, then it may be possible in a future release as we are planning to expose an MPV config file to users.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Stremio/stremio-shell/issues/205#issuecomment-796578517, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAXP2G477VH2LBYCXFGOXTTDCAY3ANCNFSM4Y6WWIUQ .

rijnhard avatar Mar 11 '21 10:03 rijnhard

If u have MPV or VLC installed, then u can also right click the video player in Stremio and select the appropriate option that will launch the video in an external player.

jaruba avatar Mar 11 '21 12:03 jaruba

@jaruba thanks! I'll do that in the meantime

rijnhard avatar Mar 12 '21 18:03 rijnhard

Stremio 4.4.144 flatpak does not seem to allow me to play with external players, and it did work with .70

rijnhard avatar Mar 28 '21 15:03 rijnhard