Results 1 to 4 of 4

Thread: ERROR: Use relative path on VOD streaming

  1. #1
    Join Date
    Oct 2011
    Posts
    8

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

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

    <Warning Message>
    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
    <Directory Structure>
    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/)
    <SMIL's Content>
    <smil>
    <head/>
    <body>
    <switch>
    <video src="mp4:../../gen01/sample_64.mp4" system-bitrate="64000">
    <param name="audioOnly" value="TRUE" valuetype="data"/>
    </video>
    <video src="mp4:../../gen01/sample_64.mp4" system-bitrate="64000"/>
    <video src="mp4:../../gen01/sample_500.mp4" system-bitrate="500000"/>
    <video src="mp4:../../gen01/sample_1000.mp4" system-bitrate="1000000"/>
    </switch>
    </body>
    </smil>
    Best Regards.
    Seunghee Jin
    Last edited by Seunghee Jin; 01-15-2012 at 11:32 PM.

  2. #2

    Default

    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:

    http://10.1.155.1:9090/vodiphone/_definst_/smil:playlist/genre/{1234}.smil/playlist.m3u8?param1=1234567890&param2=0987654321
    Edit: doesn't work.
    Last edited by randall; 01-16-2012 at 10:15 PM.

  3. #3
    Join Date
    Oct 2011
    Posts
    8

    Default

    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/showthre...ubfolder-issue)
    It is bad news to me.

    Best Regards.
    Seunghee Jin

  4. #4

    Default

    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.

Similar Threads

  1. MediaCache AddOn: two vod applications with different media source path
    By brunyalo in forum Video On Demand Streaming Discussion
    Replies: 6
    Last Post: 05-13-2013, 06:01 AM
  2. VOD - Redirect a user from a url to a new path
    By staubina in forum Video On Demand Streaming Discussion
    Replies: 16
    Last Post: 05-30-2012, 10:30 AM
  3. Problem with the path to vod file
    By domarack in forum Video On Demand Streaming Discussion
    Replies: 2
    Last Post: 01-18-2012, 08:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •