Difference between revisions of "VAAPI"
Line 6: | Line 6: | ||
== Enable VAAPI in 0.25 using Intel Graphics == | == Enable VAAPI in 0.25 using Intel Graphics == | ||
− | |||
− | |||
1. Install necessary packages: | 1. Install necessary packages: | ||
− | <pre>sudo apt-get install | + | <pre>sudo apt-get install libva1 i965-va-driver libva-intel-vaapi-driver vainfo</pre> |
2. Check to see if newly installed software is working by running <pre>vainfo</pre> You should see something similar to this: (note, output will be different for those running different versions of the Intel integrated graphics, you are looking for VAEntrypointVLD with some of the codecs) | 2. Check to see if newly installed software is working by running <pre>vainfo</pre> You should see something similar to this: (note, output will be different for those running different versions of the Intel integrated graphics, you are looking for VAEntrypointVLD with some of the codecs) | ||
Line 27: | Line 25: | ||
VAProfileVC1Advanced : VAEntrypointVLD</pre> | VAProfileVC1Advanced : VAEntrypointVLD</pre> | ||
− | 3. Install Intel drivers (taken from: step 5 of [http://forum.xbmc.org/showthread.php?tid=114368 GUIDE Simplified Guide for a perfect minimal HTPC on INTEL platforms]): | + | 3. If your distribution doesn't include recent drivers (0.32 and above is recommended). Install Intel drivers (taken from: step 5 of [http://forum.xbmc.org/showthread.php?tid=114368 GUIDE Simplified Guide for a perfect minimal HTPC on INTEL platforms]): |
<pre>cd ~ | <pre>cd ~ | ||
Line 50: | Line 48: | ||
sudo make install</pre> | sudo make install</pre> | ||
− | 4. | + | 4. Select VAAPI Playback Profile from Mythfrontend: |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Mythfrontend->Setup->Video->Playback->(Screen 3/8)-> Select "VAAPI normal" profile | |
− | |||
− | |||
− | Hit | + | Hit Next until you are back out to the main screen |
− | |||
− | |||
Try playing back a recording or another video and you should notice a decrease in CPU usage. | Try playing back a recording or another video and you should notice a decrease in CPU usage. | ||
− | |||
− | |||
[[Category:Glossary]] | [[Category:Glossary]] |
Revision as of 07:40, 13 August 2013
Video Acceleration API is a successor to XvMC, providing partial and full hardware offloading of video decoding. This interface is available on Intel graphics. Interface frontends are also available for ATI's XvBA and nVidia's VDPAU. This interface will be supported by MythTV as of 0.25.
Enable VAAPI in 0.25 using Intel Graphics
1. Install necessary packages:
sudo apt-get install libva1 i965-va-driver libva-intel-vaapi-driver vainfo2. Check to see if newly installed software is working by running
vainfoYou should see something similar to this: (note, output will be different for those running different versions of the Intel integrated graphics, you are looking for VAEntrypointVLD with some of the codecs)
vainfo: VA API version: 0.32 vainfo: Driver version: i965 Driver 0.1 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD
3. If your distribution doesn't include recent drivers (0.32 and above is recommended). Install Intel drivers (taken from: step 5 of GUIDE Simplified Guide for a perfect minimal HTPC on INTEL platforms):
cd ~ sudo mkdir Builds cd Builds sudo apt-get build-dep libva1 git clone git://anongit.freedesktop.org/vaapi/libva cd libva git checkout vaapi-ext sudo ./autogen.sh --prefix=/usr sudo make sudo make install cd.. git clone git://anongit.freedesktop.org/vaapi/intel-driver cd intel-driver git checkout vaapi-ext wget http://paste.kde.org/184874/raw/ -O ./increase_micro_version.patch sudo autoreconf -v --install sudo patch -p1 < ./increase_micro_version.patch sudo ./configure --prefix=/usr sudo make sudo make install
4. Select VAAPI Playback Profile from Mythfrontend:
Mythfrontend->Setup->Video->Playback->(Screen 3/8)-> Select "VAAPI normal" profile
Hit Next until you are back out to the main screen
Try playing back a recording or another video and you should notice a decrease in CPU usage.