[FFmpeg-user] Compiling ffmpeg 0.11 for mediatomb

Simon Lunden simon at revsec.se
Tue May 29 12:20:53 CEST 2012

I'm trying to compile ffmpeg to use with mediatomb 0.12.1 and

I have tried to configure it as both static and shared with

./configure --prefix=/usr --disable-doc --enable-gpl --enable-version3
--enable-nonfree --disable-network --enable-shared

The compilation of ffmpeg exits with a lot of warnings about libavcodec like

*    libavfilter/af_aformat.c:125:51: warning: 'avfilter_all_formats' is
deprecated (declared at libavfilter/avfilter.h:295)
*    libavcodec/rv10enc.c:67:5: warning: initialization from
incompatible pointer type
*    ffmpeg.c:2970:29: warning: 'icodec' may be used uninitialized in
this function

After that when I try to compile mediatomb and ffmpegthumbnail with
ffmpeg they exit with errors related to libavformat. For example

libffmpegthumbnailer/moviedecoder.cpp:162:57: warning: 'int
avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at
make[2]: *** [libffmpegthumbnailer_la-moviedecoder.lo] Error 1

../src/metadata/ffmpeg_handler.cc:279:35: warning: 'void
av_close_input_file(AVFormatContext*)' is deprecated (declared at
make[2]: *** [libmediatomb_a-ffmpeg_handler.o] Error 1

Is there anyone who has any ideas how to approach this?


More information about the ffmpeg-user mailing list