What does HackerNews think of ffmpeg.wasm?

FFmpeg for browser and node, powered by WebAssembly

Language: JavaScript

Cool. I was looking at ffmpeg.wasm[1] the other day and it had me wondering what the performance might look like for a similarly browser-based and offline service for common tasks.

I wonder about the use of remote file operation terminology (e.g., upload, download) versus local (e.g., open, save) when using offline/local and privacy as an attraction.

[1] https://github.com/ffmpegwasm/ffmpeg.wasm

Ooh, if this also used ffmpeg-wasm [1], you could then run the command itself in the browser!

[1] https://github.com/ffmpegwasm/ffmpeg.wasm

Would be cool to see something client side using ffmpeg in browser, like https://github.com/ffmpegwasm/ffmpeg.wasm

Found a previous post from someone using that lib https://news.ycombinator.com/item?id=26580333

Ffmpeg can run in any browser now… https://github.com/ffmpegwasm/ffmpeg.wasm

Maybe can package that up and monetize but… maybe hard to corner a market

For anyone interested in trying FFmpeg in the browser: https://github.com/ffmpegwasm/ffmpeg.wasm

No affiliation -- found it while searching for browser-based ports of FFmpeg.

It would be even cooler to get it working in user browser with local CPU and no upload thanks to ffmpeg on WASM: https://github.com/ffmpegwasm/ffmpeg.wasm
You can use this in Safari https://github.com/ai/audio-recorder-polyfill

https://github.com/GoogleChromeLabs/webm-wasm

Safari doesn't play webm files two options for that

1). you can convert webm to MP4 with or without re-encoding(will be faster) using ffmpeg or ffmpeg-wasm (within browser) https://github.com/ffmpegwasm/ffmpeg.wasm

2). Another option is play webm directly using wasm https://github.com/brion/ogv.js

This is pretty cool. I've also been playing around in this area lately and noticed there's still a drastic performance hit. But seems to work great for smaller files.

Question: Are you compiling FFmpeg to WASM, or FFMpeg's libav and interfacing with that directly?

Also for anyone curious, the author of ffmpeg.wasm[1] has an excellent guide on compiling FFmpeg to WASM:

https://itnext.io/build-ffmpeg-webassembly-version-ffmpeg-js...

[1] https://github.com/ffmpegwasm/ffmpeg.wasm

Hello HN

Modfy is a purely browser-based privacy-first video tool capable of performing tasks like converting, compression, etc without uploading your files.

I thought it would be cool to process video in the browser using Web Assembly and FFmpeg

The project is also open source and based on https://github.com/ffmpegwasm/ffmpeg.wasm

Let me know what you think!