ipatsu / webrtc2sip

Automatically exported from code.google.com/p/webrtc2sip
0 stars 0 forks source link

Configure --with-ffmpeg fails #162

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure & compile ffmpeg
    cd /usr/local/src
    git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
    cd ffmpeg
    git checkout n1.2
    ./configure --prefix=/usr --extra-cflags="-fPIC" --extra-ldflags="-lpthread" --enable-pic --enable-memalign-hack --enable-pthreads --enable-shared --disable-static --disable-network --enable-pthreads --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --enable-gpl --enable-nonfree --disable-debug

2. Download and configure Doubango (v2.0)
    cd /usr/local/src
    svn checkout http://doubango.googlecode.com/svn/branches/2.0/doubango doubango
    cd doubango
    ./autogen.sh
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-ssl --with-srtp --with-vpx --with-amr --with-speex --with-speexdsp --with-gsm --with-ilbc --with-ffmpeg3.

What is the expected output? What do you see instead?
- Expected output : configuration & compilation completes successfull
- Output I get :
checking libavutil/avutil.h usability... yes
checking libavutil/avutil.h presence... yes
checking for libavutil/avutil.h... yes
checking for av_gettime in -lavutil... no
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
checking for sws_scale in -lswscale... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking for avcodec_alloc_frame in -lavcodec... yes
configure: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not 
found...die

Original issue reported on code.google.com by bart.boe...@gmail.com on 1 Oct 2014 at 9:38

GoogleCodeExporter commented 9 years ago
when you do this:

1. Configure & compile ffmpeg
    cd /usr/local/src
    git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
    cd ffmpeg
    git checkout n1.2
    ./configure --prefix=/usr --extra-cflags="-fPIC" --extra-ldflags="-lpthread" --enable-pic --enable-memalign-hack --enable-pthreads --enable-shared --disable-static --disable-network --enable-pthreads --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --enable-gpl --enable-nonfree --disable-debug

remove: --enable-nonfree --disable-debug
and add: --enable-libx264 --enable-encoder=libx264 --enable-decoder=h264
or just add: --enable-libx264

then do the Configure Doubango

Original comment by bryandea...@gmail.com on 30 Jan 2015 at 8:39