Re:Show HN: WebAssembly and ffmpeg = Quick clip, overlay, re...
by iudqnolq on Thursday March 25, 2021 @03:09PM
(#26584136)
Don't sell yourself short, the cli args aren't easier either.
Re:Show HN: WebAssembly and ffmpeg = Quick clip, overlay, re...
by Andrew_W on Thursday March 25, 2021 @03:33PM
(#26584419)
True! When I first started building a video creation app, I was flailing around with google searches to find snippets to use. It was such a relief to spend an hour reading ffmpeg docs to understand how it works.
And I'm still learning a ton :)
I'm using ffmpeg.wasm, it's basically ffmpeg compiled for the browser, and it's a simple layer where you basically treat it like the ffmpeg command, eg:
ffmpeg.run(['-i', 'input.gif', ..., 'output.gif').then(() => { // handle output file })