Skip to main content

A server to support playing videos with mpv

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

playwithmpv-0.1.5.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

playwithmpv-0.1.5-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page