<div dir="ltr">Hi,<div><br></div><div>I'm using libav to encode (x264) and broadcast (rtmp) live video and audio to a server. I need to know if I'm dropping frames, for whatever reason and take appropriate action.</div>
<div><br></div><div>Is there a way through the API to know if</div><div>   a: cpu/encoding process can't keep up with the real time video/audio feed</div><div>   b: network is too slow to stream the packets</div><div>
<br></div><div>Upon detection I'd like to change the settings (bitrate, resolution, etc...) and restart the broadcast. </div><div><br></div><div>Does anyone know how I might get this information out of libav?</div><div>
<br></div><div>Thanks,</div><div>Mike Nelson</div></div>