[vlc] VLC and VAAPI on Linux

Grant emailgrant at gmail.com
Thu Sep 11 21:02:23 CEST 2014


>> >> >> Can vlc use vaapi?
>> >> >
>> >> >
>> >> > Yes vlc can. Of course your Linux distribution should have libva
>> >> > packaged
>> >> > and enabled in the necessary software for VLC to take benefit of
>> >> > vaapi
>> >> > accelleration.
>> >>
>> >>
>> >> I'm using Gentoo and I have libva installed but no acceleration in
>> >> vlc.  What could I be missing?
>> >
>> >
>> > Did you install libva headerfiles? And rebuild vlc afterwards?
>>
>>
>> I have libva-1.3.1 installed and I have rebuilt vlc afterwards.
>>
>>
>> > Your build should have installed:
>> > modules/codec/libvaapi_plugin.so
>>
>>
>> Gentoo installed this:
>>
>> /usr/lib64/vlc/plugins/codec/libvaapi_plugin.so
>>
>> Do I need to select it in vlc config somehow?
>
>
> Yes you need to:
>
> Use for vlc-2.2.x:
> --avcodec-hw=vaapi
>
> Use for vlc-2.1.x
> --avcodec-hw


Thank you, that works after upgrading from libva-intel-driver-1.3.0 to
1.3.2.  Can I set that in the Preferences somewhere?

- Grant



More information about the vlc mailing list