Hello,<br>I see that support for vaapi is not in ffmpeg and vlc.<br>I took ffmpeg-0.8.5-2.fc16.src.rpm and vlc-1.1.12-1.fc16.src.rpm from rpmfusion and recompiled them on my F16 system.<br>I&#39;m far from an rpmbuild expert and all conditional statements inside them, so I tried putting in spec files<br>


- $ diff ffmpeg.spec ffmpeg.spec.orig <br>123,124c123<br>&lt;     --disable-stripping \\\<br>&lt;     --enable-vaapi<br>---<br>&gt;     --disable-stripping<br><br>and<br><br>- $ diff vlc.spec vlc.spec.orig <br>324d323<br>


&lt;     --enable-libva            \<br>343c342<br>&lt; ##%{!?_without_mozilla:--enable-mozilla}        \<br>---<br>&gt; %{!?_without_mozilla:--enable-mozilla}        \<br>560,564c559,563<br>&lt; #%{!?_without_mozilla:<br>


&lt; #%files -n mozilla-vlc<br>&lt; #%defattr(-,root,root,-)<br>&lt; #%{_libdir}/mozilla/plugins/libvlcplugin.so<br>&lt; #}<br>---<br>&gt; %{!?_without_mozilla:<br>&gt; %files -n mozilla-vlc<br>&gt; %defattr(-,root,root,-)<br>


&gt; %{_libdir}/mozilla/plugins/libvlcplugin.so<br>&gt; }<br><br>(basically
 I didn&#39;t accomplish how to compensate a problem with firefox headers 
that prevented compilation, so I just disabled firefox plugins at all 
for my initial purpose...)<br>
<br>Then<br>yum reinstall :<br>sudo yum reinstall ffmpeg-0.8.5-2.fc16.x86_64.rpm ffmpeg-libs-0.8.5-2.fc16.x86_64.rpm <br>sudo yum reinstall vlc-core-1.1.12-1.fc16.x86_64.rpm /vlc-1.1.12-1.fc16.x86_64.rpm<br><br>It seems all is ok on my system that is an Asus laptop U36sd with intel corei7 and sandy bridge<br>


00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd 
Generation Core Processor Family Integrated Graphics Controller 
[8086:0126] (rev 09) (prog-if 00 [VGA controller])<br>01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:1050] (rev ff) (prog-if ff)<br>
<br>$ vainfo<br>libva: libva version 0.32.0<br>libva: va_getDriverName() returns 0<br>libva: Trying to open /usr/lib64/dri/i965_drv_video.so<br>libva: va_openDriver() returns 0<br>vainfo: VA API version: 0.32<br>vainfo: Driver version: i965 Driver 0.1<br>


vainfo: Supported profile and entrypoints<br>      VAProfileMPEG2Simple            :    VAEntrypointVLD<br>      VAProfileMPEG2Main              :    VAEntrypointVLD<br>      VAProfileH264Baseline           :    VAEntrypointVLD<br>


      VAProfileH264Baseline           :    VAEntrypointEncSlice<br>      VAProfileH264Main               :    VAEntrypointVLD<br>      VAProfileH264Main               :    VAEntrypointEncSlice<br>      VAProfileH264High               :    VAEntrypointVLD<br>


      VAProfileH264High               :    VAEntrypointEncSlice<br>      VAProfileVC1Simple              :    VAEntrypointVLD<br>      VAProfileVC1Main                :    VAEntrypointVLD<br>      VAProfileVC1Advanced            :    VAEntrypointVLD<br>


<br><br>and playing Avengers trailer from <br><a href="http://www.h264info.com/clips.html" target="_blank">http://www.h264info.com/clips.html</a><br>I get good results from fluidity point of view... ot the same form cpu usage... perhaps...<br>


$ cvlc The\ Avengers\ -\ Trailer.mp4 <br>VLC media player 1.1.12 The Luggage (revision exported)<br>Blocked: call to unsetenv(&quot;DBUS_ACTIVATION_ADDRESS&quot;)<br>Blocked: call to unsetenv(&quot;DBUS_ACTIVATION_BUS_TYPE&quot;)<br>


[0x252afe0] dummy interface: using the dummy interface module...<br>libva: libva version 0.32.0<br>libva: va_getDriverName() returns 0<br>libva: Trying to open /usr/lib64/dri/i965_drv_video.so<br>libva: va_openDriver() returns 0<br>


[0x7f82a8c02e70] avcodec decoder: Using VA API version 0.32 for hardware decoding.<br><br>my cpu is Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz with dual core and HT<br><br>during play<br>[g.cecchi@ope46 ~]$ vmstat 3<br>procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----<br>


 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st<br> 3  0   1644 129136 102032 4069252    0    0   113    98 1215 1516 16  4 80  0  0    <br> 5  0   1644 135452 102036 4062712    0    0   683    27 8823 11317 34  3 63  0  0    <br>


 1  0   1644 136080 102036 4063920    0    0   427     0 8755 11254 34  3 63  0  0    <br> 3  0   1644 130880 102040 4069600    0    0  1579     9 8616 11205 33  3 64  0  0    <br> 2  0   1640 129020 102040 4071528   11    0   608     5 8917 11533 34  3 63  0  0    <br>


 2  0   1640 125920 102044 4074112    0    0   853    17 8622 11253 33  3 64  0  0    <br><br>top - 18:15:28 up  1:46,  7 users,  load average: 0.79, 0.40, 0.35<br>Tasks: 172 total,   3 running, 169 sleeping,   0 stopped,   0 zombie<br>


Cpu0  : 78.1%us,  1.3%sy,  0.0%ni, 19.9%id,  0.0%wa,  0.7%hi,  0.0%si,  0.0%st<br>Cpu1  : 11.3%us,  2.3%sy,  0.0%ni, 85.7%id,  0.3%wa,  0.3%hi,  0.0%si,  0.0%st<br>Cpu2  : 30.0%us,  2.3%sy,  0.0%ni, 67.3%id,  0.0%wa,  0.3%hi,  0.0%si,  0.0%st<br>


Cpu3  : 15.3%us,  3.0%sy,  0.0%ni, 81.1%id,  0.0%wa,  0.7%hi,  0.0%si,  0.0%st<br>Mem:   8147792k total,  7975236k used,   172556k free,   100252k buffers<br>Swap: 10485756k total,     2640k used, 10483116k free,  4016804k cached<br>


<br>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                           <br> 9098 g.cecchi  20   0 1189m 118m  87m S 94.1  1.5   1:00.38 vlc           <br><br>Any feedback on my results and on possible default inclusion of vaapi in ffmpeg and vlc?<br>


<br>Thanks in advance,<br>Gianluca