Page 1 of 1

configure: error: Your FFmpeg... img_resample() function

Posted: 14 Jul 2008 02:09
by oscord
I'm installing all libs and bins to /VLC/

compiled and installed lame, faac, faad, x264...
I configured and compiled ffmpeg ok FFmpeg version SVN-r13525.

./configure --prefix=/VLC/ --enable-static --disable-ffplay --enable-pthreads --enable-libfaad --enable-libfaac --enable-libamr_nb --enable-gpl --enable-postproc --enable-libmp3lame --enable-nonfree --extra-cflags="-I/VLC/include" --extra-ldflags="-L/VLC/lib" --enable-shared --disable-swscale && make && make install

exported:
LDFLAGS=-L//VLC/lib
CPPFLAGS=-I//VLC/include
PKG_CONFIG_PATH=/root/source/ffmpeg


Now VLC:
./configure --prefix=/VLC/ --with-live555-tree=/VLC/lib/live/ --enable-live555 --enable-ffmpeg --enable-faad --with-ffmpeg-faac --with-ffmpeg-zlib --disable-gui --disable-wxwidgets --disable-skins2 --with-faad-tree=/root/source/faad2 --disable-mad --disable-libmpeg2 --with-ffmpeg-mp3lame --disable-shared --with-ffmpeg-amrnb --enable-x264 --with-x264-tree=/root/source/x264-snapshot-20080527-2245


I get:
configure: error: Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled

Here's config.log: http://pastebin.ca/1071038

please advise.

Re: configure: error: Your FFmpeg... img_resample() function

Posted: 15 Jul 2008 12:55
by shivaprasad
What is the vlc version. Im also getting same error for vlc-0.6.8i version. And for vlc-0.6.8h version im not getting this error.

Check the below given link..
http://git.videolan.org/gitweb.cgi?p=vl ... 51aa0b810c

Re: configure: error: Your FFmpeg... img_resample() function

Posted: 15 Jul 2008 13:15
by xtophe
oscord:
From reading the log, it can't find libamrnb when doing the test for img_resample.
So that mean that you amrnb is misinstalled or you not passing the good info to configure

Re: configure: error: Your FFmpeg... img_resample() function

Posted: 29 Jul 2008 15:13
by shivaprasad
I think this is configure script error. In the configure script "ac_cv_lib_avcodec_img_resample" macro is updated by checking the img_resample function.
you just hardcode "ac_cv_lib_avcodec_img_resample" as "yes" in both if and else cases.
Even i followed the same method and vlc is working fine.



Regards
Shivaprasad

Re: configure: error: Your FFmpeg... img_resample() function

Posted: 10 Aug 2008 23:19
by hoppingmad
Reinstalling ffmpeg with "amr" support enabled solved the problem for me.

Re: configure: error: Your FFmpeg... img_resample() function

Posted: 29 Jan 2009 14:28
by ahmad_aljallad
dear all
am facing the same problem right now can you tell
me how to solve this problem exactly
and thanks