I have some movies in high def that I'm trying to play in mythvideo (using mplayer with updated codecs). I have my X servers displaying at 1920x1080 (on a side note, people need to be very .. very careful when trying to do this. I now have two small pale horizontal bars on my 56" hdtv. Most people can't see them, but I can on light backgrounds. Since then, I've modified my modelines to use different refresh rates.)
I've enabled the sticky bit on the mplayer binary to help give it priority, as well as renicing the process after it's started. I don't have a super fast process, which is of course my biggest limitation here. I'm using an AMD 2200+ (1.8Ghz). I've disabled all other background processess that are not needed. A ps auwfx output shows all other processes are not using any noticable CPU or memory resources.
So I can actually play the video files without a problem. 1080i videos seem to be playing ok (although I only have one to test with), but the audio on 720p videos seems to get out of sync. The audio starts off in sync, but then slowly starts to losse it and it comes unwatchable.
Side note: the one and only 1080i movie I have to test with is encoded with HD-XViD, the others are .mkv files. The size of the mkv is less than half of the HD-XViD movie, so I'm sure they are encoded with some other codec that I'm not familar with which is probably why it requires more CPU power to decode the videos.
Here's a snippet of a vmstat. I started 'vmstat 1' before watching a movie, then started playing a 720p.
Code:
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 38760 2524 247748 0 0 103 17 18 248 47 7 36 10
0 0 0 38760 2524 247748 0 0 0 12 1081 88 0 0 100 0
0 0 0 38760 2524 247748 0 0 0 0 1065 59 0 0 100 0
0 0 0 38760 2532 247740 0 0 0 40 1069 59 0 0 100 0
0 0 0 38760 2532 247740 0 0 0 0 1067 55 0 0 100 0
0 0 0 38760 2532 247740 0 0 0 0 1066 55 0 0 100 0
0 0 0 38760 2532 247740 0 0 0 12 1069 60 0 0 100 0
0 0 0 38760 2532 247740 0 0 0 0 1066 55 0 0 100 0
2 0 0 38752 2540 247732 0 0 0 28 1078 83 88 1 11 0
2 0 0 31528 2540 247732 0 0 0 0 1070 677 95 5 0 0
3 0 0 19628 2540 250504 0 0 164 0 1133 1580 91 9 0 0
3 0 0 18084 2540 250636 0 0 204 52 1125 675 99 1 0 0
1 0 0 17664 2540 251032 0 0 384 0 1155 154 97 1 2 0
1 0 0 17184 2548 251552 0 0 512 268 1189 244 95 1 4 0
1 0 0 16644 2556 252072 0 0 512 16 1191 262 93 2 5 0
0 0 0 16332 2556 252468 0 0 384 0 1168 225 93 1 6 0
0 0 0 15792 2556 252996 0 0 512 0 1174 246 95 0 5 0
So as you an see, I'm heavily CPU taxed. I'm not swapping yet, but nearly out of available RAM.
Is there a way in mplayer to enable hardware acceleration? I'm using an FX5200 for output. Does anyone have any other suggestions how to squeeze out just a tad bit more performance so I can play these files?