You are not logged in.

#1 2014-06-03 12:22:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

mpv cache size issue.

I update any VCS packages I use about once a month. After my June update mpv (mpv-git 0.38211.af25e0a-1) stopped playing radio streams - or so I thought.
Probably because of https://github.com/mpv-player/mpv/commi … c11e258671 my radio-playing script broke. I finally figured out it was because of cache fill, when it started playing a minute after I launched it. I fixed it by disabling the cache - the file is not seekable anyway. Setting cache to e.g. 64 KB, instead of the now-default 25000 KiB works too.

If you're using a current build of mpv-git, can you please try

mpv --no-config --cache=no  http://xstream1.somafm.com:8880

and

mpv --no-config  http://xstream1.somafm.com:8880

and see (hear) if there's any difference? You can try some different radio streams too. SomaFM's Underground Eighties has also another url they advertise as firewall-friendly: http://ice.somafm.com/u80s (in case you have problems with http://voxsc1.somafm.com:8880 ). Both streams are 128k mp3.

mpv 0.3.10-1 from the repos sets eh cache to 320 KiB but it's from before the change, as the man page still mentions --audiofile-cache.


I've never bothered to read mpv (or mplayer for that matter) man page. I wasn't even reading the console output as it was passed through awk (my radio-playing script). Disabling cache seems like the right solution, but I'd like to hear some other opinions and ideas before I put this in the wiki.
This thread will also make the issue a bit move visible for anyone who was left scratching their head after mpv update, like I was.

Offline

Board footer

Powered by FluxBB