<div dir="ltr">On Wed, Jun 17, 2015 at 2:17 AM, Gonzalo Garramuno <span dir="ltr"><<a href="mailto:ggarra13@gmail.com" target="_blank">ggarra13@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 16/06/15 09:06, Kevin J. Brooks wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes I am.  For more information, I am developing on Windoze 7.<br>
</blockquote></span>
avcodec_open2 can fail if you lack the library for the codec you want to decode or encode.  For example, libx264.  The libraries in <a href="http://ffmpeg.zeranoe.com" rel="noreferrer" target="_blank">ffmpeg.zeranoe.com</a> contain all codecs, but they are GPL only.  You should try them first and see if the problem goes away.  If it does, you know you have to compile ffmpeg with different flags.<span class="HOEnZb"><font color="#888888"></font></span><br></blockquote></div><br></div><div class="gmail_extra">Since he mentions Windows 7, I assume he is using pre-built packages from zeranoe site (as you mention). These builds contain proprietary codec(s) like x264 (non GPL).<br><br></div><div class="gmail_extra">@Kevin: maybe you have some bare minimum code with you that can produce this error, which people can have a look? <br></div></div>