ffmpeg-bar
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

PROGRESS BAR CLI FOR FFMPEG NODEJS


A progress bar cli for ffmpeg

## Contents
  1. Installation
  2. Usage
  3. Configuration
  4. Requirements
  5. Author

Installation

$ npm i ffmpeg-bar

Usage

import { FfmpegProgressBar } from 'ffmpeg-bar';
    const bar = new FfmpegProgressBar(yourInputFilePath)
    await bar.exec(command);
    //command: your args ffmpeg command
    //ex: ffmpeg -i input.mp4 -vf scale=200:300 output.mp4 -> ['-i', 'input.mp4', '-vf', 'scale=200:300', 'output.mp4']
import { FfmpegProgressBar } from 'ffmpeg-bar';
    const bar = new FfmpegProgressBar('input.mp4')
    const command = [
      '-i',
      'input.mp4',
      '-vf',
      `scale=200:300`,
      'output.mp4',
  ];
    await bar.exec(command);

Configuration

Comming soon

Requirements

Author

chabuuuu Npm package

Readme

Keywords

none

Package Sidebar

Install

npm i ffmpeg-bar

Weekly Downloads

0

Version

1.1.2

License

ISC

Unpacked Size

8.48 kB

Total Files

4

Last publish

Collaborators

  • chabuuuu