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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file playwithmpv-0.1.5.tar.gz.

File metadata

  • Download URL: playwithmpv-0.1.5.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for playwithmpv-0.1.5.tar.gz
Algorithm Hash digest
SHA256 0aae80a2bc1c43b8b4d3f8972e0b2d5650223bf6f1be09d110d7082d476b6b53
MD5 de7aac014087add8511bcb9d0923633b
BLAKE2b-256 82b183633b963fbd12f3603155453e9281af2651096e3fd56dcfeb7cc76a079d

See more details on using hashes here.

File details

Details for the file playwithmpv-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: playwithmpv-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for playwithmpv-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ae520e045a3f18ba3582c9d06751e323937a25ab9c4c8697e7690890451fc330
MD5 cfd6d68b9225f4784fcd9a1a0c8bb6a4
BLAKE2b-256 49590e7431264bafcd852ecd4043236b255a0443b359efdf94945300f97b5ad0

See more details on using hashes here.

Supported by

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