4 ms·
I'm aware of this project, but the demo doesn't work well, might just be slow access to video hosted on Chinese servers: https://github.com/sonysuqin/WasmVideoP
by davidzweig 6y ago
I'm aware of this project, but the demo doesn't work well, might just be slow access to video hosted on Chinese servers: https://github.com/sonysuqin/WasmVideoPlayer https://github.com/sonysuqin/WasmVideoPlayer
I would be interested to sponsor development of a project that could reliably play large video files with different formats in the browser. I'd use it adapt our Chrome extension ('Language Learning with Netflix') into a website/SPA that could load in local video files, so you could study with movies from your hard drive. Contact email is in my profile. :-)
- discmonkey 6y agoWhy not use something like Webrtc? You’ll be able to use a native decoder + seek to the nearest key frame.
- eis 6y agoWebRTC doesn't add anything for his usecase of playing local files. WebRTC is an API to let the browser stream data (including video/audio) over the network. If the browser can play the given video by supporting that codec then you can play it using a HTML5 <video> element directly from local disk. No network communication needed.
- discmonkey 6y agoAh yes, didn't think about the use case of unsupported codecs. Though at that point I would argue it would be easier to convert the file with ffmpeg, etc, then to use a custom decoder in the browser.