Discussion:
[vlc] VLC and VAAPI on Linux
Grant
2014-09-09 14:19:49 UTC
Permalink
Can vlc use vaapi? If not, can it use vdpau-va-gl? I have
acceleration in xbmc via vaapi but not in vlc.

- Grant
Jean-Paul Saman
2014-09-09 19:51:10 UTC
Permalink
Post by Grant
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.

Kind regards,

Jean-Paul Saman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20140909/d2bd4801/attachment.html>
Grant
2014-09-09 19:59:15 UTC
Permalink
Post by Jean-Paul Saman
Post by Grant
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?

- Grant
Jean-Paul Saman
2014-09-10 12:03:52 UTC
Permalink
Post by Grant
Post by Jean-Paul Saman
Post by Grant
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?

Your build should have installed:
modules/codec/libvaapi_plugin.so

Kind regards
Jean-Paul Saman
Post by Grant
- Grant
______________________________________________________
vlc mailing list
https://mailman.videolan.org/listinfo/vlc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20140910/ae2c2c4d/attachment.html>
Grant
2014-09-10 13:03:22 UTC
Permalink
Post by Jean-Paul Saman
Post by Grant
Post by Jean-Paul Saman
Post by Grant
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.
Post by Jean-Paul Saman
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?

- Grant
Jean-Paul Saman
2014-09-11 09:39:37 UTC
Permalink
Post by Grant
Post by Jean-Paul Saman
Post by Grant
Post by Jean-Paul Saman
Post by Grant
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.
Post by Jean-Paul Saman
modules/codec/libvaapi_plugin.so
/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
Post by Grant
- Grant
______________________________________________________
vlc mailing list
https://mailman.videolan.org/listinfo/vlc
Kind regards,

Jean-Paul Saman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20140911/c48aa95f/attachment.html>
Grant
2014-09-11 19:02:23 UTC
Permalink
Post by Jean-Paul Saman
Post by Grant
Post by Jean-Paul Saman
Post by Grant
Post by Jean-Paul Saman
Post by Grant
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.
Post by Jean-Paul Saman
modules/codec/libvaapi_plugin.so
/usr/lib64/vlc/plugins/codec/libvaapi_plugin.so
Do I need to select it in vlc config somehow?
--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
Jean-Paul Saman
2014-09-15 09:02:30 UTC
Permalink
Post by Grant
Post by Jean-Paul Saman
--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?
I guess under advanced options for avcodec.

Kind regards,
Jean-Paul Saman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20140915/36ab07c0/attachment.html>
Grant
2014-09-15 16:34:23 UTC
Permalink
Post by Jean-Paul Saman
Post by Grant
Post by Jean-Paul Saman
--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?
I guess under advanced options for avcodec.
Works great, thank you!

- Grant

Loading...