That's the easy part...
http://gpo.zugaina.org/media-video/mplayer
That's the easy part...
http://gpo.zugaina.org/media-video/mplayer
I added that patch to the q45-h264 branch, but it takes ages to see a decoded frame. It decodes something but it looks like it runs with slowmotion... I tested it with q45 and mplayer vaapi if that matters, not sure if it can decode it or not.
I got all this running with mplayer-vaapi (using the patch posted on page 1), but it's extremely slow, like maybe 0.5fps. I tried a variety of different H.264 videos in various resolutions, containers, etc and all produced the same results.
MPEG2 acceleration seems to work a bit better, but higher bitrate videos don't maintain audio sync for even a few seconds.
Overall, VA-API on my hardware (glxinfo reports a Mobile Intel® GM45 Express Chipset) appears to be a step back in terms of performance for both H.264 and MPEG2. I've yet to find a single file that plays back better with it than without.
This is on Fedora 15 with the stock kernel (2.6.38.6-27) and Intel driver (2.15.0-3). I wonder if it would work better with a newer driver and/or kernel.
I notice that the check-in comment says that it is single-threaded, and that there is something called the sw_scoreboard that is disabled.
It seems that the sw_scoreboard is to coordinate multiple threads (the values seem to be 23 or 64) to work together to decode frames. This sw_scoreboard_vfe is set to 1 instead for this checkin.
Maybe once they figure out the sw-scoreboard, the patch will be faster, but until then, at least this check-in lets developers test their applications on G45 hardware.
It is just me or this is heavily obfuscated code? 90% of lines are just hex values...
Is there any news?
I am sure you can look yourself at
http://cgit.freedesktop.org/libva/
(character limit)