diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2016-02-15 23:54:52 +0000 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2016-02-15 23:54:52 +0000 |
commit | 3b1d1437a0f3aa4edfed510b1afa0be4ab2589e3 (patch) | |
tree | 4d6a7aaa7b5e4eae91b7d300dc2ec7d4ba2d82f0 | |
parent | 5d823709301b3f2ca1c69b92f2f7dde37b6918a3 (diff) | |
download | ffmpeg-3b1d1437a0f3aa4edfed510b1afa0be4ab2589e3.tar.gz |
vc2enc: print the average quantization index at the end
Similar to how the AAC encoder does it.
0 means the video's been compressed losslessly/almost losslessly
thoughout. Generally, the higher, the worse.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-rw-r--r-- | libavcodec/vc2enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c index f42b10ffef..0ca21956df 100644 --- a/libavcodec/vc2enc.c +++ b/libavcodec/vc2enc.c @@ -974,6 +974,8 @@ static av_cold int vc2_encode_end(AVCodecContext *avctx) int i; VC2EncContext *s = avctx->priv_data; + av_log(avctx, AV_LOG_INFO, "Qavg: %i\n", s->q_start); + for (i = 0; i < 3; i++) { ff_vc2enc_free_transforms(&s->transform_args[i].t); av_freep(&s->plane[i].coef_buf); |