-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Centered subtitles #3008
Comments
I think the main problem is that you need to know the maximum vertical extent over all subtitles in advance, otherwise if you run into one that is too tall, it will fall off the bottom of the screen. There is nothing restricting subtitles to two lines. |
Thought it may happen, in my experience, the standard is two lines maximum. I've actually never seen three lines, though, to my surprise, the BBC guidelines do allow for it. In any case, one could avoid this issue by adjusting the subtitle as needed. My input.conf file has a couple of lines that allow for one to change the position and size:
|
This would have to be implemented in libass. Last time I tried I failed, and I'm not interested in looking at it again. |
@kevmitch This seems like an issue of center-alignment vs bottom-alignment to me, which is something that doesn't inherently require knowledge of subtitles in advanced. (As for what happens if a subtitle gets too big, it would be very doable to just push up the location as far as necessary to keep it on the screen) |
Is there any update that libass would and could support this in the near future? |
Would anyone be interested on adding support for this? Right now subtitles are rendered the way it's displayed on the top of the image (being built from a reference point, to the top, with all lines of dialogues, single or double, being rendered above the reference point), but I believe there's no objection against them looking better on the bottom example (being rendered at the center of the reference point, and distributing one line of dialogue to the top, and one to the bottom, in case of double-line dialogues).
It looks more properly aligned. Rather than imposing double-line metric to single-lines, it recognizes the single-line as a different entity that requires different positioning.
And, yes, I also believe this would, too, look better on the cases in which the aspect ratio would force the user to position the subtitles on top of the picture due to lack of black space.
The text was updated successfully, but these errors were encountered: