<div>Hi,</div>
<div>Is there any way/patch to change bitrate on the fly during encoding? I am working on a network application where I am continuously changing the bitrate based on network condition.</div>
<div>After searching through the mailing list I found that stopping and starting the encoder is the best way. But I have a problem with that solution.</div>
<div>Because starting the encoder means one IDR frame is inserted which means more bits so it is working worse when the network has significant amount of loss.</div>
<div> </div>
<div>My second question is I am working on a transcoding application where I am getting h.264 stream, for changing the bitrate of stream by decoding and encoding with new rate. It is taking huge CPU. </div>
<div>Can we do something like h.264 stream-->entropy decoding-->dequantization->requantization->entropy->h.264 stream.</div>
<div>I like know if this kind of technique is already implemented in any open source?. If not then can u give me some guideline of how to implement it </div>
<div>using ffmpeg (h.264 decoder) and x264(h.264 encoder)?</div>
<div> </div>
<div>Thanking you in advance.</div>
<div> </div>
<div>Thanks</div>
<div>Arindam</div>