1.1.2 • Published 2 years ago

ffmpeg-bar v1.1.2

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

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago