ffprogress

command module
v0.0.0-...-1b4bf69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2016 License: MIT Imports: 8 Imported by: 0

README

ffprogress

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%

Installation

Using go get:

go get -u github.com/ashmckenzie/ffprogress

Or, download a release.

Usage

ffmpeg -y -i in.mkv -o out.mkv 2>&1 | ${GOPATH}/bin/ffprogress

NOTE:

  • You must redirect STDERR to STDOUT (2>&1), otherwise ffprogress can not parse the necessary output
  • As STDERR to STDOUT, you will need to add -y to overwrite (if exists) as you won't see the Overwrite ? [y/N] prompt
  • If you're adjusting the output verbosity (-v), you will need at minimum 32 for ffprogress to work (32 is the default)

Contributing

  1. Fork it ( https://github.com/ashmckenzie/ffprogress/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL