[FFmpeg-devel] [PATCH] fix speex sample

Mike Melanson mike
Fri Apr 3 05:19:15 CEST 2009

Baptiste Coudurier wrote:
> Yes, however I'm sorry, I don't see how this relates to the patch.
> The patch makes the demuxer always set speex and nellymoser to their
> correct _codec_ value IMHO, this "audiosamplerate" is a metadata thing
> according to the specs, defined with onMetadata mechanism.

True. The demuxer shouldn't care about the metadata when determining 
sample rate.

Audio sample rate handling in FLV (and SWF) should be simpler than in 
most any other format. AD/PCM are limited to 11025, 22050, and 44100 Hz. 
Nellymoser is always a fixed rate. Speex is always a fixed rate. MP3 and 
AAC are defined in their respective bitstreams.

     -Mike Melanson

More information about the ffmpeg-devel mailing list