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

This forum is about all development around libVLC.
roxx
Blank Cone
Blank Cone
Posts: 17
Joined: 26 Aug 2014 17:30

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

Postby roxx » 06 Jun 2016 20:59

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15260
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 06 Jun 2016 22:20

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

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

Postby pecana » 13 Jun 2016 10:02

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15260
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 13 Jun 2016 11:18

Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

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

Postby pecana » 13 Jun 2016 16:53

Thank you!

Can also this lib be compile for android?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 18 guests