[libav-bugs] [Bug 340] Failed to transcode to AAC-ELD ADTS

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sun Aug 5 20:02:55 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=340

Martin Storsjö <martin at martin.st> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Martin Storsjö <martin at martin.st> 2012-08-05 20:02:55 CEST ---
This seems like intended behaviour.

According to http://wiki.multimedia.cx/index.php?title=ADTS, ADTS stores the
MPEG4 Audio Object Type in a 2 bit field, with types 1, 2, 3, 4 being the
supported ones. AAC ELD has the AOT 39 and thus can't really be stored in ADTS.

This particular error comes from the fdk-aac library - one could also make that
one just output mp4 format AAC and have the ADTS muxer convert it into ADTS as
well, by adding -flag "+global_header" but that doesn't work either, due to
this check in the ADTS muxer:
http://git.libav.org/?p=libav.git;a=blob;f=libavformat/adtsenc.c;h=e08eef5e5c8cdd64fa2c3bc0ef3935e27c25098c;hb=HEAD#l58

For the fdk-aac case, the error message could definitely be improved, but
that'd require hardcoding info about this condition into the libavcodec wrapper
(or just vaguely suggest it in the error message). The ADTS muxer gives a much
better error message in this case.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list