[FFmpeg-devel] [RFC]Autodetect VA-API

Michael Niedermayer michaelni at gmx.at
Tue May 14 21:05:05 CEST 2013


On Tue, May 07, 2013 at 11:26:15AM +0200, Carl Eugen Hoyos wrote:
> On Monday 06 May 2013 12:05:40 pm Michael Niedermayer wrote:
> > On Fri, May 03, 2013 at 05:22:10PM +0200, Carl Eugen Hoyos wrote:
> > > Hi!
> > >
> > > In FFmpeg revisions 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 1.0 and 1.1, VA-API
> > > was autodetected by configure, default compilation always produced ffmpeg
> > > executables that depend on libva and I do not remember any user
> > > protesting about it.
> > > Since 1.2 (and without any documentation afaict), VA-API is not
> > > auto-detected anymore, this was quickly reported by users (see also
> > > ticket #2368).
> > >
> > > On my system, a default FFmpeg compilation (./configure && make ffmpeg)
> > > produces a binary that depends, apart from the typical system libraries
> > > and libz and libbz2, on libsdl, libasound and libjack (which depends on
> > > libstdc++), libva has no further dependencies afaict.
> > >
> > > I don't use VA-API (and I don't care much) but I suggest attached patch
> > > that I would also backport to release/1.2.
> > >
> > > Please comment, Carl Eugen
> > >
> > >  configure |    2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > b0d1a88ff2c6fc526eaa5673e0c6d30379ea46d3  patchvaapi.diff
> > > diff --git a/configure b/configure
> > > index f646d55..508e88c 100755
> > > --- a/configure
> > > +++ b/configure
> > > @@ -2247,7 +2247,7 @@ enable static
> > >  enable swscale_alpha
> > >
> > >  # By default, enable only those hwaccels that have no external
> > > dependencies. -enable dxva2 vdpau
> > > +enable dxva2 vaapi vdpau
> >
> > have you tested dependancies ?
> 
> New, tested patch attached that also responds to Hendriks comment.
> 
> Please comment, Carl Eugen

>  configure |   16 ++++++----------
>  1 file changed, 6 insertions(+), 10 deletions(-)
> 7abfd572c4c8bca325de6d57e8a2bf83071a19e0  patchvaapi2.diff

fine with me if it works

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130514/00482f5e/attachment.asc>


More information about the ffmpeg-devel mailing list