Page 1 of 1

libavcodec version 55 requires --disable-sout.

Posted: 13 Mar 2013 06:30
by lionwes
in android\vlc\contrib\src\ffmpeg\rules.mak to add --enable-encoder=png ,like this :

FFMPEGCONF = \
--cc="$(CC)" \
--disable-doc \
--disable-decoder=bink \
--disable-encoder=vorbis \
--enable-libgsm \
--enable-libopenjpeg \
--disable-debug \
--disable-avdevice \
--disable-devices \
--disable-avfilter \
--disable-filters \
--disable-bsfs \
--disable-bzlib \
--enable-encoder=png


in android\compile.sh to abolish --disable-sout ,then build,and have this log :

Code: Select all

checking for AVCODEC... yes configure: error: libavcodec version 55 requires --disable-sout
what happen ? :roll:

Re: libavcodec version 55 requires --disable-sout.

Posted: 13 Mar 2013 11:47
by Jean-Baptiste Kempf
Use an older version of libavcodec.

Re: libavcodec version 55 requires --disable-sout.

Posted: 13 Mar 2013 21:31
by edwardw
In fact, to make things easy, you can even find a ready-to-use patch here: viewtopic.php?f=35&t=108955#p369233

Re: libavcodec version 55 requires --disable-sout.

Posted: 14 Mar 2013 01:59
by lionwes
In fact, to make things easy, you can even find a ready-to-use patch here: viewtopic.php?f=35&t=108955#p369233
Thanks,i use the old version is OK