I use libav libraries in my program, i want vary video quality encoding via
qscale,
after read ffmpeg.c i write following in my code:

AVCodecContext * enc = ...
AVStream *st = ...

enc->global_quality = st->quality = FF_QP2LAMBDA * qscale;
enc->flags |= CODEC_FLAG_QSCALE;

Then set format context, open encoder ("mpeg4") and encode my video stream.
but in output stream i get video stream with -sameq quality (it seems
quality doesn't depends on qscale (like qscale == 0 always in deep
structures of encoder or has even no sense)).
Somebody can hint which parameters connected with global_quality and
stream->quality may discard qscale?
-- 
View this message in context: 
http://libav-users.943685.n4.nabble.com/libavcodec-emulate-ffmpeg-qscale-parameter-tp2235277p2235277.html
Sent from the libav-users mailing list archive at Nabble.com.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to