So may be check your version or check what Ubuntu is doing wrong / use something else.
What I want to see is VAAPI encoding used, not just decoding. Better even Vulkan video both for decoding and encoding.