dyphire / mpv-config Goto Github PK
View Code? Open in Web Editor NEW本项目为 windows 下 mpv 播放器的配置文件 (This project is the configuration file of mpv player on Windows)
License: Other
本项目为 windows 下 mpv 播放器的配置文件 (This project is the configuration file of mpv player on Windows)
License: Other
自 dyphire/mpv@e1fc437 版本起,启动时默认窗口尺寸异常。而zhongfly同日编译mpv-player/mpv@2935320 并无此类现象,至今也并未出现窗口尺寸异常问题
我平时有用次字幕来加载ass弹幕,更新了[mpv_config-2023.12.03]后secondary-sub-override=no选项功能失效,启用无法渲染和主字幕使用相同的字幕渲染逻辑,我在你构建的MPV_OWN中查找替换版本测试,从MPV_OWN 2023-11-05 08:41之后的11-06开始的版本都失效了
#17
大佬,试了一晚上,您给我的gif lua截不出来gif。。看了一下,发现他的仓库全是待修的issue。。
webp压缩率是好,可是我分享出去,这个格式过于先进,兼容性太差了,手机上看不到。。。我手机上的app试了个便,都打不开这种animated webp. 我对清晰度没啥要求,就是希望内容能分享出去
所以基于分享和兼容性的方面,可以麻烦您集成一个gif脚本吗
https://i.ibb.co/j6j237M/two-skins.png
如图,请问怎样取消彩色那个,仅保留uosc
autoload.conf 中预设功能:
##指定额外需要用于加载的图片、视频和音频扩展白名单
additional_image_exts=jfif
additional_video_exts=asf,f4v,rm,ts,vob
additional_audio_exts=dsf,spx
实际工作时,当目录中混合有 mp4、mkv、ts 格式的视频,点击mp4、mkv格式的视频打开mpv后,ts格式视频不会被添加到播放列表。
##禁用所有自动加载相关功能,默认:no
disabled=yes
设置以上参数可使 ts 格式视频被自动添加到播放列表。
版本:mpv_config-2024.03.10
默认配置可复现。
I have set
gpu-api=vulkan.
When opening the software root directory, there will be an mpv.20240326-190103-179.log file that cannot be opened.
I want to know what the file contains
HELP
mpv.20240326-190445-212.log
该配的都配置了,该装的也装了,我真的不知道哪里出问题了
从Lazy的讨论那里过来,大佬给出自己库中的脚本链接,并指出在lua文件后面的备注中表明有优化。
这就让我比较纠结,一方面想用大佬改进过的脚本,又担心如果想在脚本的github中提建议,会不小心找错反馈方。能否在改进后的脚本中记录一下改进的内容,让我这样的伸手党更好选择[捂脸]
\portable_config\script-opts\history_bookmark.conf
setting:
enabled=no
After the above settings
history_dir=/:var%APPDATA%/mpv/files/historybookmarks
Still generating record labels
Record for example
D17BC146BA4330DCA42D5E593E5B0D38.mpv.history
1. Error parsing option osdshadow-offset (option not found)
C:/mpv/current/portable_config/mpv.conf:93: setting option osdshadow-offset='0.5' failed.
2.
Error parsing option osdshadow-color (option not found)
C:/mpv/current/portable_config/mpv.conf:94: setting option osdshadow-color='#FF000000' failed.
3. [input] The show-text option must be an integer: skip
[input] Command show-text: argument 2 can't be parsed: option parameter could not be parsed.
[input] Command was defined at C:/mpv/current/portable_config/input.conf:65.
3.
[auto_profiles] Profile '8k-fix' condition: [string "profile 8k-fix condition"]:1: malformed number near '7000orp'
[auto_profiles] Profile 'fps-fix' condition: [string "profile fps-fix condition"]:1: malformed number near '47orp'
[auto_profiles] Profile 'video-sync' condition: [string "profile video-sync condition"]:1: malformed number near '0and'
[auto_profiles] Profile 'rot-fix' condition: [string "profile rot-fix condition"]:1: malformed number near '90orp'
[auto_profiles] Profile 'hdr-2390' condition: [string "profile hdr-2390 condition"]:1: '<eof>' expected near 'andp'
5.
[uosc] script-opts/uosc.conf:181 unknown key 'foreground', ignoring
[uosc] script-opts/uosc.conf:182 unknown key 'foreground_text', ignoring
[uosc] script-opts/uosc.conf:183 unknown key 'background', ignoring
[uosc] script-opts/uosc.conf:184 unknown key 'background_text', ignoring
版本:03-10
我在 mpv.conf
中为 mpv 和 yt-dlp.exe 都设置了本地http代理。
http-proxy=http://127.0.0.1:3256
ytdl-raw-options-append=proxy=http://127.0.0.1:3256
在MPV GUI 界面中通过直接粘贴 pikpak 串流连接来播放视频会直接黑屏。
使用mpv 'https://dl-a10b-0862.mypikpak.com/download/?fid=xxxxxxxxx'
则正常播放。
我需要为某个脚本额外配置本地代理吗?还是说是由bug导致的问题?
Hello, I have been using your MPV config for the last year and it has been the best config I used so far in ternes of the image quality or the features, and I was hoping if you could make the interface in the English language.
Integrate youtube-download.lua with uosc's menus similiar to this script.
https://github.com/christoph-heinrich/mpv-quality-menu
I think it would an awesome feature to have. I hope you consider it!
将 [mpv config-2024.03.10](https://github.com/dyphire/mpv-config/releases/tag/mpv_config-2024.03.10) 中的 mpv 更新到 [mpv-x86_64-20240326-git-b3216b0.7z](https://github.com/dyphire/mpv-winbuild/releases/download/mpv_own-2024-03-26/mpv-x86_64-20240326-git-b3216b0.7z) 之后。
部分 HDR 视频播放的时候异常卡顿。
可复现的视频:Samsung Wonderland Demo.ts
在 mpv config-2024.03.10 中的 mpv 是流畅播放的。
测试了由 mpv-winbuild-cmake 构建的26号和29号的也一样会卡顿
是 mpv 最近对 HDR相关参数作了调整,还是我下载的版本不对呢?我下载的全部是 mpv-x86_64-xxx-git-xxx.7z 版本
Originally posted by @wathper in #65 (comment)
d3d12va-copy在我的系统上使用,会回退到软件解码。当然这是因为我的平台硬件过于陈旧,请问作者d3d12va-copy最低系统要求是什么?方便以后升级硬件。多谢!
[ 8.074][v][vd] Looking at hwdec h264-d3d12va-copy...
[ 8.075][w][ffmpeg] av_log callback called with bad parameters (NULL AVClass).
[ 8.075][w][ffmpeg] This is a bug in one of FFmpeg libraries used.
[ 8.075][v][ffmpeg] Using device 1002:15dd (AMD Radeon(TM) Vega 10 Graphics).
[ 8.150][v][vd] Trying hardware decoding via h264-d3d12va-copy.
[ 8.151][v][vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p
[ 8.151][v][vd] Codec profile: High (0x64)
[ 8.151][v][vd] Requesting pixfmt 'd3d12' from decoder.
[ 8.151][e][ffmpeg/video] h264: D3D12 decoder doesn't support on this device
[ 8.151][e][ffmpeg/video] h264: Failed setup for format d3d12: hwaccel initialisation returned error.
设置了save-position-on-quit=no的前提下,watch_later文件夹依然有记录产生,且会记忆播放位置
每次播放完成后关闭播放器都会产生.mpv.history文件,请问该如何设置才能不生成这个文件?
Ref #33 (comment)
English support has always been on my plan list. But currently, less than 50% of the progress has been completed, and a large number of configuration files need to be translated, resulting in slow progress.
But due to @aicynide malicious slander, this plan will be put on hold indefinitely.
如題 anime4k 啟用了沒有效果
我目前在用您的mpv.net,在mpv.conf设置了一条include = '~~/config/mpvown.conf',在mpv.conf编辑器中有提到这条参数必须位于主配置mpv.conf中的末尾,避免追加配置被覆盖
但是我测试时发现无论include = '~~/config/mpvown.conf'这条参数在mpv.conf首位或末尾,播放器似乎只会加载mpvown.conf里的参数
我是用sub-font设置字幕缺省字体来测试的,无论我在mpv.conf里设置的缺省字体是什么,播放器只会加载mpvown.conf里设置的缺省字体
没找到相关选项
window 10 22H2 19045.3693
mpv 0.37.0
场景:添加中文章节名
想问下大佬,chapter_make_read.lua是如何实现在console里进行中文切换并输入中文章节名的,脚本内容好像并没有体现
user-input-module.lua和user-input.lua也没有改动
I want to cancel playing playback history (recent playback history)
I have modified the following settings but still cannot achieve this function
mpv.conf
log-file="~~/files/mpv.log" # 记录 log
#write-filename-in-watch-later-config # 将文件名写入播放记录缓存文件
save-position-on-quit=no # 退出时记住播放状态。缓存目录默认在设置文件夹中的 "watch_later"
mpv\script-opts
history_bookmark.conf
enabled=no
mpv\script-opts
recentmenu.conf
#path=~~/files/recent.json
Can you give me a little help? thanks
the uosc.lua is looking nice! However, in 4k screen the float control buttons too small. Could you make a version for high resolution monitor?
Thanks!
is there any way to enable scanning of subfolders in this script?
using the example of the fuzzydir.lua script
so that you can set --sub-fonts-dir=** and forget about prescribing paths to the fonts folder
HDR video playback screen too bright
Modifying Settings
vo=gpu-next
gpu-api=vulkan
#profile=Target
profile=HDR-PASS
fullscreen
Other settings default to [this setting can automatically enable NV HDR] [I don't like OS HDR]
Can play HDR videos. But the brightness of the screen seems too bright
The screen has a lot more volume compared to Potplayer+LAV+MadVR HDR, and the color seems to be slightly incorrect
I'll take a few photos and upload them when I get home from work
试了一下自己修改youtube-download.lua
第85行,改成了 youtube_dl_exe = "./youtube-dl.exe --external-downloader ./aria2c.exe --external-downloader-args \"-x 16 -s 16\"",
但是播放视频还是很卡,不确定有没有调用aria2,我已经把aria2放到mpv.net的文件夹里了
之前试过给youtube-dl提速,这样子做是可以的。尝试过多种参数组合,都不能够提升播放视频的流畅度
另外,第35行,我改成了video_format = "av01,av1,vp9",
还是不能够优先使用av1编码,依旧在请求h264的格式
Use Co-pilot for translation
For your three debanding profiles you only change the number of iterations and I had a few suggestions/questions to improve them.
TLDR: The profiles are not as tuned as they should be.
I came across this discussion about the hdeband shaders a while ago and brought it up with @AN3223, who has since made some updates to the shaders. Have you tested the latest versions yet, if so what are your thoughts?
你好,打扰了我又遇到问题了,我使用的是你的预览图脚本,使用该菜单下的加载功能加载原盘后,无法显示预览图,不管是加载文件夹形式的原盘还是ISO都不行, https://github.com/tsl0922/mpv-menu-plugin ,打开dvd是可看到一些相关错误日志,打开BD则没有相关错误提示。若将原盘直接拖拽进mpv则没有这个问题
https://github.com/Natural-Harmonia-Gropius/mpv_config/blob/main/scripts/on.lua
SPACE cycle pause #@click
SPACE no-osd set speed 4; set pause no #@press
SPACE ignore #@release
这个脚本搭配上面的 input.conf 应该能够完全代替 pressaction.lua 了。如果测试下来没有问题的话,这个脚本稳定后我将会弃用 pressaction.lua
https://www.bilibili.com/video/BV1Mx4y137fa/?vd_source=8fcfe20baf14e7b64e350c3d4241af2f
使用脚本Play-With-MPV:https://github.com/LuckyPuppy514/Play-With-MPV
使用的是tampermonkey,目前仅在这一个视频发现声音有问题?。。。
What I just saw was about to download, but suddenly it disappeared?
I can't wait anymore
They outperform ravu, FSRCNNX and krigbilateral in several tests here.
Is it possible to add support of english language?
Thank you
我已经在input.conf重新设定了鼠标单击和双击的动作,但是在播放界面点击时自带的动作也会执行
$api_gh = "https://api.github.com/repos/dyphire/mpv-winbuild-cmake/releases/latest"
这个链接并不存在
version:mpv_config-2024.03.10
Question:The audio track has always been defaulted to Japanese language
set up file mpv.conf
alang=japanese,jpn,jap,ja,jp,english,eng,en
slang=chs,sc,zh-CN,zh-Hans,cht,tc,zh-Hant,zh-HK,zh-TW,chi,zho,zh
Manually modify by oneself
#指定优先使用音轨(使用ISO-639语言代码,优先级按序递减)
alang=zh,chi,chs,sc,zh-hans,en,eng
#指定优先使用字幕轨(使用ISO-639语言代码,优先级按序递减)
slang=zh,chi,chs,sc,zh-hans,en,eng
But when the video is played, it still defaults to Japanese language
But I tested:
Add code to: https://github.com/mpv-player/mpv/releases/tag/v0.37.0 In this version of the file, these two lines of code are functional
当我载入了一些其他脚本的时候。在 mpv 中通过鼠标拖拽切换视频时,会有极高概率触发 bug,导致 uosc 的控件全部失效。或者部分失效。
表现为在播放界面点击 uosc 图标元素后不会执行 uosc 图标元素对应的指令,而是直接触发 mpv 图形界面原本的指令(播放和暂停)。
该 bug 在 mpv 重新启动后将消失,通过鼠标拖拽切换视频后有高概率复现。
额外添加的脚本是: load_plus.lua、input_plus.lua
推测这是脚本之间不兼容引发的,但是在将额外添加的脚本移除后,依旧有较低的概率会触发该bug。
bug 的表现形式有所改变,触发 bug 后 uosc 的控件不会全部失效,而是部分功能异常:
有时无法用鼠标滚轮在变速控件上面改变播放速度、有时是 uosc 的进度条无法点击、有时是无法唤出 dyn_menu.lua 菜单。
我对 mpv config-2024.03.10 的部分预设做了修改,但是涉及 uosc.conf 的部分修改的相当保守、反复检查后没有发现会导致冲突的地方。也尝试过还原所有与 uosc.conf 相关的更改,但是问题没有解决。
我查看过mpv的日志文件,但是没有与之相关的记录。该 bug 触发的概率较低,找不到什么规律,我也不知道从哪里入手解决。
我想请教作者在配置 mpv 脚本的时候有没有遇到过类似的问题,对此类问题有没有什么好的经验和建议?
As the development of the project progresses, it is essential to ensure that the English translations are up to date and accurately reflect the latest changes and updates.
Having the most recent and accurate translations is crucial for improving user experience and ensuring that the project reaches a wider audience. It would be greatly appreciated if you could allocate some time and resources to reviewing and updating the English translation branch.
If there are any specific tasks or resources needed to facilitate this update, please let me know so that I can assist in any way possible. Thank you for your attention to this matter, and I look forward to seeing the updated translations in the near future.
出现的问题:
播放 WebDAV网络驱动器 中的视频并切换剧集后,有概率使win系统出现交互功能异常,表现为:在桌面上单击右键后,右键菜单中的选项丢失。同时在文件管理器中无法唤起右键菜单。(此时mpv播放器的功能是正常的,日志中也没有相关的报错)。
关闭mpv播放器后,win系统功能全部恢复正常。
起初我认为是系统的问题。
但是最近我为了使用svp补帧,将notify_media.lua
以及MPVMediaControl.exe
移除后,发现播放 WebDAV 内容时不会再触发“win系统出现交互功能异常”的问题了。
有可能是“基于 IPC 管道实现的 SMTC 功能”存在什么兼容性的问题吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.