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

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:

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:

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 thread.

Sorry for the troubles.

Adding definst is the solution.

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 :slight_smile:

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

Regards

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

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

Richard

Thank you rrlanham!

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