A command line program that runs an FFmpeg command and shows the following in addition to the FFmpeg output:
- Percentage Progress
- ETA (minutes and seconds)
Progress: 25% | Speed: 22.3x | ETA: 1m 33s
python3 better_ffmpeg_progress.py -c "ffmpeg -i input.mp4 -c:a libmp3lame output.mp3"
I have also included a function, which can be imported and used in your own Python program or script:
run_ffmpeg_show_progress("ffmpeg -i input.mp4 -c:a libmp3lame output.mp3")