[gst-devel] please help: gst-ffmpeg fails to build with amr support
Forest Wilkinson [gstreamer]
ywhayiz02 at sneakemail.com
Thu Dec 22 17:51:05 CET 2005
Since the amr plugin from gst-plugins-ugly isn't working, as a parallel
effort, I'm trying to get gst-ffmpeg built with amr support. I downloaded
and extracted the amr libraries into gst-ffmpeg-0.10.0/gst-libs/ext/
ffmpeg/libavcodec/amr_float/ and passed the --enable-amr_nb switch to
configure. Unfortunately, the build fails:
gcc -O2 -g -march=i386 -mcpu=i686 -Wall -Wno-switch -o ffplay
ffplay-cmdutils.o ffplay-ffplay.o -L/usr/lib /usr/lib/libSDL.so -lasound
-L/usr/X11R6/lib -lX11 -lXext -lpthread libavutil/.libs/libavutil.a
libavformat/.libs/libavformat.a -ldl libavcodec/.libs/libavcodec.a -lz -lm
libavformat/.libs/libavformat.a(allformats.o)(.text+0xe1): In function
undefined reference to `amr_init'
collect2: ld returned 1 exit status
make: *** [ffplay] Error 1
I notice that libavcodec/amr.c is missing from the ffmpeg distribution
that comes with gst-ffmpeg, though it is present in current ffmpeg
sources. Why was it removed? Is that the cause of the problem, or do I
have to jump through some more hoops to get this working?
Thanks for any help. I'd love to get amr audio working with gstreamer.
More information about the gstreamer-devel