Re: VLC and VAAPI on Linux

Jean-Paul Saman <[email protected]> Thu, 11 Sep 2014 11:39:37 +0200
Newsgroups gmane.comp.video.videolan.vlc.general
Message-ID <CAK9US3BeDsAH_XG1nJWki8Q5nNPRByvECoEj_ORoN7XsE+6RdQ@mail.gmail.com>
--===============4896139587764396844==
Content-Type: multipart/alternative; boundary=001a113abd7a73dcdc0502c6f2f3

--001a113abd7a73dcdc0502c6f2f3
Content-Type: text/plain; charset=UTF-8

On Wed, Sep 10, 2014 at 3:03 PM, Grant <[email protected]> wrote:

> >> >> 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


> - Grant
> ______________________________________________________
> vlc mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc
>

Kind regards,

Jean-Paul Saman

--001a113abd7a73dcdc0502c6f2f3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Sep 10, 2014 at 3:03 PM, Grant <span dir=3D"ltr">&lt;<a href=3D"mailto:=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</span>=
 wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=3D=
"">&gt;&gt; &gt;&gt; Can vlc use vaapi?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Yes vlc can. Of course your Linux distribution should have li=
bva<br>
&gt;&gt; &gt; packaged<br>
&gt;&gt; &gt; and enabled in the necessary software for VLC to take benefit=
 of vaapi<br>
&gt;&gt; &gt; accelleration.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m using Gentoo and I have libva installed but no acceleratio=
n in<br>
&gt;&gt; vlc.=C2=A0 What could I be missing?<br>
&gt;<br>
&gt;<br>
&gt; Did you install libva headerfiles? And rebuild vlc afterwards?<br>
<br>
<br>
</span>I have libva-1.3.1 installed and I have rebuilt vlc afterwards.<br>
<span class=3D""><br>
<br>
&gt; Your build should have installed:<br>
&gt; modules/codec/libvaapi_plugin.so<br>
<br>
<br>
</span>Gentoo installed this:<br>
<br>
/usr/lib64/vlc/plugins/codec/libvaapi_plugin.so<br>
<br>
Do I need to select it in vlc config somehow?<br></blockquote><div><br></di=
v><div>Yes you need to:<br><br>Use for vlc-2.2.x:<br>--avcodec-hw=3Dvaapi<b=
r>=C2=A0<br></div><div>Use for vlc-2.1.x<br></div><div>--avcodec-hw<br><br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class=3D""><div class=3D"h5"><br>
- Grant<br>
______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href=3D"https://mailman.videolan.org/listinfo/vlc" target=3D"_blank">htt=
ps://mailman.videolan.org/listinfo/vlc</a><br>
</div></div></blockquote></div><br></div><div class=3D"gmail_extra">Kind re=
gards,<br><br></div><div class=3D"gmail_extra">Jean-Paul Saman<br></div></d=
iv>

--001a113abd7a73dcdc0502c6f2f3--

--===============4896139587764396844==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc

--===============4896139587764396844==--