0.1.4 • Published 8 months ago

@flownet/ffmpeg-installer v0.1.4

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

@flownet/ffmpeg-installer

Easily install ffmpeg on macOS using the @flownet/ffmpeg-installer library. This library checks if ffmpeg is already installed, and if not, it will attempt to install it via Homebrew. You can also specify a particular version of ffmpeg if you do not want the latest version.

Installation

You can install this package via npm:

npm install @flownet/ffmpeg-installer

Usage

Here's a basic usage example:

import ffmpegInstaller from '@flownet/ffmpeg-installer';

// Install the latest version
ffmpegInstaller().then(console.log).catch(console.error);

// Install a specific version, e.g., 4.3.1
ffmpegInstaller({ version: '4.3.1' }).then(console.log).catch(console.error);

Command Line

If you want to use the library in the command line, you can use the provided binary:

fnet-mpeg-installer               # Install the latest version
fnet-mpeg-installer --version 4.3.1  # Install a specific version

You can also use the shorthand:

fnet-mpeg-installer -v 4.3.1

Dependencies

This library depends on Homebrew being installed on your macOS. If Homebrew is not installed, the library will inform you and ask you to install it manually.

Contributing

Feel free to submit any issues or pull requests if you want to contribute to this project.

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago