Giter Site home page Giter Site logo

Comments (3)

astiob avatar astiob commented on June 21, 2024 1

Your file has anamorphic video that is stored as 1440×1080 pixels but displayed at a 16:9 aspect ratio. This is why it gets stretched for display. This stretching includes the subtitles, and this is expected.

Please check your MPC-BE settings. For comparison, in MPC-HC, there’s a checkbox under Subtitles that mentions “anamorphic video”. This checkbox should always be checked for real subtitle files, and it will give you the same output as you’re seeing in mpv. If there’s no such checkbox, please report this to MPC-BE, because this is a serious issue for subtitled DVD rips.

If you’re authoring the subtitles and must keep the anamorphic video, apply a compensatory ScaleX of 75%.

If you’re trying to play a file created by someone else where undesired stretching occurs, mpv allows you to disable anamorphic correction (similar to the checkbox in MPC-HC): press V (Shift+v). XySubFilter/standalone VSFilter also allows this: filter properties → More → Render Layout Options → Use AR Adjusted Video Size.

In the attached file, XySubFilter and MPC-HC at default settings show the same stretching:

XySubFilter 3.2.0.806 screenshot MPC-HC 2.1.0 screenshot I don’t know why my MPC-HC isn’t picking up the font. This seems like an MPC-HC bug.

from libass.

astiob avatar astiob commented on June 21, 2024

I don’t know why my MPC-HC isn’t picking up the font. This seems like an MPC-HC bug.

I’ve filed clsid2/mpc-hc#2312 for this.

from libass.

TheOneric avatar TheOneric commented on June 21, 2024

If you’re authoring the subtitles and must keep the anamorphic video, apply a compensatory ScaleX of 75%.

If MPC-BE’s ISR supports it you could also set the LayoutResX and LayoutResY headers to the video’s de-squeezed resolution (in this case: 1920×1080). The headers are supported by libass >=0.17.0, current git of Cyberbeing and pinterf xy-VSFilter/XYSubFilter and MPC-HC’s ISR >= 2.0.0.
If MPC-BE’s ISR does not yet support LayoutRes{X,Y} you could try asking them if they want to add support.

(Note: this affects more than just the font stretching shown here, but if you want to avoid/workaround font stretching you presumably will also find its other effects to your liking)

from libass.

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.