git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d82370
)
vc2enc: print the average quantization index at the end
author
Rostislav Pehlivanov
<atomnuker@gmail.com>
Mon, 15 Feb 2016 23:54:52 +0000
(23:54 +0000)
committer
Rostislav Pehlivanov
<atomnuker@gmail.com>
Mon, 15 Feb 2016 23:54:52 +0000
(23:54 +0000)
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>
libavcodec/vc2enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/vc2enc.c
b/libavcodec/vc2enc.c
index
f42b10f
..
0ca2195
100644
(file)
--- 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);