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

*nix specific usage questions
oscord
Blank Cone
Blank Cone
Posts: 13
Joined: 12 Sep 2007 23:17

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

Postby oscord » 14 Jul 2008 02:09

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.

shivaprasad
Blank Cone
Blank Cone
Posts: 21
Joined: 30 Nov 2007 13:15

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

Postby shivaprasad » 15 Jul 2008 12:55

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

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

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

Postby xtophe » 15 Jul 2008 13:15

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
Xtophe

shivaprasad
Blank Cone
Blank Cone
Posts: 21
Joined: 30 Nov 2007 13:15

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

Postby shivaprasad » 29 Jul 2008 15:13

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

hoppingmad
New Cone
New Cone
Posts: 1
Joined: 10 Aug 2008 23:15

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

Postby hoppingmad » 10 Aug 2008 23:19

Reinstalling ffmpeg with "amr" support enabled solved the problem for me.

ahmad_aljallad
Blank Cone
Blank Cone
Posts: 56
Joined: 04 Nov 2008 13:32

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

Postby ahmad_aljallad » 29 Jan 2009 14:28

dear all
am facing the same problem right now can you tell
me how to solve this problem exactly
and thanks


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests