[mythtv] [PATCH] viavld interlaced patch

Robert Clark mythtv at ratty.org.uk
Wed Oct 6 00:02:40 UTC 2004


On Tue, 2004-10-05 at 10:26, Terry Barnaby wrote:

> Robert Clark wrote:

> > On Sun, 2004-10-03 at 06:55, Terry Barnaby wrote:

> >>If you are using, as I am, a Via M10000 box that includes the VT1622
> >>TV output chip (or similar), this has a "de-flicker" option which is enabled
> >>by default in the Unichrome Via X driver. 

> >>For watching Video I have turned it off with a hard hack (patch enclosed).

> >   This should probably be made an X driver option at some point, I
> > guess?

> The de-flicker filter option would be best controlled via the program
> driving the display as you may want it when displaying web pages for example.
> It could possibly be done by vialibXvMC, which would normally only be used when
> outputing video, but an XServer call would be better perhaps as an Xv option.

  This would certainly be useful in MythTV when switching between GUI
and playback. The GUI flickers a lot with the filter disabled.

> I hav'nt tried Mplayer as yet, hav'nt found the time ! I will have a go.
> Also, at the moment I believe the TVOUT chip on my setup may be scaling the
> image.

  That's bad news. What does the scaling look like? When I've seen
(software) scaling in Myth or MPlayer there have been distinct artifacts
- regular lines of dislocation. They show up best (worst) in slowly
panning scenic shots.

  Are you overscanning? I am, although the overscan is a little too over
for my liking - I tend to lose some text when there is writing close to
the bottom of the frame in a recording.

> I would be interested in you xorg.conf mode lines and your patch
> to hardcode the display aspect to match the source.

  I've been using two modelines courtesy of Google:

    27.15  720  736  848  896 576 578 579 606
    26.57  720  736  808  896 576 577 580 593 -HSync +Vsync

Both seem to work equally well. I assume the timing information is
irrelevant when using TV-out, but perhaps MythTV uses this information
for frame-rate calculations?.

  My aspect patch is attached. If I understand the code OK, it should
disable all scaling so is probably only suitable for playing PAL sourced
material.

	Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-keep-aspect.patch
Type: text/x-patch
Size: 976 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041006/8a17a57d/mythtv-keep-aspect.bin


More information about the mythtv-dev mailing list