[Libav-user] FFmpeg libraries in Ubuntu

JunHorng junhorng at gmail.com
Tue Jun 14 17:33:04 CEST 2011


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 <xtingray at gmail.com>

> 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 <junhorng at gmail.com>:
> > 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
> > Libav-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/libav-user
> >
> >
>
>
>
> --
> ============================
>   Gustav Gonzalez
>   xtingray at gmail.com
> ============================
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110614/c2c048ad/attachment.html>


More information about the Libav-user mailing list