# Media Cache origin-edge configuration

**URL:** <https://community.wowza.com/t/media-cache-origin-edge-configuration/42114>\
**Category:** Wowza Streaming Engine\
**Created:** [April 15, 2014, 12:34pm UTC](https://community.wowza.com/t/media-cache-origin-edge-configuration/42114 "2014-04-15T12:34:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ofer\_Herman](https://avatars.discourse-cdn.com/v4/letter/o/a8b319/32.png) [@Ofer\_Herman](https://community.wowza.com/u/Ofer_Herman)\
**Post date:** [April 15, 2014, 12:34pm UTC](https://community.wowza.com/t/media-cache-origin-edge-configuration/42114/1 "2014-04-15T12:34:20Z")

</div>

Hello,

I have the following configuration:

1. Origin server with default VOD configuration (sample can be found at: [http://192.168.1.156:1935/vod/mp4:sample.mp4/playlist.m3u8](http://192.168.1.156:1935/vod/mp4:sample.mp4/playlist.m3u8))

2. Edge with an Edge VOD application: vod\_edge and Media Cache with the following configuration: Prefix: dvrorigin/ and Base Path: [http://192.168.1.156:1935/vod/](http://192.168.1.156:1935/vod/)

When I try to view the sample from the Edge machine using this URL: [http://localhost:1935/vod\_edge/_definst_/mp4:dvrorigin/sample.mp4/playlist.m3u8](http://localhost:1935/vod_edge/_definst_/mp4:dvrorigin/sample.mp4/playlist.m3u8), I get the error:

```auto
WARN	404	dvrorigin/sample.mp4	MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: File is missing 'moov' atom.

```

Both computers are on the same network, this is not a network problem.

Any idea what is the problem?

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [April 16, 2014, 11:16am UTC](https://community.wowza.com/t/media-cache-origin-edge-configuration/42114/2 "2014-04-16T11:16:35Z")

</div>

Hi

We can’t access the sample you linked to as those IP addresses are private networks which aren’t routable on the Internet.

This looks like it could be a problem with the source material. Have a read of [this thread](http://community.wowza.com/t/-/39367) and see if it helps. If you’re still having the same issues then please provide a sample of the source video and we can take a further look.

Paul

---

<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:** [April 16, 2014, 12:43pm UTC](https://community.wowza.com/t/media-cache-origin-edge-configuration/42114/3 "2014-04-16T12:43:39Z")

</div>

With MediaCache the origin is typically a web server or NAS, not a Wowza vod application. If you have sample.mp4 in the root content folder of your web server, and you have a MediaCacheSource defined with BasePath “http://”, which is what the default MediaCacheSource named “dvrorigin” is, then the stream name for playback on the MediaCache edge is:

```auto
mp4:dvrorigin/[your-web-server]/sample.mp4

```

“dvrorigin” is just the name of the predefined MediaCacheSource in Wowza 4 install, you can rename it or make another one. Since its BasePath is “http://” it can be used to point to any http location. You can make the BasePath more specific, for example "http://[your-web-server]/content. Then the stream name if sample.mp4 is would be

```auto
mp4:dvrorigin/sample.mp4

```

Richard

---

<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 16, 2014, 5:34am UTC](https://community.wowza.com/t/media-cache-origin-edge-configuration/42114/4 "2014-04-16T05:34:19Z")

</div>

You may be getting this error if you are trying to playback a file that has H.264 video but in a .flv container, where as the file is not an mp4 file. Try using flv:someFile.flv

Salvadore

---

<div class="post-metadata">

**Author:** ![Ofer\_Herman](https://avatars.discourse-cdn.com/v4/letter/o/a8b319/32.png) [@Ofer\_Herman](https://community.wowza.com/u/Ofer_Herman)\
**Post date:** [April 16, 2014, 2:24pm UTC](https://community.wowza.com/t/media-cache-origin-edge-configuration/42114/5 "2014-04-16T14:24:11Z")

</div>

The example was provided so you guys can see the whole configuration. (i know you cannot access the links). The origin and edge servers are on the same network (if you’re having any doubts) so they can access each other.

The file in question is the one provided by Wowza after installation (“sample.mp4” Big Buck animation) so the file is not the problem.

The problem is that the two tutorials don’t show how to access (the url format) VOD content on the edge server.
