[mythtv] [PATCH] Realtime scheduling of video output thread

Doug Larrick doug at ties.org
Wed Sep 1 22:21:41 EDT 2004


John Patrick Poet wrote:
> I have tried this.  Sure does not hurt.  I can't really tell if it helps.
> 
> I actually have a 3.2GHz HT P4 now, so the impact is probably small for me.

The place it seems to help the most for me is when the OSD is up, 
particularly over a 1080i program.  Also if I alt-tab to a terminal (in 
front of the video window) and am doing something else.

> However, the work that you and Bruce have done lately has made a huge 
> difference.  HD video plays nice and smooth -- even troublesome close-up 
> pans.  Thank you both!

Yes, I'm quite pleased.  Even rolling credits look good, and that's 
saying something.  My thanks to those who have helped get us this far as 
well.

> Lately I have noticed a non-reproducable hick-up every 5 to 10 minutes.  
> It is just a quick micro-pause, and then it continues on fine.  If I 
> rewind and play that part of the video again, it does not happen.  

Could it be that this happens every 1000 frames (30 sec. or so) and you 
only notice sometimes (i.e. if there's motion)?  At 1000 frames you'd 
finally get a whole frame's difference between 29.97 and 30 hz.  How's 
your modeline?

> My impression is that the frontend is starved for data.  I need to check 
> the log file to see if there are any clues there.

If so you'll get a prebuffering pause and it'll be a lot more noticeable 
than a micro-pause.  I'd suggest putting in a message when the av sync 
code (NuppelVideoPlayer) does an adjustment -- see if it coincides.

-Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040901/fcfe124a/signature.pgp


More information about the mythtv-dev mailing list