[FFmpeg-devel] how to add configuration option to ffmepg

2015-01-02 Thread llj
Hi, dear ffmpeg developer, below is a peace of code in libx264.c. static av_cold int X264_init(AVCodecContext *avctx) { X264Context *x4 = avctx->priv_data; int sw,sh; if (avctx->global_quality > 0) av_log(avctx, AV_LOG_WARNING, "-qscale is ignored, -crf is recommended.\n");

[FFmpeg-devel] ffmpeg improvement for x265

2014-12-29 Thread llj
hello, My name is Liujun Liu, a developer of x265 group. firstly I want to describe what the problem is. There is an option HI_BIT_DEPTH in x265 CMake build option, this is for 10 bits video encoder, by default this option is off, so it encodes video as 8 bits precision(even there is command lin