Bug #569

Subtitles look too small and change size with video resulution (PS3)

Added by Mao Fig almost 10 years ago. Updated almost 10 years ago.

Status:FixedStart date:06/14/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Subtitles
Target version:3.0
Found in version:2.99.504 for PS3 Platform:

Description

Hi. First of all, thanks for your hard work making this nice player for the PS3. I'm using the PS3 2.99.504.gc3e90.dirty version.

In some video files with 640 x 288 resolutions the subtitles look very small at 100%. After resize them to 300% in the settings, they grow but still look small, but in other video files with bigger resolutions like 720p and above the subtitles look normal at 150%. It’s odd to have to change the subtitle size for every video file and to get near to the TV to read the text.

A quick fix could be to increase the 300% limit for the subtitle size, or increase the amount of grow by step (5%), but a better option could be that the subtitles remain the same size for different resolutions. Is the subtitle size dependent of the video resolution or it works as an independent overlay?

By the way, I think that using percentages as the size unit is difficult to understand because the size is relative to something that is not defined for the user, it could be better to use pixels, which are relative to the resolution setting of the Display.

In the wish list, there are some subtitle features that could be great in the popup menu:

- Option to modify the subtitle size. (I know it is already in the settings, but it could be quicker to change it in the popup menu, at least while the resolution size dependency is fixed).
- Option to modify the vertical position of the subtitles.

The next features are not too important but could be nice to have:

- Possibility to use True Type Fonts with the option to change the font type (some fonts are more comfortable to read).
- Option to turn the subtitles shadow on-off.
- Add an option to put outline to text (on-off) and set outline thickness.
- Option to change the font color.

Associated revisions

Revision bc0cf58e
Added by Andreas Smas almost 10 years ago

Improve subtitle rendering

  • Go back to rendering subtitles with the UI text rendering widgets.
    Looks much better as it does not need to be scaled. Also modifications
    to font scale and position will take effect immediately.
  • Improve text rendering so it can changes font face, color and size during
    a rendered text.
  • Load fonts attached in MKV files into font rendering subsystem.
  • Improve audio and subtitle settings in video playback pop-up menu.
    Reuse same setting model and widgets as the global settings menu.

IssueID #569
IssueID #540

Change included in version 2.99.402

Revision 76142920
Added by Andreas Smas almost 10 years ago

Improve subtitle rendering

  • Fix pixmap compositioning to correctly compute DST alpha.
    It's slow and needs to be fixed, but does the right thing
  • Use pixmap compositing in font rendering (reduce code duplication).
  • Add support for rendering of drop shadow and outline in font rendering.
  • Improve rich text attrib parser. Can now handle <font/>
    <outline/> and <shadow/> tags.
  • Add spill margin to pixmaps. This allows text rendering to spill graphics
    outside of the bounding box. Stuff such as outline and shadows.
  • Detect and resolve collisions of video overlay objects.

IssueID #569
IssueID #540

Change included in version 2.99.404

History

#1 Updated by Andreas Smas almost 10 years ago

  • Target version set to 3.0

#2 Updated by Andreas Smas almost 10 years ago

  • Category set to Subtitles

#3 Updated by Andreas Smas almost 10 years ago

  • Status changed from New to Accepted

#4 Updated by Andreas Smas almost 10 years ago

Mao Fig wrote:

Hi. First of all, thanks for your hard work making this nice player for the PS3. I'm using the PS3 2.99.504.gc3e90.dirty version.

In some video files with 640 x 288 resolutions the subtitles look very small at 100%. After resize them to 300% in the settings, they grow but still look small, but in other video files with bigger resolutions like 720p and above the subtitles look normal at 150%. It’s odd to have to change the subtitle size for every video file and to get near to the TV to read the text.

I agree. I totally failed when I redesigned the subtitle rendering code.

A quick fix could be to increase the 300% limit for the subtitle size, or increase the amount of grow by step (5%), but a better option could be that the subtitles remain the same size for different resolutions. Is the subtitle size dependent of the video resolution or it works as an independent overlay?

Well it is a bit different for different subtitle formats. I will make it better

By the way, I think that using percentages as the size unit is difficult to understand because the size is relative to something that is not defined for the user, it could be better to use pixels, which are relative to the resolution setting of the Display.

Agree

In the wish list, there are some subtitle features that could be great in the popup menu:

- Option to modify the subtitle size. (I know it is already in the settings, but it could be quicker to change it in the popup menu, at least while the resolution size dependency is fixed).

Yeah. I have something in mind that all settings related to video playback should be modifiable from playback and then an option to "save this as default".

- Add an option to put outline to text (on-off) and set outline thickness.

Will look into this. My algo for doing outline only support 1px thick lines.

- Option to change the font color.

#5 Updated by Mao Fig almost 10 years ago

Andreas Öman wrote:

Well it is a bit different for different subtitle formats. I will make it better

I only use *.srt subtitles if that help you in something.

Thanks Andreas for all your work.

#6 Updated by Andreas Smas almost 10 years ago

  • Status changed from Accepted to Fixed

This should be fixed now

Also available in: Atom PDF