7 ms·
This is awesome! Just so I understand, you've compiled ffmpeg into wasm and run it in-browser?
by hrishios 6y ago
This is awesome! Just so I understand, you've compiled ffmpeg into wasm and run it in-browser?
- redhathacker 6y agoyes! This is all in browser. It's literally just ffmpeg compiled into wasm. The wonder of Javascript right?
- hrishios 6y agoThis is beautiful!! Do you have a write-up or any details on how you did it? There's quite a few things I'd like to apply said treatment to :D
- redhathacker 6y agothere's a guy's github that did most of the work for me. It's open source, google around for ffmpeg wasm. what are the things you wanna do?
- hrishios 6y agoThe one I'm trying to do most recently is to compile bitcoin's bx[1] to wasm, so it can be run in the browser. It's not a crypto-related project, I primarily need the mnemonic generation code so I can generate mnemonics from passphrases for more general-purpose reasons. Two reasons I'm thinking of getting it done in WASM: First is of course, not to roll my own crypto. Second is that if you're asking someone to generate a private key to use themselves, sending ANY information to a server is a big no. Honestly I'd appreciate any thoughts or advice anyone has, I'm open! [1] - https://github.com/libbitcoin/libbitcoin-explorer https://github.com/libbitcoin/libbitcoin-explorer