Closed yejingchen closed 8 years ago
刚刚发现这个问题可能跟 https://github.com/m13253/BiliDan/issues/47 是同一个原因,可是那里提到这只会发生在 2014 年的视频之前,可是我在看2015年的多P视频也会如此
这个问题我已经了解。正如你看到的那样,我已经联系了 MPV 方面进行修复。 我不知道那边有没有修复好,如果修复好的话,升级到最新版 MPV 就能立即起效。
Solution by @Goshin :
I've met this problem few months ago, and I found controlling the buffer size would be helpful.
Just specify the
--cache
,--cache-backbuffer
,--cache-secs
options in the command line for Mpv. It will restrain the buffering of the not playing segments when limited buffer filled in. Refer to https://github.com/Goshin/Yatto/blob/master/src/yatto.py#L144,L145 Official manual: https://mpv.io/manual/stable/Note that the Mpv needs to fetch the video header of every segment to tell or estimate the playback duration, so the short wait in the beginning is necessary.
系统:Arch,发issue时前刚更新 mpv: 0.15.0,官方源
无法播放B站的多P视频,mpv 一直在提示[cache] Cache is not responding - slow/stuck network connection?,但是带宽是占满的,通过nethogs查看的确是mpv这个进程占用着网速,但是mpv仍然提示网速慢。
在我的系统上一直都可以复现:找一个多P的视频(比如叛逆的鲁鲁修)即可。
终端的输出: