[mythtv-users] What don't I get here? (Playback FPS)
Remco Treffkorn
remco at rvt.com
Fri Jun 15 15:32:17 UTC 2007
On Thursday 14 June 2007, Viktor Avramov wrote:
> I recommend using a VGA -> SCART cable... then you will have very precise
> control of what goes to the TV.... I had a problem like you using PAL
> 25FPS on a 50Hz interlaced TV... I wrote a patch which doubles the
> framerate for interlaced modes... I now use it wil BOB deinterlacing and
> the result is silky smooth!
>
> Here's the patch.... do with it what you will... I submitted it for
> inclusion in trunk but it was rejected because it's flawed in it's logic...
> all I can say is on my setup it's the only way of getting smooth, fluid
> motion.... the devs told me to use the myth-vid branch instead!!
>
> Viktor
>
>
> Index: libs/libmythtv/videoout_xv.cpp
> ===================================================================
> --- libs/libmythtv/videoout_xv.cpp (revision 12477)
> +++ libs/libmythtv/videoout_xv.cpp (working copy)
> @@ -308,6 +308,9 @@
> if (rate == 0)
> rate = 60;
>
> + if (mode_line.flags && 0x010) // #define V_INTERLACE 0x010
> + rate = rate * 2; // if modeline is interlaced then double
> the effective refresh rate
> +
> if (rate < 20 || rate > 200)
> {
> VERBOSE(VB_PLAYBACK, LOC + QString("Unreasonable refresh rate %1Hz
Can you explain "mode_line.flags && 0x010"? What do you think this does?
--
Remco Treffkorn (RT445)
HAM DC2XT
remco at rvt.com (831) 685-1201
More information about the mythtv-users
mailing list