[FFmpeg-user] MP4 AAC to ADTS
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Mar 16 16:03:10 CET 2013
David Codesido López <david.codesido <at> gmail.com> writes:
> As I'm demuxing an MP4 my guess is that I need to add the
> ADTS headers to the AAC audio packets.
This is what the adts muxer does, as in:
$ ffmpeg -i input.mp4 -acodec copy -f adts out
or (completely equivalent):
$ ffmpeg -i input.mp4 -acodec copy out.aac
Since it works with the command line interface, it is
possible to achieve the same through the libraries
(libavcodec and libavformat).
More information about the ffmpeg-user