Audio for videos not working unless I convert to 720p or lower

It appears only if a HDMI-type of audio interface has been selected. So that is not your issue.

See [BUG] Problem with (E-)AC3 Codec and Windows update 24H2 - #59 by rhalibur