>
> Have a look at
> http://readlist.com/lists/mplayerhq.hu/ffmpeg-user/1/8128.html
>
> Admittedly this is using a live video feed rather than an open file, but
> it shouldn't be too hard to convert - in fact I'll be doing just that
> fairly soon.
>

Thanks! This provides just what I need.

On unrelated note - any idea about the following section:

/* Initialize all VBR settings */
pOCodecCtx->qmin = pOCodecCtx->qmax = bQuality;
pOCodecCtx->mb_lmin = pOCodecCtx->lmin = pOCodecCtx->qmin * FF_QP2LAMBDA;
pOCodecCtx->mb_lmax = pOCodecCtx->lmax = pOCodecCtx->qmax * FF_QP2LAMBDA;
pOCodecCtx->flags |= CODEC_FLAG_QSCALE;
pOCodecCtx->global_quality = pOCodecCtx->qmin * FF_QP2LAMBDA;

It seems as he turns on fixed quality of 3 for JPEG output, do you know why?

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

Reply via email to