[FFmpeg-devel] [PATCH] h264/aac in flv

Robert Swain robert.swain
Wed May 7 01:10:58 CEST 2008

2008/5/6 Mike Melanson <mike at multimedia.cx>:
> Michael Niedermayer wrote:
>  >> Rofl:
>  >> "Sampling rate
>  >> For AAC: always 3"
>  >>
>  >> Is this ok for you ?
>  >
>  > Ive not doubted that this has to be set to 3. The question is if
>  > 48khz/22khz AAC is allowed in flv or not. If one takes the spec literally
>  > then the awnser is clearly no. But your muxer would store them blindly
>  > with a claimed sample rate of 44khz.
>  Authoritative answer: For AAC inside of a FLV, the Flash Player doesn't
>  care what the FLV header claims the sample rate is; it parses the AAC
>  data structure to find the actual sample rate. Flash Player should be
>  able to play any sample rate that AAC supports (same goes for MP3 now,
>  as well).

That's for the Adobe Flash Player, right? What about the FLV spec?
Other flash players might not do the same. :)


More information about the ffmpeg-devel mailing list