[gst-devel] gst-ffmpeg with AMR support ?
Ronald S. Bultje
rbultje at ronald.bitfreak.net
Fri May 13 03:48:05 CEST 2005
Hi Emmanuel,
On Fri, 2005-05-13 at 11:49, Emmanuel RAULO wrote:
> When configuring gst-ffmpeg with the --enable-amr_nb option, it seems to be
> passed correctly to the configure script of the local copy of ffmpeg but then I
> get amr-related linking errors when calling make (allcodecs.o references
> misssing symbols).
To compile ffmpeg with AMR support, you not only need to enable the
compile-option in thew configure script, but you also need to unpack the
AMR sources into that directory (this isn't documented at all, neither
in gst-ffmpeg nor in ffmpeg itself, so don't worry about not finding
this). I've never tried and I don't care enough to fix it if it's
broken. I would assume it doesn't work, especially because I don't use
ffmpeg's build script, but my own for gst-ffmpeg. The only reason that
you find that option is simply because at some point I hoped to see this
autotool-patch go back upstream. However, I've given up that hope.
Instead, I'd suggest to compile gst-plugins with AMR support, because
that's tested and known to work. To do that, download and install the
autotoolified libamrnb from my website
(http://ronald.bitfreak.net/priv/amrnb-0.0.1.tar.gz or
amrnb-0.0.1-1.src.rpm), re-./configure gst-plugins, go to ext/amrnb/ and
run make + make install (don't forget to run gst-register-0.8
afterwards). Now, 3GP media files with h263 video and AMR-NB audio will
work fine (we have one such file in our testsuite). For the h263 video,
you'll still need gst-ffmpeg, of course.
Cheers,
Ronald
--
Ronald S. Bultje <rbultje at ronald.bitfreak.net>
More information about the gstreamer-devel
mailing list