Fedora 37 includes a notable change which disables hardware acceleration for proprietary video codecs (most commonly H.264 and H.265) when using the Mesa drivers stack. Open video codecs (VP8, VP9, AV1 - based on your hardware capabilities) are unaffected and can still be hardware-accelerated out of the box.
This change mainly affects AMD graphics cards. (Intel GPUs don’t use Mesa for video acceleration, Nvidia cards use the proprietary driver, and Mesa video acceleration mostly doesn’t work properly with the opensource Nouveau driver).
The patent licensing around H.264/H.265 is such that providing the acceleration support further could unfortunately leave Red Hat and other Fedora distributors exposed to legal problems.
You can read more about this problem in this discussion on the devel list.
It is possible to install Mesa video acceleration libraries with full support including proprietary video codecs from RPM Fusion. The specific instructions (after enabling the repository) are in the Multimedia howto in the Hardware Accelerated Codec section. For RPM OSTREE based systems please refer to the multimedia section of Howto/OSTree - RPM Fusion .
Please note that RPM Fusion is not supported by Fedora and using software from it might violate software patents, depending where you live.
You can discuss this topic here.