A progress bar cli for ffmpeg
## Contents$ npm i ffmpeg-bar
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);
Comming soon