[Ffmpeg-devel] --enable-swscaler breaks ffmpeg2theora
Unga
unga888
Tue Oct 10 16:07:43 CEST 2006
--- Luca Abeni <lucabe72 at email.it> wrote:
> 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, thank you very much for the explanation.
Regards
Unga
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the ffmpeg-devel
mailing list