GithubHelp home page GithubHelp logo

Comments (2)

hooke007 avatar hooke007 commented on August 20, 2024

恰相反,这是按照比例缩放后的结果。这种视频的比例太极端了,导致按钮去匹配过短的纵向被迫缩的很小
(我从来没想过会有这种应用场景,毕竟常规视频没这么罕见的比例)
我也检视了官方的box和默认布局

#layout=box
# -- <box|slimbox|默认bottombar|topbar> 选择内置的布局方案

他们在这种异常比例下的自动缩放的结果也是很小的按钮。

如果你的主要应用场景全是这类视频:

  • 一种临时的解决方案是阻止缩放,单独设置窗口和全屏的系数。(这里只是拿osc.conf举例,正确的是编辑osc_lazy.conf)
    #scalewindowed=1
    # -- 窗口化时OSC的缩放系数,默认:1
    #scalefullscreen=1
    # -- 全屏时OSC的缩放系数,默认:1
    #scaleforcedwindow=2
    # -- 强制(虚拟)窗口的缩放系数?? 默认:2 --Scale factor of the OSC when rendered on a forced (dummy) window
    #vidscale=yes
    # -- 随视频大小缩放OSC? 默认:yes
  • 另一种是锁定窗口比例(强制加黑边)
    #geometry = 1280x720 # 设定初始位置或尺寸,附带锁定窗口比例的作用。支持多种表示方法(例 50%x50% 即桌面长宽的一半)
    # 使用这项参数将无效化 --autofit --autofit-larger --autofit-smaller --window-scale

from mpv_lazy.

linger040831 avatar linger040831 commented on August 20, 2024

好的谢谢回复,就是无意中发现的问题:x,幸苦老哥了。

from mpv_lazy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.