Closed Kagami closed 9 years ago
So I implemented primitive software decoder. Some ideas how it could be improved:
Current implementation is slow and kludgy so it's not worth to tune it even more. Correct implementation will require separate build (player code with Emscripten interface linked to ffmpeg) and a lot of effort, but since our primary goal is encoding, it can wait for some time.
I'm going to replace HTML5 player with software one, powered by ffmpeg's decoders, in order to be able to play and edit any video files. Realtime decoding is not that important since user may select heavyweight sources but it may be worth to think whether we can optimize it a bit.
I will start with simple and slow one-ffmpeg-call-per-one-frame, later we can try to adapt some ideas from ogv.js project.