I made a variation from the videoPlayerExample for Emscripten.
My main focus was to implement the local filesystem in Emscripten.
library_html5video.js needs to be replaced for the example, but loading video files from the Emscripten filesystem is broken then (as long as the file is replaced).


1 Like

I have one question (and I already saw some discussion about that topic, but maybe there are different tricks for Emscripten): Is it possible to optimize video playback somehow? Because with a HD video I already have a cpu load of approximately 80%…

Edit: To reduce the framerate with Emscripten I have to use (the example renders every second requestAnimationFrame()):

 emscripten_set_main_loop_timing(1, 2);