A lot of "muddy waters" when searching this on the internet but the bottom line is for us in looking for what are the current ffmpeg 6.1 supported encoders, key in:
# ./thirdparty/ffmpeg-6.1/ffmpeg -encoders | grep av1
V....D libaom-av1 libaom AV1 (codec av1)
A....D wmav1 Windows Media Audio 1
which means the first line of av1_vaapi.webm can only be "webm libaom-av1" which will not provide vaapi; that is the line used in av1.webm.
Just to ensure that the " ./thirdparty/ffmpeg-6.1/ffmpeg -encoders | grep your_request" works as expected, keyin:
# ./thirdparty/ffmpeg-6.1/ffmpeg -encoders | grep h264
V....D libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (codec h264)
V....D libx264rgb libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB (codec h264)
V....D h264_nvenc NVIDIA NVENC H.264 encoder (codec h264)
V..... h264_v4l2m2m V4L2 mem2mem H.264 encoder wrapper (codec h264)
V....D h264_vaapi H.264/AVC (VAAPI) (codec h264)