Skip to content

videoanywhere/playwithmpv

Repository files navigation

PlayWithMpv

A server to support playing videos with mpv. Currently this project mainly supports for bilibili.com based on Tampermonkey-script Bilibili-Evolved (version 2.1.3)

img

You can also read the playwithmpv文档 in the ReadtheDocs.

Preparation

  1. Install MPV or MPV-lazy (If you're newer, strongly recommend MPV-lazy.)
  2. Install Tampermonkey-scrip Bilibili-Evolved (version 2.1.3)
  3. Install Python3 (>=3.8)

Installation

Just run pip install playwithmpv --user

Usage

  1. open the terminal, run playwithmpv to start the server.
  2. On Bilibili-Evolved:
    • 打开 下载视频
    • 格式选 flv (如若不可用,先选其他格式,再选回来)
    • 输出方式选 MPV播放
    • 若mpv 命令路径已加入环境变量, 默认设置就好,不用更改
  3. Click 开始 and enjoy.

img

Autostart

  • Linux: copy the script to ~/.config/autostart
  • MacOs: method
  • Windows: method

BTW

If you are interest in watching bangumi with MPV, could see:

Why use MPV? BTW, I think MPV is a so strong and free tool that can be easily for stream vidoes, user shaders and movement enhacement etc. The last one using SVP4 as movement enhacement, if you config SVP as the article said and make it work. Congratulation, a new world is there.Wooss.

About

A server to support playing videos with mpv.

Resources

License

Stars

Watchers

Forks

Packages

No packages published