[mythtv] hdtv reorg, crc checking + new gui patch
Daniel Thor Kristjansson
danielk at cat.nyu.edu
Sun Feb 8 17:41:31 EST 2004
I've just uploaded a hdtv-osd-interlace-v1.patch to my patch site
http://www.mrl.nyu.edu/~danielk/mythtv/
It shows only the top field of interlaced video, and both fields of
progressive video when using XvMC. Currently I'm not setting whether
the video is interlaced based on the stream because the avdecoder
currently doesn't provide this information. But instead it guesses this
based on framerate and resolution. If the framerate is 24 fps the video
is assumed to be a non-interlaced movie. If the horizontal resolution is
720 then it is assumed to be non-interlaced (as per HDTV spec) otherwise
it is assumed to be interlaced.
I've also given the Show method a "field" parameter, so in the future a
video/audio sync method that knows about interlacing can show both
fields and not just the first. SetVideoParams has been given an
"interlaced" parameter. If this is 0 the frame is progressive, if it is
1 then it is interlaced, if it is 2 then the NuppelVideoPlayer will
guess using the resolution and framerate algorithm above.
I've also updated the other patches to be against the latest cvs and
have changed the "cerr <<..." debugging output to use the appropriate
"VERBOSE(..." instead.
The xvmc-error-recovery patch is now more complete and complains earlier
when it gets bad packets. You no longer need to be brave to try it.
-- Daniel
<< When truth is outlawed; only outlaws will tell the truth. >> - RLiegh
On Thu, 5 Feb 2004, Doug Larrick wrote:
][Somehow your messages with attachments (MIME) are not showing up
]properly in my mailer (Balsa, and also SquirrelMail). I wonder if the
]problem's on your end or mine?]
]
]On 02/05/04 04:27:55, Daniel Thor Kristjansson wrote:
]
]> A deinterlace filter would be great. Would it require a full frame
]> read though? At 1920x1080 that would completely kill you on an AGPx8
]> bus.
]
]I am not using XvMC, as I find it more trouble than it's worth. The
]killer for me is that there's no way to use filters without reading
]back decompressed frames from the card, which as you said would be too
]slow.
]
]There *is* a flag for XvMC to display top field or bottom field only,
]but either it's broken or I did not use it correctly when I tried. Or
]maybe the video is somehow not being flagged as interlaced.
]
]I hope to try out your patches sometime soon, though I only have one
]channel with marginal reception. Not this weekend though, I'm going
]skiing!
]
]-Doug
More information about the mythtv-dev
mailing list