# \[Wowza 3.5.0\] Unable to play video from a subfolder through HLS

**URL:** <https://community.wowza.com/t/wowza-3-5-0-unable-to-play-video-from-a-subfolder-through-hls/38675>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [February 12, 2013, 6:53pm UTC](https://community.wowza.com/t/wowza-3-5-0-unable-to-play-video-from-a-subfolder-through-hls/38675 "2013-02-12T18:53:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philipp\_Pavelka](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Philipp\_Pavelka](https://community.wowza.com/u/Philipp_Pavelka)\
**Post date:** [February 12, 2013, 6:53pm UTC](https://community.wowza.com/t/wowza-3-5-0-unable-to-play-video-from-a-subfolder-through-hls/38675/1 "2013-02-12T18:53:24Z")

</div>

Hello,

I’ve just realized that I don’t know how to play videos that are located in a subfolder within the content folder through HLS.

Say I have the following video file:

/content/test/myVideo.mp4

Playlist URLs:

```auto
http://wowzaserver.com:1935/vod/mp4:test/myVideo.mp4/playlist.m3u8
http://wowzaserver.com:1935/vod/test/mp4:myVideo.mp4/playlist.m3u8

```

None of these URLs work. They throw the same error:

```auto
MediaReaderH264.open[1]: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/myVideo.mp4 (No such file or directory)

```

Apparently Wowza doesn’t even look in the subfolder.

Any help here?

Thanks

**Edit: Solution**

Just found the answer in [this](https://www.wowza.com/forums/showthread.php?23015-Content-streaming-to-iPad-iPhone) thread.

Sorry for the troubles.

Adding _definst_ is the solution.

```auto
http://wowzaserver:1935/vod/_definst_/mp4:test/myVideo.mp4/playlist.m3u8
http://wowzaserver:1935/vod/_definst_/test/mp4:myVideo.mp4/playlist.m3u8

```

Both links work now 🙂

It’s a bit confusing that _definstance_ is needed when it works perfectly fine with video in the root of the content folder.

Regards

---

<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:** [February 13, 2013, 9:47pm UTC](https://community.wowza.com/t/wowza-3-5-0-unable-to-play-video-from-a-subfolder-through-hls/38675/2 "2013-02-13T21:47:59Z")

</div>

When content is in a subfolder you have to use application instance part “_definst_”. Like this:

```auto
http://wowzaserver.com:1935/vod/_definst_/mp4:test/myVideo.mp4/playlist.m3u8

```

Richard

---

<div class="post-metadata">

**Author:** ![Philipp\_Pavelka](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Philipp\_Pavelka](https://community.wowza.com/u/Philipp_Pavelka)\
**Post date:** [February 13, 2013, 10:57pm UTC](https://community.wowza.com/t/wowza-3-5-0-unable-to-play-video-from-a-subfolder-through-hls/38675/3 "2013-02-13T22:57:41Z")

</div>

Thank you rrlanham!

I’ve found the answer right after I’ve posted my question.
