ffprogress provides elapsed time, ETA and progress percentage based on your ffmpeg call. e.g.
Elapsed 00:16:59, ETA 02:26:24, Progress 19.79%Using go get:
go get -u github.com/ashmckenzie/ffprogressOr, download a release.
ffmpeg -y -i in.mkv -o out.mkv 2>&1 | ${GOPATH}/bin/ffprogressNOTE:
- You must redirect STDERR to STDOUT (
2>&1), otherwiseffprogresscan not parse the necessary output - As STDERR to STDOUT, you will need to add
-yto overwrite (if exists) as you won't see theOverwrite ? [y/N]prompt - If you're adjusting the output verbosity (
-v), you will need at minimum32forffprogressto work (32is the default)
- Fork it ( https://github.com/ashmckenzie/ffprogress/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request