Comments (11)
这个问题怎么说呢。。
这确实符合 screenshot window
的预期,但是当前的release版本我没给出(绑定)按键提示(下个版本会修改,参见lite分支的提交)
我不喜欢 screenshot video
的截图结果,你也可以选择重绑定到对应命令。
MPV_lazy/portable_config/input_easy.conf
Lines 125 to 127 in bba8504
from mpv_lazy.
我自己绑个按键吧。这个不适合放在右键菜单。
from mpv_lazy.
很多功能都不适合用菜单触发(例如均衡器),依然选择放在那里的原因是菜单的一个功能是按钮提示
from mpv_lazy.
尝试了一圈没有找到完美的解决方案,当前的提交只是堪用的水平。
from mpv_lazy.
比起直接修改 uosc.lua 脚本,我更推荐使用第三方脚本来实现延时命令。比如此脚本:delay-command.lua
针对这一问题的使用案例:
s screenshot subtitles #menu: 视频 > 截屏 > 同源尺寸-有字幕-无OSD-单帧
S screenshot video #menu: 视频 > 截屏 > 同源尺寸-无字幕-无OSD-单帧
CTRL+s script-message delay-command 0.3 screenshot window #menu: 视频 > 截屏 > 实际尺寸-有字幕-有OSD-单帧
ALT+s subtitles+each-frame #menu: 视频 > 截屏 > 同源尺寸-有字幕-无OSD-逐帧
ALT+S screenshot video+each-frame #menu: 视频 > 截屏 > 同源尺寸-无字幕-无OSD-逐帧
CTRL+S script-message delay-command 0.3 screenshot window+each-frame #menu: 视频 > 截屏 > 实际尺寸-有字幕-有OSD-逐帧
from mpv_lazy.
尝试了一圈
你说的这个也属于我说的废弃方案。一开始我是在input_plus里加新命令然后uosc去绑定。
但是这个条目属于我的默认菜单内容,捆绑一个(非强相关的)外部脚本的命令不理想,相当于强制要安装另外的脚本。(虽然之前我已经做过了这样的反面案例)
另外延迟零点几秒截屏这种需求实在过于奇葩,也是为了uosc才专门搞了这样的命令,放在uosc脚本内成了最终的方案。
edit:
我当前提交的设想是通过uosc的内部函数临时隐藏ui,结果就是我想多了显然没有提供这样的功能,于是注释掉了大部分内容;mpv也没提供临时停用libass的功能。
from mpv_lazy.
这种考虑可以理解。如果没有其他延迟命令需求的话单独为截屏这一个案例引入一个新的脚本确实不太合适
from mpv_lazy.
我把事情想简单了,*_persistency
的存在又破坏了我另一个新的想法(原本打算看看控件栏截屏的可行性)。
我选择只绕过菜单/暂停指示/背景帘幕这三个元素
from mpv_lazy.
我基本满意当前的状态。
@Youxikong 请测试
from mpv_lazy.
简单试了下,截图已经不包含菜单了。
from mpv_lazy.
一个可行的完美途径参考 tomasklaen/uosc@c2b10b6
先不管了,目前的处理够用了
from mpv_lazy.
Related Issues (20)
- Add support for English HOT 5
- 查看图片问题 HOT 4
- 全屏播放时画面闪烁 HOT 1
- 最新版的懒人包放ISO格式的视频必炸 HOT 1
- 快进播放蓝光原盘的MovieObject.bdmv文件时会花屏 HOT 3
- playlistmanager 的一个选项错误 HOT 4
- main.lua(uosc) 少了一行代码导致不可用 HOT 1
- The state of multi-language support
- Player does not remember the last played/opened video/file HOT 2
- 在非常用分辨率视频下雪碧图渲染出错 HOT 2
- 当前版本osc_plus.lua无法正常显示,mpv控制台提示第2476行有错误 HOT 1
- 关于音频重采样的问题 HOT 2
- MPV: superxbr-chroma: from the log: Registering hook pass: unknown user shader HOT 3
- AiUpscale shader not loaded? Log files show it loading, but when watching a video [ i 2] shows no loaded shaders, nor the !DESC given in the glsl file HOT 8
- AiUpscale_Fast_2x_Photo.glsl # option 6 (increase gamma) increases dropped frames dramatically HOT 2
- [k7sfunc] MVT_STD 错误的参数 HOT 2
- [Bug?]音频播放不正确 HOT 4
- 。。。 HOT 2
- 请问如何让mpv记住上次的设置呢 HOT 1
- How to add custom scale for SR_ESRGAN_NV? HOT 2
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_lazy.