<div>no, I'm not sure about this. What I know is that if max_bitrate is set, then encoder will try not to raise this value. But for some encoders (h264 via openh264 for example) rate control can not work so exactly (for openh264 it requires skipping frames).</div><div> </div><div>-- </div><div>С уважением,</div><div>Слободенюк Александр Игоревич</div><div> </div><div>контактный телефон: +7-925-050-64-62</div><div> </div><div> </div><div> </div><div>03.06.2016, 09:07, "Peter Steinbach" <steinbach@scionics.de>:</div><blockquote type="cite"><p> </p><blockquote> AVCodecContext->max_bitrate * (duration_in_secs / 8) [ bytes ]</blockquote><p><br />Are you sure about this? What if I encode only random noise? Does <br />max_bitrate take this into account as I would expect that you'll have <br />something like:<br /><br />upper_bound_in_bytes = input_in_bytes + encoder_overhead_in_bytes<br /><br />Best,<br />P<br />_______________________________________________<br />Libav-user mailing list<br /><a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br /><a href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a></p></blockquote>