Hi All,

I am encoding a raw yuv video to mpeg4 format in "Constant Quality mode"
(constant QP) mode.
>From my understanding, i am using the following settings for Const QP.

CodecEncCtx->codec_type = CODEC_TYPE_VIDEO;
CodecEncCtx->codec_id = CODEC_ID_MPEG4;
CodecEncCtx->width = 352;
CodecEncCtx->height = 288;
CodecEncCtx->time_base.num = 1;
CodecEncCtx->time_base.den = 25;
CodecEncCtx->gop_size = 12;

CodecEncCtx->qmin = 20;
CodecEncCtx->qmax = 20;
CodecEncCtx->qcompress = 0;
CodecEncCtx->qblur = 0;
CodecEncCtx->max_qdiff = 0;

CodecEncCtx->max_b_frames = 0;
CodecEncCtx->pix_fmt = PIX_FMT_YUV420P;
CodecEncCtx->mpeg_quant = 0;

Is this right? advice me if i need to do any additional settings...

Best Regards,
Srini.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to