4 ms·
Great work on this - I made a terminal command similar to this (llmpeg), and was actively trying to get exactly this working - a webasm compiled version of ffmp
by jjcm 1y ago
Great work on this - I made a terminal command similar to this (llmpeg), and was actively trying to get exactly this working - a webasm compiled version of ffmpeg that could encode in the browser. I for the life of me couldn't get the provided examples on https://github.com/ffmpegwasm/ffmpeg.wasm https://github.com/ffmpegwasm/ffmpeg.wasm to run.
Just for my own development curiosity, was there anything specific you had to do to get ffmpegwasm to work?
- nzoschke 1y agoI don’t know about the browser but I’ve been playing with a WASM build through this Go wrapper. Nice to not need CGO. https://codeberg.org/gruf/go-ffmpreg https://codeberg.org/gruf/go-ffmpreg
- zahlman 1y agoI'm a little confused as to how someone makes an "mpreg" joke in the project name, but censors "lame" in the README.
- aspenmayer 1y agoLame could be considered an ableist slur, I guess?
- iamflimflam1 1y agoI had the same problem - would love to see a working example.
- dheera 1y agoI made a script of this sort too originally called "ffmpeg-english" last year. Interesting how people reacted to it: https://news.ycombinator.com/item?id=40410637 https://news.ycombinator.com/item?id=40410637 I then made a more general version of it for all commands: https://github.com/dheera/scripts/blob/master/helpme https://github.com/dheera/scripts/blob/master/helpme Example usage: $ helpme ffmpeg assemble all the .jpg files into an .mp4 timelapse video at 8fps
- bjano 1y agoThe creator of that repo has a blog with some posts on building a wasm version of FFmpeg, I mostly followed those: https://jeromewus.medium.com/ https://jeromewus.medium.com/ I also used some of their scripts for building the 3rd-party libraries. It took a bit of trial and error to see which versions of the different libraries and build tools work together.