Opened 4 years ago

Closed 4 years ago

Last modified 4 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 Changed 4 years ago by llogan

  • Description modified (diff)
  • Priority changed from normal to wish
  • Summary changed from pre / -v option to Add option to explicitly show progress
  • Version changed from unspecified to git-master

comment:2 Changed 4 years ago by gajjanag

  • 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 Changed 4 years ago by cehoyos

  • Resolution set to worksforme
  • Status changed from new to closed

-stats

comment:4 Changed 4 years ago by 34626

  • Resolution worksforme deleted
  • Status changed from closed to 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 Changed 4 years ago by cehoyos

  • Resolution set to worksforme
  • Status changed from reopened to closed

Please use the --stats option.

Version 0, edited 4 years ago by cehoyos (next)

comment:6 Changed 4 years ago by 34626

  • Resolution worksforme deleted
  • Status changed from closed to 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 Changed 4 years ago by 34626

  • Resolution set to fixed
  • Status changed from reopened to closed

i got it working :) no issue!

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

comment:8 Changed 4 years ago by cehoyos

  • Resolution changed from fixed to worksforme
Note: See TracTickets for help on using tickets.