#4771 closed enhancement (worksforme)
Add option to explicitly show progress
Reported by: | 34626 | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | ffmpeg |
Version: | git-master | Keywords: | |
Cc: | gajjanagadde@gmail.com | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Using ffmpeg to convert my movies. I have a script and therefore I'm not interested in seeing all the output on the terminal, so I use -v quiet
, but this also excludes the progress of the current job. Would be nice if -v progress
was an option to see only the current progress.
ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13) configuration: --prefix=/home/kenneth/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kenneth/ffmpeg_build/include --extra-ldflags=-L/home/kenneth/ffmpeg_build/lib --bindir=/home/kenneth/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree libavutil 54. 23.101 / 54. 23.101 libavcodec 56. 40.100 / 56. 40.100 libavformat 56. 33.101 / 56. 33.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 16.101 / 5. 16.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100
Built on Ubuntu 15.04 64 bit.
Change History (8)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|---|
Priority: | normal → wish |
Summary: | pre / -v option → Add option to explicitly show progress |
Version: | unspecified → git-master |
comment:2 by , 9 years ago
Cc: | added |
---|
comment:4 by , 9 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
If you set -pre to: info / verbose
you will see the progress of each converting file, but if you go for: warning, error, fatal, panic and quiet then you dont see the progress of each file being converted..
But when using info / verbose i also get tons of other output in the terminal that im not interested in seeing..
comment:5 by , 9 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
Please use the -stats
option.
comment:6 by , 9 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
-stats dosent work with "-v quiet -stats" i get no progress meter... i found this case with the same issue: https://trac.ffmpeg.org/ticket/1687
comment:7 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
i got it working :) no issue!
"-v quiet -stats" works fine! :)
comment:8 by , 9 years ago
Resolution: | fixed → worksforme |
---|
I am not convinced that this is something that FFmpeg needs to solve.
I am thinking vaguely in terms of the "UNIX philosophy".
FFmpeg already supports useful gradations of error messages (quiet, panic,...).
Combining in a simple pipeline with some standard text processing utilities should yield a variety of output behaviors, e.g one can redirect portions of the stream, filter them, etc.
I certainly don't think adding a new option is the right way of going about this.
Can you give a concrete instance of this with the usual output and your desired output?
Sometimes messages that we have are too verbose/too little/at the wrong level,
so it would be helpful to know whether this is a bug with them.
In any case, please give more details, full console output, sample file (if any), etc.