# Using wowza api to write to mp4 container (output stream)

**URL:** <https://community.wowza.com/t/using-wowza-api-to-write-to-mp4-container-output-stream/43867>\
**Category:** Wowza Streaming Engine\
**Created:** [March 31, 2015, 9:59am UTC](https://community.wowza.com/t/using-wowza-api-to-write-to-mp4-container-output-stream/43867 "2015-03-31T09:59:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhilash\_Joseph](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@Abhilash\_Joseph](https://community.wowza.com/u/Abhilash_Joseph)\
**Post date:** [March 31, 2015, 9:59am UTC](https://community.wowza.com/t/using-wowza-api-to-write-to-mp4-container-output-stream/43867/1 "2015-03-31T09:59:19Z")

</div>

I have used the built-in file recorder which saves a live stream to a file output stream. We currently have a custom recorder that is capable of writing the streams to blob storage, we have used the FLVUtils class to write it to storage, but the problem that we are facing is, with the FLV container, we are not able to stream that back through wowza for playback (due to obvious reasons: missing boxes/atoms etc). Need help in getting the amf packets written to an mp4 container by properly writing the boxes and the data. Right now I’m trying to use the MP4FragmentWriter to write atoms and the packet data to the output stream. Any help in this area is appreciated.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [April 20, 2015, 8:24am UTC](https://community.wowza.com/t/using-wowza-api-to-write-to-mp4-container-output-stream/43867/2 "2015-04-20T08:24:28Z")

</div>

Hello there.

You may have more response to this help request if you post to the [find a consultant forum](http://community.wowza.com/c/-/7)

You should provide as much detail about your requirements, a budget and a timeline when requesting help from the consultant forum.

Kind regards,

Salvadore
