[Ffmpeg-devel] --enable-swscaler breaks ffmpeg2theora

Luca Abeni lucabe72
Tue Oct 10 14:46:14 CEST 2006


Hi,

On Tue, 2006-10-10 at 04:01 -0700, Unga wrote:
> Hi
> 
> Compiling ffmpeg with --enable-swscaler develops
> following error in ffmpeg2theora:
> 
> gcc -g -O2 -o ffmpeg2theora
> ffmpeg2theora-ffmpeg2theora.o
> ffmpeg2theora-theorautils.o  -L/usr/lib
> /usr/lib/libtheora.so -lavformat -lavcodec -lz
> /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so -lm
> /usr/lib/libogg.so -ldl
> ffmpeg2theora-ffmpeg2theora.o(.text+0x606): In
> function `ff2theora_output':
> /usr/src/ffmpeg2theora/ffmpeg2theora/ffmpeg2theora.c:354:
> undefined reference to `img_resample_full_init'
> ffmpeg2theora-ffmpeg2theora.o(.text+0xeae):/usr/src/ffmpeg2theora/ffmpeg2theora/ffmpeg2theora.c:591:
> undefined reference to `img_resample'
> ffmpeg2theora-ffmpeg2theora.o(.text+0xee6):/usr/src/ffmpeg2theora/ffmpeg2theora/ffmpeg2theora.c:569:
> undefined reference to `img_convert'
> collect2: ld returned 1 exit status
> make[1]: *** [ffmpeg2theora] Error 1
> make[1]: Leaving directory
> `/usr/src/ffmpeg2theora/ffmpeg2theora'
> make: *** [all-recursive] Error 1
> 
> Is this a bug in ffmpeg?
No;
if you configure with --enable-swscaler, then the user program
(ffmpeg2theora) cannot use img_convert() and img_resample(), but has to
use the swscale interface instead.


				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !





More information about the ffmpeg-devel mailing list