MPV.NET安装和添加脚本
MPV跨平台播放器:该播放器基于流行的mpv媒体播放器。mpv.net 设计为与 mpv 兼容,几乎所有 mpv 功能都可用,这意味着官方mpv 手册适用于 mpv.net,差异记录在mpv.net 手册中。
主要差异是mpv.net为MPV添加了现代化GUI,独有功能:
- mpv兼容性非常高,几乎所有mpv功能都可以使用
- 具有可定制颜色主题的现代图形用户界面
- 可自定义的上下文菜单
- 可搜索的配置编辑器
- 可搜索输入(快捷键)编辑器
- 全局键盘快捷键
- .NET 语言(C#、VB.NET 和 F#)的扩展 API
- 可以从文件资源管理器中将文件加入队列
文章相关文件:
java
https://wwtf.lanzoul.com/b00l1aille 密码:hw8z
目录
[二、.Conf 配置](#二、.Conf 配置)
一、安装MPV.NET
下载本地包
GitHub - mpvnet-player/mpv.net: 🎞 mpv.net is a media player for Windows with a modern GUI.
解压至英文地址盘
二、.Conf 配置
1.配置生成
c
点击mpvnet.exe,空白处右键-设置-编辑mpv.conf和input.conf
MPV.NET脚本地址:F:\MPV\portable_config\

2.MPV关联媒体文件

三、脚本使用
1.添加脚本uosc
GitHub - tomasklaen/uosc: Feature-rich minimalist proximity-based UI for MPV player.

手动安装:
python
https://wwtf.lanzoul.com/b00l1aille 密码:hw8z
1.1 下载uosc.zip,将uosc文件夹里的fonts和scripts文件夹解压到F:\MPV\portable_config即可
1.2 将uosc.conf文件放到F:\MPV\portable_config\script-opts
1.3 其他具体配置自行设置
2.添加脚本danmaku**:**加载弹弹play弹幕(Bilibili)
GitHub - dyphire/uosc_danmaku: 在MPV播放器中加载弹弹play弹幕,基于 uosc UI框架和弹弹play API的mpv弹幕扩展插件
1.1 下载uosc_danmaku.zip,将uosc_danmaku解压到F:\MPV\portable_config\scripts即可

1.2 按脚本danmaku配置要求,在uosc.conf配置添加danmaku弹幕搜索按钮和弹幕开关
也可直接下载我改好的
在F:\MPV\portable_config\script-opts\uosc.conf 查找
python
controls=menu,gap,subtitles,<has_many_audio>audio,<has_many_video>video,<has_many_edition>editions,<stream>stream-quality,gap,space,speed,space,shuffle,loop-playlist,loop-file,gap,prev,items,next,gap,fullscreen
替换为:
python
controls=menu,gap,subtitles,<has_many_audio>audio,<has_many_video>video,<has_many_edition>editions,<stream>stream-quality,button:danmaku,cycle:toggle_on:show_danmaku@uosc_danmaku:on=toggle_on/off=toggle_off?弹幕开关,gap,space,speed,space,shuffle,loop-playlist,loop-file,gap,prev,items,next,gap,fullscreen
原文:

1.3 修改脚本danmaku快捷键为"Ctrl+j"
脚本danmaku快捷键为:弹幕搜索功能 "Ctrl+d",弹幕开关功能 "j"
但是MPV.NET :"Ctrl+d"为音频延迟±0.1s,相互冲突
F:\MPV\portable_config\input.conf文件添加即可:
python
Ctrl+j script-message open_search_danmaku_menu
j script-message show_danmaku_keyboard
总结
1.新打开加载有延迟,需要等待0~20s才可使用快捷键
2.一些最新的视频和电影可能会没有弹幕,下载本地弹幕XML格式直接快捷键 "j"加载就行

3.不能中文输入......复制粘贴可以。可能没配置好,知道的留言

4.一般用来看番用的,一般视频的弹幕支持也不是很好,用MPV在线播放(MPV-Play-BiliBili-Comments)会更好的

5.其他弹幕脚本看这篇文章吧:https://github.com/dyphire/mpv-config/discussions/105?sort=new
6.MPV使用很麻烦,开箱用也有点繁琐,不同配置不同地址,还需要去找命令行....嗯嗯
不能一键开箱用...但是MPV杜比视界不会偏色和占用会小点,不过potplayer最新版也支持杜比视界了...
- 想要最全的MPV弹幕器,这个KikoPlay会好点