<br />On Wednesday, August 21, 2013 15:49 CEST, &quot;Marius Schrecker&quot; &lt;marius.schrecker@lyse.net&gt; wrote:<br />&nbsp;<blockquote><br />On Wednesday, August 21, 2013 14:40 CEST, Jim Stichnoth &lt;stichnot@gmail.com&gt; wrote:<br />&nbsp;<blockquote><div>On Wed, Aug 21, 2013 at 1:15 AM, Marius Schrecker &lt;<a target="_blank" href="mailto:marius.schrecker@lyse.net">marius.schrecker@lyse.net</a>&gt; wrote:<div><div><blockquote>Hi again,<br /><br />&nbsp;&nbsp;As I mentioned in another thread I have just upgraded my tv from a 720p to a 1080p modell. One of the main improvements is in smooth playback as I can now properly match frame- and refreshrates. Watched a 1080@24p film yesterday and playback was supersmooth...UNTIL I loaded and started to render .srt subtitles. Every time a new line of text was rendered, the video would freeze for a moment. It seemed like the effect was worse, the more text was displayed.<br /><br />System is dual core opteron @3.4GHz, 6GB ram, 
 Nvidia GeForce GT 210 /vdpau. MythTV 0.26 FE/BE<br /><br />This looks a bit similar to <a target="_blank" href="http://www.mythtvtalk.com/sub
 titles-cause-stuttering-video-audio-buffer-underruns-mythfrontend-0-24-a-14113/">this</a> thread, as I did mess about with the subtitle settings so I could see them on my older/smaller TV. I could check zoom settings, and live with smaller text now, but my CPU should be able to handle it as it is. The question tha t springs to mind is whether this might have something to do with frequency governors, and whether a more aggressive governor might help.<br /><br />Has anyone experienced similar and been able to solve it?<br />&nbsp;</blockquote><div>What theme are you using, and what does its osd_subtitle.xml look like? &nbsp;There are certain effects that can be expensive to render, such as outlinesize, and if it takes too long to render the subtitle (or any other OSD component), you can get a dropped frame.</div><div>&nbsp;</div><div>Jim</div></div></div></div></blockquote><br />Thanks Jim,<br /><br />&nbsp;I&#39;ll check and post the xml file this evening.<br /><br />&nbsp;Ch
  eers!<br /><br />Marius<br /><br /><br />&nbsp;</blockquote>Hi again. I&#39;m using&nbsp;MythCenter-wide:<br />As far as I can see the only change I&#39;ve made is to up the fill color alpha from 24 to 48, but I did have a very high zoom set in the runtime settings zoom menu. I have set it back first to 100% and then to 120% without seeing any stuttering, so it seems that the higher the zoom, the more cpu the subs will consume.<br /><br />Thanks for your help.<br /><br />--Marius--<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br />&lt;!DOCTYPE mythuitheme SYSTEM &quot;http://www.mythtv.org/schema/mythuitheme.dtd&quot;&gt;<br />&lt;mythuitheme&gt;<br />&nbsp; &nbsp; &lt;window name=&quot;osd_subtitle&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Define a grey background which is used below for 608 and<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; text subtitles. &nbsp;If a background is not used, i
 t is<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; recommended to use a 2-pixel outline or shadow in the<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fontdef, in order to provide sufficient contrast. &nbsp;Note<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; that 708 captions providers almost always specify an<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; explicit black background.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;shape name=&quot;grey_background&quot; from=&quot;provider&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;type&gt;roundbox&lt;/type&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;cornerradius&gt;10&lt;/cornerradius&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;fill color=&quot;#000000&quot; alpha=&quot;48&quot; /&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/shape&gt;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Subtitle type &quot;text&quot; generally comes
  from external text<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; files like .srt or .txt files.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;shape name=&quot;text&quot; from=&quot;grey_background&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/shape&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;fontdef name=&quot;text&quot; face=&quot;Liberation Sans&quot; from=&quot;provider&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;color&gt;#FFFFF0&lt;/color&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;outlinecolor&gt;#000000&lt;/outlinecolor&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;outlinesize&gt;2&lt;/outlinesize&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;outlinealpha&gt;255&lt;/outlinealpha&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/fontdef&gt;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CEA-608 closed captions. &nbsp;These also apply to CEA-6
 08 VBI<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; teletext captions. &nbsp;A monospaced font should be used.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--&gt;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;shape name=&quot;608&quot; from=&quot;grey_background&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/shape&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;fontdef name=&quot;608&quot; face=&quot;Liberation Sans&quot; from=&quot;provider&quot;&gt;<br />&lt;!--<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;fontdef name=&quot;608&quot; face=&quot;FreeMono&quot; from=&quot;provider&quot;&gt;<br />--&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;color&gt;#FFFFF0&lt;/color&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;outlinecolor&gt;#000000&lt;/outlinecolor&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;outlinesize&gt;2&lt;/outlinesize&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;outlinealpha&gt;255&lt;/outlinealpha&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &
 lt;/fontdef&gt;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CEA-708 closed captions. &nbsp;The spec defines 8 different<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; font tags, but in practice (at least in the U.S.), only<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tags 0 and 3 are used by broadcasters.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Note: Inherited from the default theme.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--&gt;<br />&nbsp; &nbsp; &lt;/window&gt;<br />&lt;/mythuitheme&gt;<br /><br />&nbsp;