# Wowza and encrypted MP4 files

**URL:** <https://community.wowza.com/t/wowza-and-encrypted-mp4-files/38049>\
**Category:** Wowza Streaming Engine\
**Created:** [January 24, 2012, 12:05pm UTC](https://community.wowza.com/t/wowza-and-encrypted-mp4-files/38049 "2012-01-24T12:05:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthias\_Strauch](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Matthias\_Strauch](https://community.wowza.com/u/Matthias_Strauch)\
**Post date:** [January 24, 2012, 12:05pm UTC](https://community.wowza.com/t/wowza-and-encrypted-mp4-files/38049/1 "2012-01-24T12:05:02Z")

</div>

Hello everyone,

I have a quick question regarding Wowza’s handling of encrypted files. I currently have a Flash Access encrypted file (audio and video streams are encrypted, the container is still plain MP4) which I try to play out over Wowza. Unfortunately, Wowza doesn’t parse the file and refuses to send the file content to the (of course Flash Access-enabled) player.

Log output:

```auto
INFO session connect-pending 127.0.0.1 -
INFO session connect 127.0.0.1 -
INFO stream create - -
WARN server comment test.out.mp4 MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0
WARN server comment test.out.mp4 MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0
WARN server comment test.out.mp4 MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0
WARN server comment test.out.mp4 MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0
INFO stream destroy test.out.mp4 -
INFO session disconnect 2028679764 -

```

Is there any way to work around this and force Wowza to start delivering the media file?

Best regards,

Matthias

---

<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:** [January 24, 2012, 11:33am UTC](https://community.wowza.com/t/wowza-and-encrypted-mp4-files/38049/2 "2012-01-24T11:33:08Z")

</div>

Hi

That’s not possible I’m afraid Wowza needs to read the data and can’t if its encrypted that way.

you can send an encrypted stream though Wowza via RTMPE, RTMPTE or RTMPS.

This guide will show you how to do it,

[https://www.wowza.com/docs/how-to-require-a-secure-rtmp-connection-modulerequiresecureconnection](https://www.wowza.com/docs/how-to-require-a-secure-rtmp-connection-modulerequiresecureconnection)

Jason

---

<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:** [January 24, 2012, 12:20pm UTC](https://community.wowza.com/t/wowza-and-encrypted-mp4-files/38049/3 "2012-01-24T12:20:54Z")

</div>

Hi

It sounds like you have access to the content but not the certificate required to decrypt the content, which is what Flash Access was designed to do.

Jason

---

<div class="post-metadata">

**Author:** ![Matthias\_Strauch](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Matthias\_Strauch](https://community.wowza.com/u/Matthias_Strauch)\
**Post date:** [January 24, 2012, 12:44pm UTC](https://community.wowza.com/t/wowza-and-encrypted-mp4-files/38049/4 "2012-01-24T12:44:37Z")

</div>

Hi,

thanks for the quick reply. Unfortunately, using RTMPE and the like is not an option because the content provider (or to be more specific, the movie production studios) insist that the media files itself are DRM protected using Flash Access.

Of course, “the streaming server that is not to be named” handles those encrypted files nicely…

-Matthias
