title: Tune FFmpeg H.264 Decoder
body: <p>I'm using the FFmpeg <code>avcodec</code> to decode live video - the <code>avcodec_decode_video2</code> function from libx264 to be exact. How can I decrease the decoding time for each frame? At the moment it takes 20 ms for each frame (frame size about <code>1.5 KB</code>).</p>