VideoWriter MFX HW acceleration after Intel Media SDK discontinued

How to build OpenCV with MFX support after Intel Media SDK support is discontinued?

Intel officially discontinued the Intel Media SDK support.

On Windows, the MFX is the only HW accel available for VideoWriter as per the HW acceleration types support matrix stated here. (Video IO hardware acceleration · opencv/opencv Wiki · GitHub) After the discontinuation of Media SDK is there any other option to enable this MFX in OpenCV?