Name Last modified Size
Parent Directory -
samples/ 24-Jan-2010 19:03 -
old/ 18-Mar-2010 10:49 -
These patches add VA-API support to Gnash. Actually, this is now upstream. So, no more patches at this time.
Gnash-vaapi requires libVA API >= 0.31.0-sds3, i.e. VA-API with Splitted-Desktop Systems API extensions revision 3, as implemented in libva >= 0.31.0-1+sds3 packages that can be found here: http://www.splitted-desktop.com/~gbeauchesne/libva/. You will generally want to download the latest libva packages and patches anyway. NOTE: the current Gnash/VAAPI patchset was tested with libva 0.31.0-1+sds9.
Gnash-vaapi also requires the latest VA-API-enabled FFmpeg, with H.264 decoding acceleration. This matches upstream FFmpeg SVN rev 21285 or newer.
Make sure you also have bzr (Bazaar) and all necessary Gnash build dependencies installed on your system.
On a Debian system, the following commands will help you install the required files:
# apt-get build-dep gnash
Checkout current Gnash trunk (rev >= 12042):
$ bzr branch http://bzr.savannah.gnu.org/r/gnash/trunk
Configure and build Gnash with VA-API support:
$ ./autogen.sh $ mkdir objs.vaapi $ cd objs.vaapi $ ../configure --with-hwaccel=vaapi --enable-media=ffmpeg $ make -j4
Enable VA-API on demand:
$ gnash --hwaccel vaapi some.swf $ gnash --hwaccel vaapi -R agg some.swf (force AGG renderer) $ gnash --hwaccel vaapi -R ogl some.swf (force OGL renderer)
Enable VA-API by default, if supported on your system, through a setting to your ~/.gnashrc file
set hwaccel vaapi