3 ms·
The mind boggles. I know you said that tongue-in-cheek, and that would be an incredibly cool project, but i feel that unless we put this to rest now someone mig
by mappu 15y ago
The mind boggles. I know you said that tongue-in-cheek, and that would be an incredibly cool project, but i feel that unless we put this to rest now someone might actually take you seriously.
A huge amount of work has gone into making FFMPEG and x264 as fast as they are today. Not only would you lose performance (and integer types) going from C -> JavaScript, but you also lose all the assembly, handwritten for tens of different architectures (including SIMD like SSE). I would expect at least a 100x slowdown.
For your users' sake, please don't do this ;_;
- X-Istence 15y agoWell, we have already have JavaScript Linux[1] ... lets just compile FFMPEG for that, and use it within the users browser. [1]: http://bellard.org/jslinux/ http://bellard.org/jslinux/
- JonnieCache 15y agoYes, in case it wasn't clear, Fabrice Bellard is the author of both FFMPEG and jslinux, and my comment was referring to his outrageous productivity/ability. As great as V8 may be, it isn't a great target for an ffmpeg port. Still, I wouldn't put it past him.
- DarkShikari 15y agoAn optional Java plugin with JNI might work, though it'd result in a client-side security prompt.