# Recording AAC in ADTS transport instead of MP4

**URL:** <https://community.wowza.com/t/recording-aac-in-adts-transport-instead-of-mp4/35091>\
**Category:** Wowza Streaming Engine\
**Created:** [August 30, 2012, 9:24pm UTC](https://community.wowza.com/t/recording-aac-in-adts-transport-instead-of-mp4/35091 "2012-08-30T21:24:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_W](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Rob\_W](https://community.wowza.com/u/Rob_W)\
**Post date:** [August 30, 2012, 9:24pm UTC](https://community.wowza.com/t/recording-aac-in-adts-transport-instead-of-mp4/35091/1 "2012-08-30T21:24:03Z")

</div>

I am streaming AAC-encoded audio into Wowza, which is wrapping it in a MP4 container before re-streaming/recording.

I’m fine with onward live streaming in MP4 format but I would like to record to disk in a plain ADTS wrapper. Is this possible to achieve?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 30, 2012, 10:13pm UTC](https://community.wowza.com/t/recording-aac-in-adts-transport-instead-of-mp4/35091/2 "2012-08-30T22:13:59Z")

</div>

No, your options are flv or mp4 files.

Richard

---

<div class="post-metadata">

**Author:** ![Rob\_W](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Rob\_W](https://community.wowza.com/u/Rob_W)\
**Post date:** [August 31, 2012, 4:46am UTC](https://community.wowza.com/t/recording-aac-in-adts-transport-instead-of-mp4/35091/3 "2012-08-31T04:46:01Z")

</div>

Ok, I thought so - thanks.

Is it possible to extract the AAC from the MP4 container without re-encoding? What would the ffmpeg command be for this?

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [August 31, 2012, 3:49pm UTC](https://community.wowza.com/t/recording-aac-in-adts-transport-instead-of-mp4/35091/4 "2012-08-31T15:49:39Z")

</div>

Hi

I believe that you can do this with ffmpeg and the command is :

ffmpeg -i [file name] -acodec copy outputfile.aac

Jason
