Comments (6)
I have a similar problem but I have to say that I use the English branch
from mpv-config.
I have a similar problem but I have to say that I use the English branch
Because that script need luasocket
, but shinchiro's build don't have it.Download mpv from https://github.com/dyphire/mpv-winbuild/releases
from mpv-config.
识别不了 Get-FileHash
可能是powershell版本低于5,但是也不应该啊,powershell4是win8.1时代的东西了,win10内置的就是5了,执行下powershell $PSVersionTable.PSVersion
检查版本
from mpv-config.
第一个问题:
这里提示Get-Hash不能识别;
识别不了
Get-FileHash
可能是powershell版本低于5,但是也不应该啊,powershell4是win8.1时代的东西了,win10内置的就是5了,执行下powershell $PSVersionTable.PSVersion
检查版本
问题出在这里:
mpv-config/scripts/history-bookmark.lua
Line 152 in 48bce8e
history-bookmark.lua 代码中使用了 utils.join_path 来获取绝对路径,而 utils.join_path 无法正确处理和组合类似./
和../
这样的相对路径,它能接受的相对路径形式是mpv test.mkv
和mpv subdir\test.mkv
。
仅针对.\
的简单修复方式,..\
不可能得到修复,应该也没人在播放器中这么用:
path = utils.join_path(mp.get_property('working-directory'), path:gusb('^%.[\\/]',''))
当系统路径中的lua5.4优先使用,会出现调用错误;如果把系统中scoop安装的lua5.4 uninstall,问题不复现,这个要怎么设置mpv调用自己目录下的lua
依赖问题自行解决,这是 mpv 的问题,和此配置无关
from mpv-config.
normalize-path可以解决,但这个命令是近几个月才引入的,旧版本用不了
local utils = require('mp.utils')
print(mp.command_native({'normalize-path', utils.join_path('D:\\dir', '..\\a.mp4')}))
print(mp.command_native({'normalize-path', utils.join_path('D:\\', '.\\a.mp4')}))
甚至可以不用手动拼working-directory mp.command_native({'normalize-path', '.\\a.mp4'})
会自动把工作目录拼上
from mpv-config.
在提交 d3e1942 中为较新的 mpv 使用 normalize-path 命令处理路径
from mpv-config.
Related Issues (20)
- can you please update English branch in your free time?🙏 HOT 5
- 请问 mpv_config-2024.04.06 在播放 WebDAV 中的视频时,会导致win的右键菜单和文件管理器出现异常吗? HOT 4
- svp4根本不起作用 HOT 2
- 关于优化配置 HOT 1
- 请问左上角的1 -- continue? 13 [EN/IG]是什么意思啊,是哪个脚本和插件在生效呢? HOT 2
- 拼音搜索(支持首字母) 字幕下载 这两个功能硬是没找到在哪里 HOT 1
- 打开视频后 mpv 黑屏闪退 HOT 2
- how to remember window-maximized without changing video graphics for Movie? HOT 5
- [English Branch] uosc.conf error HOT 1
- [eng branch] uosc2 error HOT 3
- 求助,书签,最小化播放 HOT 2
- 预设下混滤镜dynaudnorm导致背景音量忽高忽低 HOT 7
- Can we add frame padding function in the later stage of mpv config? HOT 1
- 有没有只做简单播放器的配置 HOT 5
- dynamic-crop导致列表播放时,下一文件窗口初始位置不正常 HOT 2
- 可不可以增加个选项,默认播放不置顶?? HOT 2
- 预设配置组nnedi3,导致aspect ratio不正确 HOT 4
- how to reload network stream? HOT 1
- file_brower访问SMB相关问题 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpv-config.