command
module
Version:
v0.0.0-...-1b4bf69
Opens a new window with list of versions in this module.
Published: Sep 7, 2016
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
- 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
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.