[FFmpeg-devel] [PATCH] 0 of 5 Add Speex Encoding

Art Clarke aclarke
Mon Jul 6 23:55:36 CEST 2009

To follow is an implementation of encoding Speex audio with FFmpeg.  It
supports constant-bit-rate encoding currently, mono and stereo data, and
muxing into OGG and FLV containers.

It's been tested in the Xuggle test system, and the resulting files have
been shown to be streamable (in FLV format) to Adobe Flash Player 10.  I've
also done a full valgrind pass and there are no leaks or memory errors under
those tests.

I'm sending all the patches required, but I'm expecting feedback mostly on
the first patch (the encoder itself).

patch_0500_libspeexenc_addspeexencoder.txt : The meat of the edit.  This is
the encoder itself, using libspeex.
patch_0510_buildsystem_addspeexencoder.txt: Adds the previous patch to the
build system.
patch_0520_allcodecs_addspeexencoder.txt: Registers the new encoder
patch_0530_oggenc_addspeexencoder.txt: Modifies the OGG muxer to support
muxing Speex
patch_0540_flvenc_addspeexencoder.txt: Modifies the FLV muxer to support
muxing FLV (with all the hacky uglyness that Adobe insisted on... grumble).

- Art

xu?ggle (z?' gl) v. To freely encode, decode, and experience audio and

Use Xuggle to get the power of FFmpeg in Java.

More information about the ffmpeg-devel mailing list