mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
26.76k stars 2.84k forks source link

Make sub-back-color follow text precisely #14194

Closed KonoVitoDa closed 1 month ago

KonoVitoDa commented 1 month ago

Expected behavior of the wanted feature

I'd like that MPV's sub-back-color looked like MPC-HC's opaque box, where the text of a shorter line is precisely covered by the back color, without the need of the box being a perfect rectangle: Screenshot (188)

On MPV on the other hand, it currently looks like this: Bakemonogatari 13 - Tsubasa Cat, Part 3 mkv_snapshot_20 13 921 【MPV】【LINES】 (MTBB (Honorifics))

The sub-back-color feature is important to me because I'm visually impaired and use it to improve subtitles' readability, but the way it looks like on MPV is not the ideal I suppose. Btw, I don't want the current behavior to be completely withdrawn, just that an option to make this behavior customizable existed (sub-back-precise=yes maybe? I can't think of a better name at the moment).

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

hooke007 commented 1 month ago

dup https://github.com/mpv-player/mpv/issues/10464