1.1.2 • Published 8 months ago

ffmpeg-bar v1.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months 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

8 months ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago