1.1.2 • Published 3 years ago

ffmpeg-bar v1.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

PROGRESS BAR CLI FOR FFMPEG NODEJS

  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

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago