Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 llogan)

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 llogan, 9 years ago

Description: modified (diff)
Priority: normalwish
Summary: pre / -v optionAdd option to explicitly show progress
Version: unspecifiedgit-master

comment:2 by Ganesh Ajjanagadde, 9 years ago

Cc: gajjanagadde@gmail.com added

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.

comment:3 by Carl Eugen Hoyos, 9 years ago

Resolution: worksforme
Status: newclosed

-stats

comment:4 by 34626, 9 years ago

Resolution: worksforme
Status: closedreopened

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 Carl Eugen Hoyos, 9 years ago

Resolution: worksforme
Status: reopenedclosed

Please use the -stats option.

Last edited 9 years ago by Carl Eugen Hoyos (previous) (diff)

comment:6 by 34626, 9 years ago

Resolution: worksforme
Status: closedreopened

-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 34626, 9 years ago

Resolution: fixed
Status: reopenedclosed

i got it working :) no issue!

"-v quiet -stats" works fine! :)

comment:8 by Carl Eugen Hoyos, 9 years ago

Resolution: fixedworksforme
Note: See TracTickets for help on using tickets.