可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My Windows MFC application has a function to export a video file. And it can select encoding format (via WMV or MP4 ) and frame size. But, Unfortunately when i tried to export MP4 file which is set large frame size, everytime MF_E_INVALIDMEDIATYPE happened. Simply put, here is the result when i tested in each case. WMV 640 x 480 ... OK 640 x 576 ... OK 1280 x 720 ... OK 1280 x 720 ... OK 1920 x 1080 ... OK 2048 x 1556 ... OK 4096 x 2160 ... OK MP4 640 x 480 ... OK 640 x 576 ... OK 1280 x 720 ... OK 1280 x 720 ... OK 1920 x 1080 ... OK 2048 x