Page 1 of 1

avcodec-hw=vaapi doesn't work in libvlc 2.2.2

Posted: 06 Jun 2016 20:59
by roxx
Hi everybody. With libvlc 2.1.6 (Ubuntu 14.04) I was able to use an Intel hardware acceleration with --avcodec-hw=any. It used VAAPI and everything worked fine. With libvlc 2.2.2 (Ubuntu 16.04) --avcodec-hw=any doesn't work and --avcodec-hw=vaapi doesn't work too. However, --avcodec-hw=vaapi works fine in a desktop version on VLC (sample command line: vlc --avcodec-hw=vaapi video.mp4). It doesn't work with libvlc only. What is the preferred way to use VAAPI with livblc 2.2.2?

Re: avcodec-hw=vaapi doesn't work in libvlc 2.2.2

Posted: 06 Jun 2016 22:20
by Rémi Denis-Courmont
VLC 2.2 does not support VA-API pass-through. The only way to use VA-API is via the "VA-GL" driver for VDPAU. Unfortunately, last I heard of it, it was very buggy.

Re: avcodec-hw=vaapi doesn't work in libvlc 2.2.2

Posted: 13 Jun 2016 10:02
by pecana
Hello where did you find libvlc 2.2.2? whne i donwload them from the official repository and made a git tag the latest available seems to be the 2.0.0.

Thank you

Re: avcodec-hw=vaapi doesn't work in libvlc 2.2.2

Posted: 13 Jun 2016 11:18
by Rémi Denis-Courmont

Re: avcodec-hw=vaapi doesn't work in libvlc 2.2.2

Posted: 13 Jun 2016 16:53
by pecana
Thank you!

Can also this lib be compile for android?