[FFmpeg-devel] [PATCH] lavc/libx264: add a warning when using qscale
James Darnley
james.darnley at gmail.com
Sat Mar 22 01:18:51 CET 2014
This addresses ticket #3238.
---
libavcodec/libx264.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 6007630..e858f5d 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -330,6 +330,8 @@ static av_cold int X264_init(AVCodecContext *avctx)
X264Context *x4 = avctx->priv_data;
int sw,sh;
+ av_log(avctx, AV_LOG_WARNING, "-qscale is ignored, -crf is preferred.\n");
+
x264_param_default(&x4->params);
x4->params.b_deblocking_filter = avctx->flags & CODEC_FLAG_LOOP_FILTER;
--
1.7.9
More information about the ffmpeg-devel
mailing list