[Libav-user] how to use qscale in lib av api
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Apr 30 12:46:11 CEST 2013
Steffen <Steffen.Roeber at ...> writes:
> formatContext->streams[0]->codec->bit_rate = bitrate;
> if (qscale >= 0)
> {
> formatContext->streams[0]->codec->flags |= CODEC_FLAG_QSCALE;
> formatContext->streams[0]->codec->global_quality = FF_QP2LAMBDA *
> qscale;
Without testing, I wonder if it makes sense to set both
a bitrate and a global quality.
Which encoder are you using?
Carl Eugen
More information about the Libav-user
mailing list