Steam Deck verified game trailer encoding. H.265 at 1440p (Steam Deck OLED native resolution), CRF 24 slow for high quality at manageable file sizes, Opus for the modern audio stack, MKV for Valve/Linux ecosystem compatibility.
The answer to this one stays hidden while it is in play. Solve it, then come back tomorrow for the breakdown.