GithubHelp home page GithubHelp logo

kongxiaojian123 / ffmpeg-static Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eugeneware/ffmpeg-static

0.0 1.0 0.0 129.96 MB

ffmpeg static binaries for Mac OSX and Linux and Windows

License: Other

JavaScript 68.48% Shell 31.52%

ffmpeg-static's Introduction

ffmpeg-static

ffmpeg static binaries for Mac OSX and Linux and Windows.

Supports macOS (64-bit), Linux (32 and 64-bit, armhf, arm64) and Windows (32 and 64-bit). The ffmpeg version currently used is 4.3.1.

Note: The version of ffmpeg-static follows SemVer. When releasing new versions, we do not consider breaking changes in ffmpeg itself, but only the JS interface (see below). To stop ffmpeg-static from breaking your code by getting updated, lock the version down or use a lockfile.

npm version build status minimum Node.js version

Installation

This module is installed via npm:

$ npm install ffmpeg-static

Note: During installation, it will download the appropriate ffmpeg binary from the b4.3.1 GitHub release. Use and distribution of the binary releases of FFmpeg are covered by their respective license.

Electron & other cross-platform packaging tools

Because ffmpeg-static will download a binary specific to the OS/platform, you need to purge node_modules before (re-)packaging your app for a different OS/platform (read more in #35).

Example Usage

Returns the path of a statically linked ffmpeg binary on the local filesystem.

var pathToFfmpeg = require('ffmpeg-static');
console.log(pathToFfmpeg);
/Users/j/playground/node_modules/ffmpeg-static/ffmpeg

Check the example script for a more thorough example.

Sources of the binaries

The build script downloads binaries from these locations:

The build script extracts build information and (when possible) the license file from the downloaded package or the distribution server. Please consult the individual build's project site for exact source versions, which you can locate based on the version information included in the README file.

Show your support

This npm package includes statically linked binaries that are produced by the following individuals. Please consider supporting and donating to them who have been providing quality binary builds for many years:

Building the project

The unzip, tar CLI executables need to be installed. On macOS, use brew install gnu-tar xz.

ffmpeg-static's People

Contributors

derhuerst avatar jperl avatar eugeneware avatar nklhtv avatar ravismsk avatar dependabot[bot] avatar mathieu-aubin avatar maxwellb avatar paulgalow avatar thelastzombie avatar douglassllc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.