Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diannaojiang/Bilibili-Playin-Mpv
https://github.com/diannaojiang/Bilibili-Playin-Mpv
Last synced: 41 minutes ago
JSON representation
- Host: GitHub
- URL: https://github.com/diannaojiang/Bilibili-Playin-Mpv
- Owner: diannaojiang
- Created: 2021-12-07T14:06:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-02T07:20:24.000Z (over 1 year ago)
- Last Synced: 2024-11-10T22:42:01.589Z (3 days ago)
- Language: C++
- Size: 37.1 KB
- Stars: 65
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bilibili-Playin-Mpv
[![下载量](https://img.shields.io/github/downloads/diannaojiang/Bilibili-Playin-Mpv/total?label=%E4%B8%8B%E8%BD%BD%E9%87%8F)](https://tooomm.github.io/github-release-stats/?username=diannaojiang&repository=Bilibili-Playin-Mpv)
------------本项目旨在基于[Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved "Bilibili-Evolved")提供在本地播放器MPV中在线播放Bilibili视频的功能。
视频播放地址API随[Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved "Bilibili-Evolved")进行更新,使用Application URL的方式调用本地程序,进行参数转换后唤起mpv播放器进行播放。
------------
## 编译
- 用VS2022编译,其他版本的也应该可以
## 食用指南- 运行前确保系统已安装[Visual C++ 2022 Redistributable (x64)](https://aka.ms/vs/17/release/vc_redist.x64.exe)或[Visual C++ 2022 Redistributable (x86)](https://aka.ms/vs/17/release/vc_redist.x86.exe)
- 下载[最新发行版](https://github.com/diannaojiang/Bilibili-Playin-Mpv/releases "最新发行版")并解压
- 将**playinmpv.exe**放置到MPV安装目录中的**mpv.exe**程序同目录
- 修改**mpv.reg**中的目录信息为你的MPV所在目录
```bash
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\mpv]
"URL Protocol"=""[HKEY_CLASSES_ROOT\mpv\DefaultIcon]
@="你的MPV安装目录\\mpv.exe,1"[HKEY_CLASSES_ROOT\mpv\shell]
[HKEY_CLASSES_ROOT\mpv\shell\open]
@=""[HKEY_CLASSES_ROOT\mpv\shell\open\command]
@="\"你的MPV安装目录\\playinmpv.exe\" \"%1\""```
- 双击运行**mpv.reg**导入注册表
- 在[Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved "Bilibili-Evolved")中使用:**设置-插件-添加插件-在线**添加**MPV 输出支持**
- 在视频页左侧呼出[Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved "Bilibili-Evolved")**-功能-下载视频**
- 请注意使用时**格式**要选用**Dash-h.265或h.264或AV1**
- **输出方式选择MPV**后点击开始屏幕左下方会弹出播放按钮,再次点击后即可呼出本地播放器进行播放## Linux食用指南
- 运行前确保系统已安装**xdg-open**
- 下载[最新发行版](https://github.com/diannaojiang/Bilibili-Playin-Mpv/releases "最新发行版")并解压
- 将压缩包解压后放置于你想将本程序安装到的位置 请确保你拥有所放置目录的权限
- 运行install.sh
- 在[Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved "Bilibili-Evolved")中使用:**设置-插件-添加插件-在线**添加**MPV 输出支持**
- 在视频页左侧呼出[Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved "Bilibili-Evolved")**-功能-下载视频**
- 请注意使用时**格式**要选用**Dash-h.265或h.264或AV1**
- **输出方式选择MPV**后点击开始屏幕左下方会弹出播放按钮,再次点击后即可呼出本地播放器进行播放