forked from forks/ffprobe-wasm
c152e9f0eb70d13721bfc862848f485cacd69289
FFProbe Wasm
A Web-based FFProbe. Powered by FFmpeg, Vue and Web Assembly!
https://alfg.github.io/ffprobe-wasm/
⚠️ ️Compatible with Chrome and Edge only due to limited support for SharedArrayBuffer and the required CORS headers for Firefox on Github Pages.
Development
ffprobe-wasm uses emscripten to compile FFmpeg's libav to Web Assembly via Docker.
Emscripten is also used to create and compile the Wasm bindings to be imported by the browser.
Requirements
nodejs- https://nodejs.org/en/download/docker- https://docs.docker.com/desktop/
Setup
- Clone project and build the Wasm module via Docker:
docker-compose run ffprobe-wasm make
This will build the Wasm module and place it into the /dist directory.
- Copy the JS and Wasm modules into
www/public/:
cp -a dist/. www/public/
- Install and run the web application:
cd www
npm install
npm run serve
- Load
http://localhost:8080/in the web browser.
Compiles and minifies for production
npm run build
Deploy
Deploys to Github Pages
npm run deploy
Resources
- https://ffmpeg.org/doxygen/4.1/index.html
- https://emscripten.org/
- https://vuejs.org
- https://bootstrap-vue.org
License
MIT
Languages
Vue
39.8%
C++
37.5%
JavaScript
11.1%
Dockerfile
7.7%
HTML
1.9%
Other
2%