Thank you for your reply. I have done what you said, but the error message:
undefined reference to `avcodec_decode_video2' is still shown. Besides, a warning message: ‘dump_format’ is deprecated is also shown. Would you please advice me how you compile FFmpeg in the Ubuntu system? Best regards, Jun-Horng Chen 2011/6/13 Gustav González <[email protected]> > Did you try?: > > % sudo apt-get install libavcodec-dev libavcodec52 > % sudo apt-get install libavformat-dev libavformat52 > % sudo apt-get install libavutil-dev libavutil50 > > 2011/6/12 JunHorng <[email protected]>: > > Hello, > > Following the > > instruction: > http://ubuntuforums.org/showpost.php?p=9868359&postcount=1289 , > > I have installed the FFmpeg libraries in my Ubuntu system. At the > > beginning, it seems to be fine. When I tested the libraries with the > example > > program : "libavcodec/api-example.c", an error message : > > undefined reference to `avcodec_decode_video2' > > will be shown in the project building process. > > Does that mean what I installed is an old version of FFmpeg? > > I am appreciated for any help. > > JunHorng > > _______________________________________________ > > Libav-user mailing list > > [email protected] > > http://ffmpeg.org/mailman/listinfo/libav-user > > > > > > > > -- > ============================ > Gustav Gonzalez > [email protected] > ============================ > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
