Driver does not support any RC mode compatible with selected options (supported modes: CQP)

Rendering a video with KDEnlive 22.08.1 under Ubuntu 22.04 on the Acer Nitro5 with the hardware accelerated VAAPI Intel H264 profile aborts with this error: Driver does not support any RC mode compatible with selected options (supported modes: CQP).

I’m not deep enough into the KDEnlive architecture to understand what I’m doing, my superficial understanding is that KDEnlive uses the MLT framework to do its rendering which generates this error. A quick search reveals that VAAPI can be configured with rc_mode parameter, so I created a new rendering profile with these parameters which worked:

f=mp4 vaapi_device=/dev/dri/renderD128 vf=’format=nv12,hwupload’ vcodec=h264_vaapi vb=30000k acodec=aac ab=192k channels=2 threads=0 rc_mode=CQP real_time=-1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.