emscripten: html5video gray format was incorrect