[x264-devel] Changing bitrate on the fly

Arindam Biswas send2ari at gmail.com
Thu Dec 17 13:02:07 CET 2009


Hi,
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.
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.
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.

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.
Can we do something like h.264 stream-->entropy
decoding-->dequantization->requantization->entropy->h.264 stream.
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
using ffmpeg (h.264 decoder) and x264(h.264 encoder)?

Thanking you in advance.

Thanks
Arindam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20091217/6a1624e9/attachment.html>


More information about the x264-devel mailing list