Skip to content

Latest commit

 

History

History
executable file
·
31 lines (19 loc) · 793 Bytes

README.md

File metadata and controls

executable file
·
31 lines (19 loc) · 793 Bytes

ffmpeg.js

This is a fork of the original ffmpeg.js project that provides builds to use FFMPEG as a library for decoding live video streams.

The original ffmpeg.js project provides FFmpeg builds ported to JavaScript using Emscripten project. Builds are optimized for in-browser use: minimal size for faster loading, asm.js, performance tunings, etc. Though they work in Node as well.

Emscripten

Version 2.0.29

FFMPEG

Version: 4.4

Build

The compilation options are contained into build-js.sh file

You can build using docker image:

$ ./build-with-docker.sh

This will build dist files into dist directory

Test

You can test using python simple server from the root directory:

$ python -m http.server 8000