Progress bar for FFmpeg using tqdm
- FFmpeg display Duration
hh:mm:ss.f
at the start - And while encoding it displays Time
hh:mm:ss.f
- Using these values we can count the percentage for the Progress.
import ffpbar
bar = ffpbar.Progress()
bar.display(log=str("ffmpeg log"))
# to display the logs, for debugging
bar.display(log=str(""), display_log=True)
# to get the progress (property)
prg = bar.progress
- Directly install using pip
pip install git+https://github.com/AP-Atul/ffpbar
- Clone and install
git clone https://github.com/AP-Atul/ffpbar.git
python setup.py install