<html><body bgcolor="#ffffff">Hi<br><br>Just to update, setting rc_lookahead to 0 gets around the issue. <br><br>Also sending NULL into the av_codec_encode function fixes the issue.<br><br>PS sorry about not inlining these replies cant get my webmail to perform it.<br><br>Thanks again<br>Chris<br><div><font size="2" face="Verdana"></font></div>
</body></html>