The iMX8QM specifications list the VPU is capable of H.265 decode @ 4Kp60. Is there any limitation on the width or is it the number of total pixels? Experimented with 4098x720 which produces corrupted output but 4096x720 succeeds.
imx8qm max vpu decoding resolution is 4k, so couldn't support 4098 as width resolution