Comments (3)
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:
I don’t know why my MPC-HC isn’t picking up the font. This seems like an MPC-HC bug.from libass.
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.
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)
- \ko fails to remove outline from shadow HOT 3
- Rendering: performance issue while rendering running rainbow animated subtitles HOT 4
- Rendering: Wrong font used for mpv OSD on Fedora 39+ HOT 2
- Multiple \pos tags in one line, any way to use them? HOT 2
- Inline fallback fonts should be sized to main font’s EM height, not line height
- How to blend ASS_Image to a rgba bitmap HOT 5
- Rendering: natural line break punctuation position in RTL languages HOT 2
- Consider adding SHSTK support HOT 4
- [DirectWrite] Does not select the right font when 2 fonts have similar attributes HOT 4
- API to discard older events from memory HOT 2
- Rendering: Different case for a non-ASCII character doesn't find the font
- Rendering: Difference in font size with Roboto Medium in VSFilter and libass HOT 3
- checkasm struggles with PIC on (64-bit) Haiku HOT 13
- Separate muxed/memory fonts from system fonts
- build: Windows 10 + msys2 (with winiconv): passing argument 2 of 'iconv' from incompatible pointer type HOT 2
- warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argumentbuild: HOT 3
- Rendering: Incorrect font variant being selected HOT 13
- Overhaul fontselect: individual, cached, full-detail queries HOT 6
- Rendering: Start Delay Issue in libass Rendering Karaoke Subtitles HOT 10
- Discuss: -ffast-math and other math optimization flags HOT 8
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 libass.