I&#39;ve hooked up my PAL TV via a VGA-&gt;SCART RGB cable.<br><br>I use an X modeline with the &quot;interface&quot; flag that results in a mode with 25hz FRAME rate which is 50 hz FIELD rate.<br><br>Playing some interlaced files without deinterlace (but with OpenGL video sync, and video as a time base) results in the fields being shown out of order. (other files work OK) or to a 25FPS playback rather than pseudo 50hz (see my &quot;What don&#39;t I get here&quot; posts)
<br><br>So as recommended I enable bob-deinterlace.....<br><br><br>2007-06-20 23:04:08.802 The realtime priority setting is not enabled.<br>2007-06-20 23:04:08.815 Using deinterlace method bobdeint<br>2007-06-20 23:04:08.920
 nVidiaVideoSync: VBlank ioctl did not work, unimplemented in this driver?<br>2007-06-20 23:04:08.921 DRMVideoSync: Could not open device /dev/dri/card0, No such file or directory<br>2007-06-20 23:04:08.926 OpenGLVideoSync: GLX extensions: GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_texture_from_pixmap GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_get_proc_address
<br>2007-06-20 23:04:08.928 OpenGLVideoSync: x,y -&gt; 360, 288<br>2007-06-20 23:04:09.023 Using OpenGLVideoSync<br>2007-06-20 23:04:09.023 Set video sync frame interval to 40000<br>2007-06-20 23:04:09.024 Video sync method can&#39;t support double framerate (refresh rate too low for bob deint)
<br>2007-06-20 23:04:09.024 Set video sync frame interval to 40000<br>2007-06-20 23:04:09.035 Using deinterlace method onefield<br>2007-06-20 23:04:09.045 Using video as timebase<br>2007-06-20 23:04:09.045 Video timing method: SGI OpenGL
<br>2007-06-20 23:04:09.045 Refresh rate: 40013, frame interval: 40000<br>&#39;video_output&#39; mean = &#39;40538.84&#39;, std. dev. = &#39;16889.77&#39;, fps = &#39;24.67&#39;<br><br><br>Notice the line......<br><br>2007-06-20 23:04:
09.024 Video sync method can&#39;t support double framerate (refresh rate too low for bob deint)<br>
<br>To me this looks like Myth has seen that the mpeg is at 25FPS, <br>has looked at the video mode and seen 25FPS also,<br>but bob-deinterlace effectively doubles the rate to 50, oh dear we don&#39;t support that....use onefield instead....
<br>WRONG in this case!!<br>We are using an ****INTERLACED**** mode so we can support the full 50hz just at half the vertical resolution!<br><br>So yes it looks like Viktor&#39;s patch is correct after all....<br><br>Now to do my first compile of Mythtv....
<br><br>Cheers<br><br>Steve<br><br><br><br><br><div><span class="gmail_quote">On 15/06/07, <b class="gmail_sendername">Viktor Avramov</b> &lt;<a href="mailto:drvik@bigpond.net.au">drvik@bigpond.net.au</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I recommend using a VGA -&gt; SCART cable... then you will have very precise<br>control of what goes to the TV....&nbsp;&nbsp;I had a problem like you using PAL 25FPS
<br>on a 50Hz interlaced TV... I wrote a patch which doubles the framerate for<br>interlaced modes... I now use it wil BOB deinterlacing and the result is<br>silky smooth!<br><br>Here&#39;s the patch.... do with it what you will... I submitted it for inclusion
<br>in trunk but it was rejected because it&#39;s flawed in it&#39;s logic... all I can<br>say is on my setup it&#39;s the only way of getting smooth, fluid motion.... the<br>devs told me to use the myth-vid branch instead!!
<br><br>Viktor<br><br><br>Index: libs/libmythtv/videoout_xv.cpp<br>===================================================================<br>--- libs/libmythtv/videoout_xv.cpp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(revision 12477)<br>+++ libs/libmythtv/videoout_xv.cpp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(working copy)
<br>@@ -308,6 +308,9 @@<br>&nbsp;&nbsp;&nbsp;&nbsp; if (rate == 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rate = 60;<br><br>+&nbsp;&nbsp;&nbsp;&nbsp;if (mode_line.flags &amp;&amp; 0x010) // #define V_INTERLACE 0x010<br>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rate = rate * 2;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// if modeline is interlaced then double
<br>the effective refresh rate<br>+<br>&nbsp;&nbsp;&nbsp;&nbsp; if (rate &lt; 20 || rate &gt; 200)<br>&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VERBOSE(VB_PLAYBACK, LOC + QString(&quot;Unreasonable refresh rate %1Hz &quot;<br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br></blockquote></div><br>