Wowza Community

ERROR: Use relative path on VOD streaming

Hello,

I completed basic setting and test through “How to play a video on demand file” articles. And the vodeo playback has no problem.

But to apply our environment the relative path is used in SMIL file, I can not the video playback.

I have been finding the WARNING word from logs, the warning message is “Not valid stream name”.

I written a request URI, detailed warning message, the directory structure and SMIL’s content.

Why it has problem? I do need your advices because in the near futhure our service will be opened with the purchased wowza server. We can not playlist file(smil) is located same directory with video file for security.

http://10.1.155.1:9090/vod/iphone/smil:playlist/genre/{1234}.smil/playlist.m3u8?param1=1234567890&param2=0987654321

[HTML]DEBUG server comment - HTTPStreamerAdapterCupertinoStreamer.canHandle[vod/iphone/gen01/sample_64.mp4/media_1.aac]: true

DEBUG server comment - HTTPStreamerAdapterCupertinoStreamer.service: vod/iphone/gen01/sample_64.mp4/media_1.aac?wowzasessionid=609787360&wowzaaudioonly&param1=1234567890&param2=098765

4321

INFO server comment - onMediaFile: vod/iphone/gen01/sample_64.mp4/media_1.aac?wowzasessionid=609787360&wowzaaudioonly&param1=1234567890&param2=0987654321

WARN server comment - HTTPStreamerAdapterCupertinoStreamer.onMediaFile[vod/iphone/gen01/sample_64.mp4/media_1.aac?wowzasessionid=609787360&wowzaaudioonly&param1=1234567890&param2=0987

654321]: Not valid stream name [defaultVHost:vod/iphone/gen01/sample_64.mp4]: defaultVHost:vod/iphone/mp4:playlist/genre/…/…/gen01/sample_64.mp4,defaultVHost:vod/iphone/

smil:playlist/genre/{1234}.smil,defaultVHost:vod/iphone/mp4:playlist/genre/…/…/gen01/sample_500.mp4,defaultVHost:vod/iphone/mp4:playlist/genre/…/…/gen01/sample_1000.mp

4

DEBUG server comment - HTTPStreamerAdapterCupertinoStreamer.canHandle[vod/iphone/mp4:playlist/genre/…/…/gen01/sample_64.mp4/playlist.m3u8]: true

DEBUG server comment - HTTPStreamerAdapterCupertinoStreamer.service: vod/iphone/mp4:playlist/genre/…/…/gen01/sample_64.mp4/playlist.m3u8?wowzasessionid=609787360&param1=12345678

90&param2=0987654321

INFO server comment - onPlaylist: vod/iphone/mp4:playlist/genre/…/…/gen01/sample_64.mp4/playlist.m3u8?wowzasessionid=609787360&param1=1234567890&param2=0987654321[/HTML]

[HTML]content_root_dir(/video/root/)

|

|-- playlist_dir(/video/root/playlist/)

| |

| |-- playlist_sub_dir(/video/root/playlist/genre/)

| |-- …

|-- content_dir1(/video/root/gen01/)

|-- content_dir2(/video/root/gen02/)

[/HTML]

<SMIL’s Content>

[HTML]

So, it looks like you’re trying to have nested conf folders and nested content folders. Try not nesting your Application.xml folders. If you put your Application.xml in a folder like [Wowza-Dir]/conf/vodiphone, then play the .smil like this:

[s]http://10.1.155.1:9090/vodiphone/_definst_/smil:playlist/genre/{1234}.smil/playlist.m3u8?param1=1234567890&param2=0987654321[/s]

Edit: doesn’t work.

Yes, you’re right. I tried it and it doesn’t work. Thanks for pointing out that link. Perhaps utilizing the directory structure you want is something that could be implemented using a custom module.

Thank you for your reply.

I do not use the conf folder and vodiphone.

I have been using a [Wowza-Dir]/content directory. It is set in [Wowza-Dir]/conf/vod/Application.xml.

And…Our application name is vod, our application-instance name is iphone.

I found the article related my problem. There says “There is currently not a way around this.”

(related article: http://www.wowza.com/forums/showthread.php?10350-Multibitrate-and-subfolder-issue)

It is bad news to me.

Best Regards.

Seunghee Jin