
This build uses GPL version of FFmpeg and thus available under GPL 2.0. See LICENSE.WEBM for the full text of software licenses used in this build. See here for more details and FFmpeg's license information. This build uses LGPL version of FFmpeg and thus available under LGPL 2.1 or later. Own library code licensed under LGPL 2.1 or later. And of course to all great projects which made this library possible: FFmpeg, Emscripten, asm.js, node.js and many others. Thanks to videoconverter.js for inspiration. Git clone -recurse-submodules & cd ffmpeg.js

Sudo apt-get install -y git python build-essential automake libtool pkg-config ffmpeg ( - Start new job with provided options.

require("ffmpeg.js/ffmpeg-mp4.js").Ĭonst ffmpeg = require ( "ffmpeg.js" ) let stdout = "" let stderr = "" // Print FFmpeg's version. Add its name after the slash if you need another build, e.g. Sync runįfmpeg.js provides common module API, ffmpeg-webm.js is the default module. See documentation on Module object for the list of options that you can pass. Should not be confused with FFmpeg's patch version number.

