Better HN
topnewbestaskshowjobs
Log inSign up

tejaswigowda

30 karma · joined Mar 8, 2016 (10y ago) · 22 submissions

Submissions

comment 5mo ago · link · parent

Absolutely. Audio extraction, format conversion, loudness normalization are all there. If you have a specific TTS pipeline in mind the raw FFmpeg mode should handle most of it.

comment 5mo ago · link · parent

WASM SIMD is 128-bit wide as dtf noted, so AVX-512 won't apply here. Longer term, WebGPU could be a more interesting path for compute acceleration in the browser than SIMD widening.

comment 5mo ago · link · parent

Active development -- PR just came in from luispa. Happy to review contributions.

comment 5mo ago · link · parent

Thank you! Reviewed and merged!

comment 5mo ago · link · parent

~4x slower than native for encoding, which is acceptable for clips under 5 mins. No hardware encoding -- WASM is CPU-bound, for now. WebCodecs could bridge that gap in future.

comment 5mo ago · link · parent

It already does -- trim, crop, concatenate, picture-in-picture, side-by-side, subtitle embedding. What would you add? Let's make it happen.

comment 5mo ago · link · parent

Fair. The emojis are a style choice -- I find them useful as visual anchors when scanning a long feature list. The code is in docs/ either way.

comment 5mo ago · link · parent

The browser-as-runtime has one property nothing else has: zero install on every OS. For sensitive files for medical, legal, personal. It's also the only architecture where you can verifiably prove data never left the device.

My personal pain point. I teach entertainment engineering at univ. We need this. All the time. Getting IT to install this in a classroom is a pain. It has already reduced my pain regarding this (anecdotal, yes. But I see the results and am planning to do a usability study). Thought it might be useful to someone else.

comment 5mo ago · link · parent

This is a great addition! You can use the raw ffmpeg mode to do this currently if you know the flag syntax

comment 5mo ago · link · parent

Whisper.cpp for local speech transcription and WebLLM for in-browser LLM inference follow the same pattern. We're calling this the Web-CLI architecture. A paper is in progress.

comment 5mo ago · link · parent

Thank you. This works entirely offline. I work in a univ setting where I cannot easily install software for classes. This can be used as a regular app once installed as a PWA. Even the ffmppeg lib is cached. Once installed it looks like any other app, with dock icon etc.

comment 5mo ago · link · parent

Go here for live demo: https://tejaswigowda.com/ffmpeg-webCLI/

Thanks for all the comments. Changed upload icon to floppy disk to make it clear that all data stays local.

comment 5mo ago · link · parent

Thank you!

comment 5mo ago · link · parent

Thank you. Switched it to a floppy disk!

15.

Show HN: FFmpeg WebCLI – Full FFmpeg in Browser, Offline PWA, No Uploads(WASM)(github.com ↗)

86 points · by tejaswigowda · 5mo ago · 43 comments