YIRAN LI <mrfun.china at ...> writes: > AVCodecContext.flags |= CODEC_FLAG_QSCALE > and AVCodecContext.global_quality = qscale * FF_QP2LAMBDA, > in my case qscale = 3 This is correct, qscale 3 ensures (with mpeg-4 asp) a near-lossless visual quality. Carl Eugen