[FFmpeg-user] can't build today's git with qsv

Dennis Mungai dmngaie at gmail.com
Tue Nov 26 02:19:47 EET 2019


On Tue, 26 Nov 2019, 01:45 sean darcy, <seandarcy2 at gmail.com> wrote:

> On Fedora 31, today's git:
>
> libavcodec/qsvenc.c: In function 'qsv_retrieve_enc_vp9_params':
> libavcodec/qsvenc.c:827:25: error: 'vp9_extend_buf' undeclared (first
> use in th>
>    827 |         (mfxExtBuffer*)&vp9_extend_buf,
>        |                         ^~~~~~~~~~~~~~
>
> libva-2.6.0-0.1.fc31.x86_64
> libva-devel-2.6.0-0.1.fc31.x86_64
> libmfx-1.25-4.fc31.x86_64
> libmfx-devel-1.25-4.fc31.x86_64
>
>
>
> + ./configure --prefix=/usr --bindir=/usr/bin
> --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
> --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
> '--optflags=-O3  -ffast-math -march=native -ftree-vectorize
> -fomit-frame-pointer -pipe -fPIC' --enable-bzlib --disable-crystalhd
> --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls
> --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio
> --disable-libdav1d --enable-libfdk-aac --enable-nonfree
> --enable-indev=jack --enable-libfreetype --enable-libfribidi
> --enable-libgsm --enable-libmfx --enable-libmp3lame --enable-openal
> --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus
> --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libtheora
> --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp
> --enable-libx264 --enable-libx265 --enable-avfilter --enable-postproc
> --enable-pthreads --disable-static --enable-shared --enable-gpl
> --enable-version3 --enable-nonfree --disable-debug --enable-stripping
> --enable-vaapi --shlibdir=/usr/lib64 --enable-runtime-cpudetect
> install prefix            /usr
> source path               .
> C compiler                gcc
> C library                 glibc
> ARCH                      x86 (generic)
> big-endian                no
> runtime cpu detection     yes
> standalone assembly       yes
> x86 assembler             nasm
> MMX enabled               yes
> MMXEXT enabled            yes
> 3DNow! enabled            yes
> 3DNow! extended enabled   yes
> SSE enabled               yes
> SSSE3 enabled             yes
> AESNI enabled             yes
> AVX enabled               yes
> AVX2 enabled              yes
> AVX-512 enabled           yes
> XOP enabled               yes
> FMA3 enabled              yes
> FMA4 enabled              yes
> i686 features enabled     yes
> CMOV is fast              yes
> EBX available             yes
> EBP available             yes
> debug symbols             no
> strip symbols             yes
> optimize for size         no
> optimizations             yes
> static                    no
> shared                    yes
> postprocessing support    yes
> network support           yes
> threading support         pthreads
> safe bitstream reader     yes
> texi2html enabled         no
> perl enabled              yes
> pod2man enabled           yes
> makeinfo enabled          yes
> makeinfo supports HTML    yes
>
> External libraries:
> alsa                    libass                  libgsm
> libtheora               libxcb                  sdl2
> bzlib                   libbluray               libmp3lame
> libv4l2                 libxcb_shape            xlib
> frei0r                  libcdio                 libopenjpeg
> libvorbis               libxcb_shm              zlib
> gcrypt                  libfdk_aac              libopus
> libvpx                  libxcb_xfixes
> gnutls                  libfontconfig           libpulse
> libwebp                 lzma
> iconv                   libfreetype             libsoxr
> libx264                 openal
> ladspa                  libfribidi              libspeex
> libx265                 opengl
>
> External libraries providing hardware acceleration:
> cuda                    cuvid                   libmfx
> nvenc                   v4l2_m2m                vdpau
> cuda_llvm               ffnvcodec               nvdec
> opencl                  vaapi                   xvmc
>
> Libraries:
> avcodec                 avfilter                avutil
> swresample
> avdevice                avformat                postproc
> swscale
>
> Programs:
> ffmpeg                  ffplay                  ffprobe
>
> Any help appreciated.
>
> Also, how would I just build with vaapi and not qsv ?
>
> sean
>


libva (and vaapi enablement) are autodetected. They will be enabled if
libva and necessary headers are present in pkgconfig path.

Just omit --enable-libmfx

>


More information about the ffmpeg-user mailing list