b2m 0.18.2

Play bilibili or other videos with mpv
Documentation

mpv-bilibili

mpv自带 youtube-dl 解析,使用体验好很多

使用 mpv 播放 bilibili (以及 youtube, iqiqyi)视频
you-get 本身支持调用播放器播放,但不完善

安装(使用 cargo)

cargo install --git https://github.com/snylonue/b2m.git
b2m -h

或者 Python 版(不再维护)

用法

mpv-bilibili 0.17.0
Play bilibili video with mpv

USAGE:
    b2m [FLAGS] [OPTIONS] <url>

FLAGS:
    -c, --check      Check if all dependencies are installed
    -h, --help       Prints help information
    -i, --info       Print information only
    -j, --json       Print information with json
        --an         Play without audio output
        --vn         Play without video output
    -V, --version    Prints version information

OPTIONS:
    -p, --proxy <proxy>    Set proxy address [default: 127.0.0.1:1080]

ARGS:
    <url>    Video url

依赖

思路: Linux下用mpv在B站看番(二):you-get