[FFmpeg-cvslog] ffmpeg: print data size too in statistic

Michael Niedermayer git at videolan.org
Fri Jan 31 01:41:47 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jan 30 20:26:36 2014 +0100| [2e02d71237883fa9e876078b9a303fed435394c3] | committer: Michael Niedermayer

ffmpeg: print data size too in statistic

Reviewed-by: Stefano Sabatini <stefasab at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2e02d71237883fa9e876078b9a303fed435394c3
---

 ffmpeg.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 5aeb961..fc53b1d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1316,10 +1316,11 @@ static void print_report(int is_last_report, int64_t timer_start, int64_t cur_ti
     if (is_last_report) {
         int64_t raw= audio_size + video_size + data_size + subtitle_size + extra_size;
         av_log(NULL, AV_LOG_INFO, "\n");
-        av_log(NULL, AV_LOG_INFO, "video:%1.0fkB audio:%1.0fkB subtitle:%1.0f global headers:%1.0fkB muxing overhead %f%%\n",
+        av_log(NULL, AV_LOG_INFO, "video:%1.0fkB audio:%1.0fkB subtitle:%1.0f data:%1.0f global headers:%1.0fkB muxing overhead %f%%\n",
                video_size / 1024.0,
                audio_size / 1024.0,
                subtitle_size / 1024.0,
+               data_size / 1024.0,
                extra_size / 1024.0,
                100.0 * (total_size - raw) / raw
         );



More information about the ffmpeg-cvslog mailing list