Enabling Hardware Accelerated Playback for Fedora* 16
Intel
®
Atom™ D2000/N2000
Enabling Hardware Accelerated Video Decode on Intel
®
Atom™ Processor D2000 and N2000 Series under Fedora 16
AN October 2012
14 Order Number: 509577-003US
18.Update the grub.cfg so our changes take effect:
grub2-mkconfig -o /boot/grub2/grub.cfg
19.Reboot and make sure you select the correct new image when grub displays the list
of choices. You can now use the following command to set the default:
grub2-set-default <title or number>
4.5 Install Packages on Target
There are several dependencies for the graphics driver and MPlayer. The steps below
show how to install the required packages on the target system. The assumption is that
the initial installation was done with the Software Development option.
Install Xorg packages as root:
yum -y install libXi-devel libXfont-devel libXext-devel
yum -y install libdrm-devel
yum -y install libpciaccess-devel pixman-devel
yum -y install expat-devel
yum -y install libva-devel freeglut-devel
4.6 Compile MPlayer on Target
Use these steps to build MPlayer with hardware accelerated video decoding in the
target system. Before proceeding, ensure that the system has an Internet connection.
1. Install yasm and git:
yum -y install yasm git
2. Install some alsa dependencies:
yum -y install alsa*
3. Clone MPlayer git repository:
git clone git://gitorious.org/vaapi/mplayer.git
If the command executes successfully, the MPlayer tree is downloaded in the target
under the
mplayer directory.
4. Configure MPlayer:
cd mplayer
git checkout -t origin/hwaccel-vaapi
./configure
At the No FFmpeg checkout prompt, press Enter.
cd ffmpeg
git checkout -b ffmpeg-0.6.3 [you can use the latest version tag]
5. Get out of
ffmpeg directory:
cd ..
6. Now we are in the MPlayer directory. Configure MPlayer with options as follows:
./configure --prefix=/usr/local --enable-xv --enable-gl --enable-vaapi --
disable-vdpau --disable-mencoder --disable-faad --enable-runtime-
cpudetection
7. Compile MPlayer:
make
make install