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

Carl Eugen Hoyos cehoyos at ag.or.at
Fri May 3 17:22:10 CEST 2013


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
-------------- next part --------------
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
 
 # build settings
 SHFLAGS='-shared -Wl,-soname,$$(@F)'


More information about the ffmpeg-devel mailing list