Skip to content

enable av1 encoding in vaapi

Ruijing Dong requested to merge rdong/mesa-rdong-2021:av1_enc_vaapi into main

Enable av1 encoding basic features for VCN4 on VA-API interface. Currently it is using intel cartwheel ffmpeg for testing.

A sample command line for 10bit encoding:

ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -f rawvideo -pix_fmt yuv420p10le -s:v 1920x1080 -i P010.yuv -vf 'format=p010le,hwupload' -c:v av1_vaapi -b:v 5M -maxrate 10M -bufsize 10M -compression_level 1 -vframes 10 -y P010_5M.ivf

Signed-off-by: Ruijing Dong ruijing.dong@amd.com

Merge request reports

Loading