Home > General > MP4 H264 / AAC output for 2K / 4K resolution memory problem

MP4 H264 / AAC output for 2K / 4K resolution memory problem

Sometimes you can see 0x8007000E error for a high resolutions, higher than 1920x1080.
To resolve this problem you must set "/largeaddressaware" flag on output exe file after compilation.

You can do it using the following command call:
call "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
call "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\editbin.exe" /NXCOMPAT:NO /largeaddressaware "program.exe"


Visual Studio 2010 or later required.

To test you must run exe file outside of debugger.

You must use x64/AnyCPU build on x64 OS!