[FFmpeg-devel] [RFC] flvenc: missing aac extradata
michaelni at gmx.at
Fri Apr 19 17:16:58 CEST 2013
On Thu, Dec 13, 2012 at 02:54:56PM +0100, Björn Axelsson wrote:
> Problem found when remuxing mpegts (h264 + aac) to flv across pipes,
> like this:
> ffmpeg -f mpegts -i - -absf aac_adtstoasc -acodec copy -vcodec copy -f flv -
> The AAC extradata is needed for the FLV header in flv_write_header(),
> but is not available at that time. This results in unusable audio in the
> resulting FLV stream.
> We currently use something like the attached patch as a workaround, but
> I'm sure someone can point me towards a better solution.
how can the problem be reproduced?
flv does not seem to support 48khz and all aac in ts i could find is
If i create my own ts with 44khz, it seems working fine
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel