[Libav-user] how to modify parameters during the encoding

Jan Pohanka xhpohanka at gmail.com
Tue Apr 26 13:28:52 CEST 2011


I have discovered that q_min/max can be altered during the encoding
with no problems, but avctx->bit_rate not...

2011/4/26 Jan Pohanka <xhpohanka at gmail.com>:
> Hello,
> I wonder if it is possible to change encoding parameters such as
> bit_rate, flag_qscale, q_min/max etc. during the encoding. I need it
> because I have varying parameters of transmission channel. These
> parameters are normally set up at the beginning and initialized by
> calling avcodec_open() function, I think that recalling it is not a
> good way because it initializes some memory.
>
> Is there please any way how to modify mentioned parameters like I need, please?
>
> regards
> Jan
>


More information about the Libav-user mailing list