Can't figure out how to make ffmpeg encode with vaapi

A post was split to a new topic: Trying to configure hevc_vaap