PROGRESS BAR CLI FOR FFMPEG NODEJS
A progress bar cli for ffmpeg
## ContentsInstallation
$ 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