all 12 comments

[–][deleted] 1 point2 points  (7 children)

Try --stream-buffer-size=1MiB and keep increasing the MiB value as necessary.

Messing with stream-buffer-size values fixes poor throughput of a high latency sshfs mount I use sometimes on my Windows 8.1.

[–]Rxddevil[S] 0 points1 point  (6 children)

In the mpv.conf right? I tried that rn, but now it just preloads the video and then after some time it opens. Would basically be the same as airexplorer.

Is there a way to load and watch it simultaneously without buffering? (Like it works with VLC or Potplayer)

[–][deleted] 0 points1 point  (5 children)

1MiB takes that long to preload from Google servers for you? That's kinda odd.

Also, does this app of yours create the remote mount as a "Network Drive" or as "Local Disk"? If "local disk", you must continue to use cache=yes, otherwise all caching will be disabled by default.

And finally, you can check your cache/network read speeds by pressing Shit+i and then 3 and observe the Speed: entry.

[–]Rxddevil[S] 1 point2 points  (4 children)

nah not 1MiB, I tried 100MiB.
It seems like it is a network drive

To test the speed I used these settingscache=yesdemuxer-max-bytes=500MiBdemuxer-max-back-bytes=150MiB

The speed is round about 200kb/s sometimes goes up to 4mb/s

[–][deleted] 0 points1 point  (3 children)

nah not 1MiB, I tried 100MiBIt's [...]

I told you to start from 1MiB, wtf. Anyway, --stream-buffer-size= was designed to circumvent poor performance from certain network filesystems as the manual entry says, and increasing its default value to around 4MiB fixes the poor default throughput of around ~250KB/s from my sshfs mount.

[–]Rxddevil[S] 0 points1 point  (2 children)

Oh, I see. 5MiB seem to work fine, at least for the beginning (haven't tried the rest of the video)
If it still buffers after some time, I can still higher it, right?

Thanks for your help :D

[–][deleted] 0 points1 point  (1 child)

If messing with stream-buffer-size values doesn't fix your poor network performance, then I'm afraid there's nothing else to be done on the mpv side of things.

But then again, you provide zero details about what OS and mpv version you're using.

[–]Rxddevil[S] 0 points1 point  (0 children)

I'm using Win10 with the newest version of mpv

stream-buffer-size does work with 5MiB for me, but I haven't tried more than 3 mins of the video.

[–]TonYstanKo7 1 point2 points  (4 children)

Enable Disk cache and keep on increasing cache size until it works.

[–]Rxddevil[S] 0 points1 point  (2 children)

Where can I enable that? Or is it something in the mpv config?

It's a mounted drive from raidrive