<div>Thank you for your reply. I have done what you said, but the error message: </div><div><br></div><div>undefined reference to `avcodec_decode_video2'</div><br clear="all">is still shown. Besides, a warning message: <div>
<br></div><div>‘dump_format’ is deprecated<br><div><br></div><div>is also shown. Would you please advice me how you compile FFmpeg in    the Ubuntu system?</div><div><br></div><div>Best regards,</div><div><br></div><div>Jun-Horng Chen<br>
<br><br><div class="gmail_quote">2011/6/13 Gustav González <span dir="ltr"><<a href="mailto:xtingray@gmail.com">xtingray@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Did you try?:<br><br>
% sudo apt-get install libavcodec-dev libavcodec52<br>
% sudo apt-get install libavformat-dev libavformat52<br>
% sudo apt-get install libavutil-dev libavutil50<br>
<br>
2011/6/12 JunHorng <<a href="mailto:junhorng@gmail.com">junhorng@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hello,<br>
> Following the<br>
> instruction: <a href="http://ubuntuforums.org/showpost.php?p=9868359&postcount=1289" target="_blank">http://ubuntuforums.org/showpost.php?p=9868359&postcount=1289</a> ,<br>
> I have installed the   FFmpeg libraries in my Ubuntu system. At the<br>
> beginning, it seems to be fine. When I tested the libraries with the example<br>
> program : "libavcodec/api-example.c", an error message :<br>
> undefined reference to `avcodec_decode_video2'<br>
> will be shown in the project building process.<br>
> Does that mean what I installed is an old version of FFmpeg?<br>
> I am appreciated for any help.<br>
> JunHorng<br>
</div></div>> _______________________________________________<br>
> Libav-user mailing list<br>
> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
============================<br>
  Gustav Gonzalez<br>
  <a href="mailto:xtingray@gmail.com">xtingray@gmail.com</a><br>
============================<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br></div></div>