Build FFmpeg and libva with decode and encode hardware acceleration on an Intel-based validation testbed:
Build platform: Ubuntu
Install baseline dependencies first
sudo apt-get -y install autoconf automake build-essential libass-dev libtool pkg-config texinfo zlib1g-dev libva-dev cmake mercurial libdrm-dev libvorbis-dev libogg-dev git libx11-dev libperl-dev libpciaccess-dev libpciaccess0 xorg-dev
Then add the Oibaf PPA, needed to install the latest development headers for libva: