Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.17 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.17 KB

bdanmaku

mpv plugin to correctly display Bilibili danmaku. Powered by biliass.

Installation

First, install biliass. Then, see mpv documentation for how to run the script in mpv.

Usage

First, use yt-dlp as the youtube-dl executable in mpv by setting the ytdl_path option. Then, watch Bilibili video by running a command like this:

mpv https://www.bilibili.com/video/BV1Sm4y1N78J

Configuration

You can configure the plugin by setting the script-opts option in mpv. Set the biliass executable by setting the biliass_executable option like this:

mpv --script-opts=biliass_executable=/path/to/biliass https://www.bilibili.com/video/BV1Sm4y1N78J

You can also set the biliass_options option to pass additional options to biliass. For example, if you want to make the opacity of danmaku to 0.1, you can do this:

mpv --script-opts=biliass_options=-a\ 0.1 https://www.bilibili.com/video/BV1Sm4y1N78J