Req Scale subtitles to the rectangle of the video rather than the screen
#1
A minor thing, but one which irritates me: if a video is not played full screen, any subtitles are not correspondingly downsized.

For example, suppose we have a 720p/24 video, and the output resolution is set to 1080p/24; and suppose that we change the view mode from "Normal" to "Original Size". The video is now displayed in a 1280x720 window; but the subtitles are still displayed full size and in the same place - typically at the bottom of the screen, below the video window.

It seems to me that the default behaviour should be to downsize the subtitles by the same amount that the video has been downsized, and display them at the same relative position within the video window that they would normally be displayed on the screen.

If the subtitles are in .srt format, you can approximate this behaviour by choosing to display them at "bottom of video" rather than in a "fixed" position, and by reducing the font size; but A: it's clunky to have to keep changing the settings, and B: this approach doesn't work if the subtitles are in an image-based format (e.g. directly remuxed from a DVD).

The current behaviour looks particularly ugly if you choose to play a remuxed DVD video at original size (output at 1080p) and turn subtitles on - text is displayed miles below the picture and at giant size compared to the video.
Reply
#2
I think that is actually a bug that was introduced some time back.

scott s.
.
Reply
#3
(2020-04-08, 18:33)scott967 Wrote: I think that is actually a bug that was introduced some time back

If reclassifying this as a bug-fix rather than a new feature makes it happen faster, I'm all in favour. Cool

In all seriousness, I actually was already wondering if this constitutes a bug, but wasn't quite confident enough to raise it as such.
Reply
#4
(2020-04-08, 19:20)Shasarak Wrote:
(2020-04-08, 18:33)scott967 Wrote: I think that is actually a bug that was introduced some time back

If reclassifying this as a bug-fix rather than a new feature makes it happen faster, I'm all in favour. Cool

In all seriousness, I actually was already wondering if this constitutes a bug, but wasn't quite confident enough to raise it as such. 

Yeah this is a duplicate of https://github.com/xbmc/xbmc/issues/15902
I plan to work and fix this but I haven't got enough kodi time to dedicate to this.
Reply
#5
Another issue with the current scaling is that bitmap subtitles, like PGS, are horizontally stretched or squished depending on the aspect ratio of the display or window. Here's a comparison between 16x9 and 21:9. Textbased subtitles, like SRT, aren't stretched.

Image
Reply
#6
(2020-04-08, 22:19)sialivi Wrote: Another issue with the current scaling is that bitmap subtitles, like PGS, are horizontally stretched or squished depending on the aspect ratio of the display. Here's a comparison between 16x9 and 21:9. Textbased subtitles, like SRT, aren't stretched.

Image

Can you open an issue at https://github.com/xbmc/xbmc/issues ?
I'm interested in collecting any issues regarding subtitles (although this one is not my fault Smile )
Reply
#7
(2020-04-08, 22:26)enen92 Wrote:
(2020-04-08, 22:19)sialivi Wrote:  
Can you open an issue at https://github.com/xbmc/xbmc/issues ?
I'm interested in collecting any issues regarding subtitles (although this one is not my fault Smile )   

Will do tomorrow when I have time to whip up a rather pointless log file for the ticket Wink
Reply
#8
(2020-04-08, 22:26)enen92 Wrote: I'm interested in collecting any issues regarding subtitles

There's this one: https://github.com/xbmc/xbmc/issues/16362
Reply

Logout Mark Read Team Forum Stats Members Help
Scale subtitles to the rectangle of the video rather than the screen0