nirajrajgor / ffmpeg-wasm-demo

Convert webcam recording to mp4 in browser/client side using ffmpeg.wasm

Home Page:https://nirajrajgor.github.io/ffmpeg-wasm-demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ffmpeg-wasm-demo

Capture video from webcam and convert to mp4 using ffmpeg.wasm on user's browser.

Available Scripts

This project is a minimal exploration around ffmpeg.wasm using React + Vite. In the project directory, you can run:

npm install

To run local dev server

npm run dev

Demo

Live Demo

Steps

  1. Allow camera permission.
  2. Click on Start capture button and Stop once done.
  3. Click on Convert to mp4 buton.
  4. Once conversion is complete, Play or Download the video.

Note

Works best on Chrome.

License

MIT

About

Convert webcam recording to mp4 in browser/client side using ffmpeg.wasm

https://nirajrajgor.github.io/ffmpeg-wasm-demo/

License:MIT License


Languages

Language:JavaScript 93.0%Language:HTML 6.5%Language:CSS 0.6%