[FFmpeg-user] av1_vaapi encoding testing
Dennis Mungai
dmngaie at gmail.com
Fri Sep 22 16:12:14 EEST 2023
On Fri, 22 Sept 2023, 15:28 Patrick Münch, <s7mon at web.de> wrote:
> Hi,
>
> I wanted to test av1 vaapi encoding. If i am not mistaken this series
> should be in git and cover that
> (https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=9672).
>
> I have build from git yesterday and don't get av1_vaapi listed on encoders.
> It was build with --enable-vaapi -enable-libdav1d--enable-librav1e and
> --enable-libsvtav1.
> Would be great if one has a hint what i have overlooked or if this should
> be rather on the devel list?
>
> Full details:
> ffmpeg -encoders | grep vaap
> ffmpeg version N-112136-g33b2646d61 Copyright (c) 2000-2023 the FFmpeg
> developers
> built with gcc 12 (Gentoo Hardened 12.3.1_p20230526 p2)
> configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
> --docdir=/usr/share/doc/ffmpeg-9999/html --mandir=/usr/share/man
> --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++
> --ar=x86_64-pc-linux-gnu-ar --nm=x86_64-pc-linux-gnu-nm
> --strip=x86_64-pc-linux-gnu-strip --ranlib=x86_64-pc-linux-gnu-ranlib
> --pkg-config=x86_64-pc-linux-gnu-pkg-config --optflags='-march=native -O2
> -pipe -w' --disable-static --enable-avfilter --disable-stripping
> --disable-optimizations --disable-libcelt --enable-nonfree
> --enable-version3 --disable-indev=v4l2 --disable-outdev=v4l2
> --disable-indev=oss --disable-indev=jack --disable-indev=sndio
> --disable-outdev=oss --disable-outdev=sndio --enable-nonfree --enable-bzlib
> --disable-runtime-cpudetect --disable-debug --disable-gcrypt
> --enable-gnutls --disable-gmp --enable-gpl --disable-hardcoded-tables
> --enable-iconv --disable-libxml2 --disable-lzma --enable-network
> --disable-opencl --enable-openssl --enable-postproc
> --enable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi
> --enable-vdpau --enable-vulkan --enable-xlib --enable-libxcb
> --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio
> --disable-libiec61883 --disable-libdc1394 --disable-libcaca
> --disable-openal --enable-opengl --disable-libv4l2 --disable-libpulse
> --disable-libdrm --disable-libjack --disable-libopencore-amrwb
> --disable-libopencore-amrnb --disable-libcodec2 --enable-libdav1d
> --enable-libfdk-aac --enable-libopenjpeg --disable-libjxl
> --disable-libbluray --disable-libgme --disable-libgsm --disable-libaribb24
> --disable-mmal --disable-libmodplug --enable-libopus --enable-libvpl
> --disable-libilbc --disable-librtmp --disable-libssh --disable-libspeex
> --disable-libsrt --enable-librsvg --disable-ffnvcodec --enable-libvorbis
> --enable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b
> --disable-chromaprint --disable-cuda-llvm --disable-libflite
> --disable-frei0r --disable-libvmaf --disable-libfribidi
> --disable-fontconfig --disable-ladspa --enable-lcms2 --disable-libass
> --disable-libplacebo --disable-libtesseract --disable-lv2
> --enable-libfreetype --disable-libvidstab --disable-librubberband
> --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads
> --disable-amf --disable-libvo-amrwbenc --disable-libkvazaar --enable-libaom
> --enable-libmp3lame --disable-libopenh264 --enable-librav1e
> --disable-libsnappy --enable-libsvtav1 --enable-libtheora
> --disable-libtwolame --disable-libwebp --enable-libx264 --enable-libx265
> --enable-libxvid --disable-gnutls --enable-version3 --disable-armv5te
> --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp
> --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2
> --disable-mipsfpu --disable-altivec --disable-vsx --disable-power8
> --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop
> --enable-pic --cpu=host --disable-doc --disable-htmlpages --enable-manpages
> libavutil 58. 25.100 / 58. 25.100 libavcodec
> 60. 26.100 / 60. 26.100 libavformat 60. 13.100 / 60. 13.100
> libavdevice 60. 2.101 / 60. 2.101
> libavfilter 9. 11.100 / 9. 11.100
> libswscale 7. 3.100 / 7. 3.100
> libswresample 4. 11.100 / 4. 11.100
> libpostproc 57. 2.100 / 57. 2.100
> V....D h264_vaapi H.264/AVC (VAAPI) (codec h264)
> V....D hevc_vaapi H.265/HEVC (VAAPI) (codec hevc)
> V....D mjpeg_vaapi MJPEG (VAAPI) (codec mjpeg)
> V....D mpeg2_vaapi MPEG-2 (VAAPI) (codec mpeg2video)
> V....D vp8_vaapi VP8 (VAAPI) (codec vp8)
> V....D vp9_vaapi VP9 (VAAPI) (codec vp9)
>
> Hardware support should be there as well:
> vainfo --display drm --device /dev/dri/renderD129 | grep -i av1
> libva info: VA-API version 1.19.0
> libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
> libva info: Found init function __vaDriverInit_1_19
> libva info: va_openDriver() returns 0
> VAProfileAV1Profile0 : VAEntrypointVLD
> VAProfileAV1Profile0 : VAEntrypointEncSliceLP
>
> Thanks a lot
>
Is your Libva version up to date?
>
More information about the ffmpeg-user
mailing list