Page 1 of 1

libavcodec versions 55 and later are not supported yet.

Posted: 10 Mar 2013 02:47
by lionwes
when build vlc-android in ubuntu ,has this log :

Code: Select all

checking for AVCODEC... yes configure: error: libavcodec versions 55 and later are not supported yet.
The vlc-android version :
android/.git/refs/heads : 8bafa415c28496eda73b2b2597347cebb45aca1c

android/vlc/.git/refs/heads :
2eecbeed733ffd22a75ed75a17b63e8d75112923

please help^_^

Re: libavcodec versions 55 and later are not supported yet.

Posted: 10 Mar 2013 15:19
by edwardw
Use a slightly less recent version of libav.

Re: libavcodec versions 55 and later are not supported yet.

Posted: 11 Mar 2013 15:39
by lionwes
Use a slightly less recent version of libav.
Dear edwardw :

Here is my libavcode version :

Code: Select all

prefix=/android/vlc/contrib/mipsel-linux-android exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include Name: libavcodec Description: Libav codec library Version: 55.0.0 Requires: libavutil = 52.8.0 Requires.private: Conflicts: Libs: -L${libdir} -lavcodec -lopenjpeg -lgsm -lm -lz Libs.private: Cflags: -I${includedir}
what version of libavcode is need ?

Re: libavcodec versions 55 and later are not supported yet.

Posted: 11 Mar 2013 15:54
by edwardw
I think it tells you above, no?
Version: 55.0.0

Re: libavcodec versions 55 and later are not supported yet.

Posted: 11 Mar 2013 16:44
by PATT
How to use a slightly less recent version of libav??

Re: libavcodec versions 55 and later are not supported yet.

Posted: 12 Mar 2013 04:39
by lionwes
I think it tells you above, no?
Version: 55.0.0
how to get the recent version of libav ? :roll:

Re: libavcodec versions 55 and later are not supported yet.

Posted: 12 Mar 2013 12:24
by edwardw
Apply this diff to vlc/:

Code: Select all

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak index 2647fcf..604d2ac 100644 --- a/contrib/src/ffmpeg/rules.mak +++ b/contrib/src/ffmpeg/rules.mak @@ -1,7 +1,7 @@ # FFmpeg #FFMPEG_SNAPURL := http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=HEAD;sf=tgz -FFMPEG_SNAPURL := http://git.libav.org/?p=libav.git;a=snapshot;h=HEAD;sf=tgz +FFMPEG_SNAPURL := http://git.libav.org/?p=libav.git;a=snapshot;h=57231e4d5b467833fb289439cd35a92513bb55c1;sf=tgz FFMPEGCONF = \ --cc="$(CC)" \

Re: libavcodec versions 55 and later are not supported yet.

Posted: 12 Mar 2013 14:38
by PATT
Thanks so much.
Although I have used libavcodec version 54 to replace the downloaded android/vlc/contrib/tarballs/ffmpeg-HEAD.tar.gz to solve this problem.