[FFmpeg-devel] Decode basic data from an AAC stream before muxing into MOV family containers.

Michael Niedermayer michaelni at gmx.at
Sat Aug 27 22:32:40 CEST 2011


On Thu, Apr 28, 2011 at 04:07:12PM -0400, Leo Izen wrote:
> When using -acodec copy -f mov* (mov* meaning mov, mp4, ipod, 3gp, 3g2, or
> mj2), libavformat will copy the AAC stream as is into the container without
> looking at data such as frame duration. This leads to a mismatch in
> container data and the AAC data, and any smart decoder/demuxer will take the
> AAC values and not the container values. Unfortunately, iTunes isn't smart
> enough and won't be able to play the file, even though QuickTime will. I
> suggest that libavformat should decode the first small part of the AAC
> bitstream (just the metadata, not the audio) and use that in the container
> data, but unfortunately I don't have enough knowledge of how movenc.c works
> to do this.

please open a bug report on ffmpeg.org/trac about this if it hasnt
been fixed yet

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110827/729f7ba3/attachment.asc>


More information about the ffmpeg-devel mailing list