ffmpeg 7.1 introduced h266 support support for --enable-libvvdec and --enable-libvvenc should be added to the build parameters i think?