Hi,

Rafael Maia wrote:
> Hi,
> I`ve found that:
>  
> - if i close the AVCodec
> - change the AVCodecContext`s bit_rate and 
> - re-open the AVCodec with the same AVCodecContext 
>  
> it works.
>  
> Is there any problem in this solution? (...besides the delay of re-opening 
> the codec)

In this way, you are not changing the bitrate of a stream, but you are starting
to encode a new stream. If this is acceptable for your use case, then I'd say
that there are no problems.


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

Reply via email to