<div dir="ltr">Hi,<br><br>For a video streaming application, I need to control bitrate to be under a threshold X for every window of T seconds, (<span style="font-family: courier new,monospace;">X = target_bitrate * T</span>)<br>
for instance, I require that every 5 seconds window will weigh no more than 5000mbits.<br><br>I have been trying to achieve that by using VBV, setting<span class="mw-headline"> <br>  <span style="font-family: courier new,monospace;">vbv-maxrate</span></span><span style="font-family: courier new,monospace;">=target_bitrate <br>
</span>    and <span style="font-family: courier new,monospace;"><br> vbv-bufsize=target_bitrate</span> <span style="font-family: courier new,monospace;">* T</span><br><br>is this the right approach?<br><br>on a related note, since we&#39;re encoding in realtime, and using 1pass ABR mode, I thought of developing a low-latency 2pass mode<br>
i.e. do the second pass with a 10 second delay to the first pass.<br>this made sense to me because the input &quot;movie&quot; is infinite in size as it comes from camera that&#39;s always on.<br>but is this similar to the new lookahead feature?<br>
<br>Thanks<br>--<br>Aviad Rozenhek<br>
</div>