News for hackers. Stuff that matters.
Re:Show HN: FileConverter using FFMPEG as WASM to convert files by hrishios on Monday September 21, 2020 @04:09AM (#24540942)
This is awesome! Just so I understand, you've compiled ffmpeg into wasm and run it in-browser?
Re:Show HN: FileConverter using FFMPEG as WASM to convert files by redhathacker on Monday September 21, 2020 @11:41AM (#24544676)
yes! This is all in browser. It's literally just ffmpeg compiled into wasm.

The wonder of Javascript right?

Re:Show HN: FileConverter using FFMPEG as WASM to convert files by hrishios on Tuesday September 22, 2020 @06:46AM (#24552973)
This 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

Re:Show HN: FileConverter using FFMPEG as WASM to convert files by redhathacker on Thursday September 24, 2020 @04:05AM (#24576425)
there'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?

Re:Show HN: FileConverter using FFMPEG as WASM to convert files by hrishios on Thursday September 24, 2020 @03:44PM (#24582709)
The 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