[FFmpeg-devel] [PATCH] Speex decoding via libspeex
Tue Oct 21 21:17:26 CEST 2008
On Mon, Oct 20, 2008 at 11:45 PM, David Conrad <lessen42 at gmail.com> wrote:
> On Oct 21, 2008, at 2:36 AM, Diego Biurrun wrote:
>> On Tue, Oct 21, 2008 at 02:30:01AM -0400, David Conrad wrote:
>>> This adds decode support for Speex using libspeex. Tested with
>>> q5.spx and speexaudio.flv
>>> I'm not sure the best way to handle Speex in flv;
>> Since when does Speex exist in flv? Isn't Ogg the preferred
> Since Flash 10 just recently came out; I'd say see issue 605 if
> roundup wasn't down.
>> Build system part of the patch is OK.
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
It looks like (from the investigation we've done on Red5) that Adobe
always passed 16khz audio in the FLV under Flash Player 10. It sends
a audio-rate ID of "0" in that case, so you're save hardcoding
avctx->sample_rate to 16000 if the codec is speex. That should fix
the ffmpeg -i problem.
See here for background:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel