Bug #492998 “huge subtitle font size” : Bugs : Moovida

huge subtitle font size

Bug #492998 reported by Gal Buki
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Moovida
Invalid
High
Olivier Tilloy

Bug Description

reproduced on Karmic with Moovida 1.0.9.

When playing a movie (h264 mkv with embedded subtitles in my case) the subtitles are shown in a very big font size and cover the whole screen.

Tags: player visual
Revision history for this message
Peter (maubp) wrote :

Could you attach a screenshot?

Are you using the default Gnome theme with Karmic? Have you changed any font related settings in the OS?

Revision history for this message
Uco (ucomesdag) wrote :

Same problem here on Karmic with Moovida 1.0.9. They play fine in vlc and totem. Also other file types like avi's with a srt file just play fine.

I already removed moovida and did a complete reinstall.

See attachment.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I can reproduce with HD (720p) H264 MKV. See attached screenshot.
However I can't reproduce with another H264 MKV video with embedded subtitles and a lower resolution (704 x 480). Could it be that the resolution influences the size of the subtitles?

Changed in moovida:
importance: Undecided → High
status: New → Confirmed
tags: added: player visual
Revision history for this message
Uco (ucomesdag) wrote :

I confirm the HD (720p) H264 MKV part all my mkv's are encoded H264 and at 720p resolution. I will try to download at an other resoluti on to see if it plays normal.

Revision history for this message
Uco (ucomesdag) wrote :

Until now the 2 mkv's with a lower resolution play fine.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I can confirm that the code wrongly computes the size of the subtitles font based on the video resolution (see elisa-plugins/elisa/plugins/poblesec/player_video.py:707):

    def _compute_subfont_size(self):
         # defaults to font_size used in previous version of the player
         font_size = 14
         factor = float(self.config.get('subtitle_font_size_factor', '0'))
         if factor and self._video_size:
             font_size = self._video_size[1] * factor
         return font_size

Revision history for this message
Olivier Tilloy (osomon) wrote :

The patch in the branch linked seems to do the trick, needs some more testing, especially on a large TV screen with a high resolution.

Changed in moovida:
assignee: nobody → Olivier Tilloy (osomon)
milestone: none → bug-fixing-day
status: Confirmed → In Progress
Revision history for this message
Olivier Tilloy (osomon) wrote :

I did some testing on windows and setting the subtitle font size behaves differently (than on linux).
I strongly suspect the changes in the textoverlay element (use pango-cairo instead of pango-ft2), introduced in gst-plugins-base 0.10.25 (see http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=7608c31516464783fe4b2194775960cfe2bc2cd0) to be the cause.

Revision history for this message
dino99 (9d9) wrote :

The latest free moovida 1.09 does not get any maintenance since a while. Now moovidadb.com is supporting Linux and support can be found at : http://www.fluendo.com/faq/

Changed in moovida:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Loading subscribers...

Remote bug watches

Bug watches keep track of this bug in other bug trackers.