diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-30 23:26:36 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-31 04:36:47 +0400 |
commit | 2e02d71237883fa9e876078b9a303fed435394c3 (patch) | |
tree | a61a0a39bee1aa3d3b6250ed4d88773f4e0ea177 /ffmpeg.c | |
parent | 4111856545770dea95525a9a57129ff3320c315c (diff) |
ffmpeg: print data size too in statistic
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 ); |