[mythtv-users] subtitles size

faginbagin mythtv at hbuus.com
Sat Aug 27 17:28:29 UTC 2016


On 8/26/2016 1:30 PM, Marius Schrecker wrote:
> Hi,
>
>  After upgrading to 0.28 I have lost my subtitle settings.
>
> Editing osd_subtitle.xml for the current theme makes no difference. I
> also tried changing the zoom level in the playback menu up to about 150%
> with no noticable difference.
>  Most of my subs are muxed from .srt's into matroska files, together
> with the video/audio tracks and Mythtv playback picks them up fine and
> displays them. The only problem is the size, which is too small.
>
> I also had some box shading setings in my osd_subtitle.xml files, which
> are also not being respected.
>
> I'm running mythfrontend with -v gui and get the followimng output when
> operating the onscreen playback menu and selecting the subtitle:
>
> 6-08-26 18:37:06.173113 W  ALSA: Try to manually increase audio buffer
> with: echo 128 | sudo tee /proc/asound/card1/pcm7p/sub0/prealloc
> 2016-08-26 18:37:06.416390 E  ALSA: no playback control PCM found on
> mixer device default
> 2016-08-26 18:37:06.416401 E  ALSA: Unable to open audio mixer. Volume
> control disabled
> 2016-08-26 18:37:07.029918 I  Clearing OpenGL painter cache.
> 2016-08-26 18:37:07.033219 I  Using 1920x1080 50.000 Hz
> 2016-08-26 18:37:07.091901 I  VDPAU: Created 2 output surfaces.
> 2016-08-26 18:37:07.091922 I  VDPAU: Created VDPAU render device 1920x1080
> 2016-08-26 18:37:07.095605 I  MythPainter cache sizes: Hardware 64 MB,
> Software 48 MB
> 2016-08-26 18:37:07.102502 N  Player(0): Forcing decode extra audio
> option on (Video method requires it).
> 2016-08-26 18:37:07.104215 I  XMLParseBase: Loading window osd_message
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:37:07.108702 I  XMLParseBase: Loading window osd_input
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:37:07.111698 I  XMLParseBase: Loading window program_info
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:37:07.145715 I  XMLParseBase: Loading window browse_info
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:37:07.154049 I  XMLParseBase: Loading window osd_status
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:37:07.156922 I  XMLParseBase: Loading window
> osd_program_editor from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:37:07.159730 I  XMLParseBase: Loading window osd_debug
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:37:07.161560 I  XMLParseBase: Loading window osd_debug
> from /usr/share/mythtv/themes/default-wide/osd.xml
> 2016-08-26 18:37:07.182559 E  Player(0): Video sync method can't support
> double framerate (refresh rate too low for 2x deint)
> 2016-08-26 18:37:07.183949 I  Player(0): Video timing method: USleep
> with busy wait
> 2016-08-26 18:37:07.184414 I  TV::StartPlayer(): Created player.
> 2016-08-26 18:37:07.184457 I  TV::HandleStateChange(): Changing from
> None to WatchingVideo
> 2016-08-26 18:37:07.187009 I  TV::HandleStateChange(): Main UI disabled.
> 2016-08-26 18:37:07.187150 I  TV::StartTV(): Entering main playback loop.
> 2016-08-26 18:37:07.188055 I  ScreenSaverDBus: Successfully inhibited
> screensaver via org.freedesktop.ScreenSaver. cookie 1. nom nom
> 2016-08-26 18:37:07.210190 I  VDPAU: Added 2 output surfaces (total 4,
> max 4)
> 2016-08-26 18:37:12.457726 I  XMLParseBase: Loading window MythPopupBox
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:37:12.461936 N  Container '' is missing child 'title' at
> 2016-08-26 18:38:23.034526 I  XMLParseBase: Loading window MythPopupBox
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:38:23.039257 N  Container '' is missing child 'title' at
> 2016-08-26 18:38:44.195159 I  XMLParseBase: Loading window MythPopupBox
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:38:44.199427 N  Container '' is missing child 'title' at
> 2016-08-26 18:39:08.699294 I  XMLParseBase: Loading window MythPopupBox
> from /usr/share/mythtv/themes/MythCenter-wide/osd.xml
> 2016-08-26 18:39:08.703598 N  Container '' is missing child 'title' at
>
> Has something changed in 0.28 or am I missing something?
>
>  BR.
>
> --Marius--

I think it is tied to this ticket:
https://code.mythtv.org/trac/ticket/9294
It looks like the changes went into 0.25, although they depend on 
whether an external library of the appropriate version was installed 
when the mythtv binaries were built.

What version did you upgrade from?

I can tell you that when I play matroska files with muxed in srt 
subtitles in 0.27, that external library IS rendering the subtitles. But 
I've also got some matroska files with external srt files. When I play 
those, mythtv code is doing the rendering. In this case, both 
osd_subtitle.xml and subtitle zooming work as expected. I'm 90% sure if 
you extract the muxed in subtitles into an external .srt file, your 
osd_subtitle.xml file will be used and subtitle zooming will work.

Regards,
Helen


More information about the mythtv-users mailing list