[FFmpeg-devel] [PATCH] ffmpeg.c: allow ffmpeg to output stats for each video stream

Moritz Barsnick barsnick at gmx.net
Fri Jun 15 20:19:28 EEST 2018


On Fri, Jun 15, 2018 at 13:37:31 +0800, Wang Cao wrote:

> Make ffmpeg to output stats for each video/audio streams and each
> ouptut file ffmpeg output log in print_report. The report of
> video/audio sizes is clear now as previously all output video/audio
> sizes were combined to report and it is unclear such stats is for one
> output files or aggregates for all output files.

(This needs some cleaing up of the grammar, but that's beside the point
right now.)

Somehow, this changes the stats while running. I no longer see the
overall stats. If I map video first, I see only the video stats, but it
seems like the audio stats flicker through. If I map audio first, I see
a duplicated line (extended), which shows video and audio stat lines
side by side.

I don't think this is what you intended. You only wanted to show the
*final* stats differently, correct? If it is intended, I'd like to
point out that the status line does not have enough space on most
screens to hold twice or more of its current content. I would still
like to see overall stats, also at the end, because it says something
about e.g. the total size. In the summary report, per file and per
stream stats may be nice though.

Moritz


More information about the ffmpeg-devel mailing list