VLC VAAPI

From VideoLAN Wiki
Revision as of 14:26, 8 January 2010 by J-b (talk | contribs) (→‎libva)
Jump to navigation Jump to search

Introduction

This page is about compiling VLC with support of GPU acceleration on Linux.

http://en.wikipedia.org/wiki/Video_Acceleration_API

http://www.freedesktop.org/wiki/Software/vaapi

Before starting

libva

Install libva from http://www.splitted-desktop.com/~gbeauchesne/libva/ . We do not support other libraries than the one from Mr. Beauchesne.

Run

vainfo

To check if everything works.

FFmpeg trunk

Get the latest FFmpeg trunk as of 2010-January. Compile it with vaapi hwaccel support.

./configure --enable-gpl --enable-postproc --prefix=/path/to/ --enable-shared --enable-vaapi
make
make install

VLC

Get VLC from Git. Get the necessary external libraries (on debian/*buntu: apt-get build-dep vlc)

./bootstrap
./configure
make