🔧 this is WIP, configuration will change in the future
a simple tool for playing bilibili video in mpv based on BBDown and danmaku2ass
- play bilibili video in mpv when opening a video page in browser
- danmaku support (with danmaku2ass)
- Dolby Vision support
- mpv
- BBDown
- danmaku2ass
- python3
- tampermonkey
-
Clone this repo and run install.sh, note that you need to have root permission to install
this will install the bmpv.py to /usr/bin/bmpv, adding a .desktop file to /usr/share/applications and add a mime type for
bmpv://
protocolgit clone https://github.com/CrackTC/bmpv.git cd bmpv sudo ./install.sh
-
Add
bmpv.user.js
to tampermonkey manually
-
Run uninstall.sh with root permission
sudo ./uninstall.sh
-
Don't forget to remove
bmpv.user.js
from tampermonkey~
bmpv will search the following locations for configuration file in order:
$XDG_CONFIG_HOME/bmpv/config.json
$HOME/.config/bmpv/config.json
/etc/bmpv/config.json
note that once a configuration file is found, bmpv will not search for other locations
see also danmaku2ass
{
"font": "serif",
"font_size": 26,
"danmaku_opacity": 0.8,
"marquee_duration": 10,
"still_duration": 10,
"size": "2560x1440"
}
MIT