3 ms·
Amy advice for someone trying to write code against the ffmpeg api for the first time? It's...esoteric and the "correct" way seems to be reading a bunch of ten
by iudqnolq 6y ago
Amy advice for someone trying to write code against the ffmpeg api for the first time? It's...esoteric and the "correct" way seems to be reading a bunch of ten year old blog posts by random uncertain people. Even the python binding devs have a disclaimer they aren't confident they understand everything they document, despite doing their best to read the source.
- Andrew_W 6y agoOh, no, I have nothing there, sorry! haha 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 })
- iudqnolq 6y agoDon't sell yourself short, the cli args aren't easier either.
- Andrew_W 6y agoTrue! 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 :)