Remix.run Logo
jjcm a day 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 to run.

Just for my own development curiosity, was there anything specific you had to do to get ffmpegwasm to work?

bjano 14 hours ago | parent | next [-]

The 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/ 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.

iamflimflam1 a day ago | parent | prev | next [-]

I had the same problem - would love to see a working example.

nzoschke a day ago | parent | prev | next [-]

I 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

zahlman a day ago | parent [-]

I'm a little confused as to how someone makes an "mpreg" joke in the project name, but censors "lame" in the README.

aspenmayer 20 hours ago | parent [-]

Lame could be considered an ableist slur, I guess?

dheera a day ago | parent | prev [-]

I 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

I then made a more general version of it for all commands:

https://github.com/dheera/scripts/blob/master/helpme

Example usage:

    $ helpme ffmpeg assemble all the .jpg files into an .mp4 timelapse video at 8fps