Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: About Wowza 3.0.3 VOD configure

  1. #1
    Join Date
    Nov 2011
    Posts
    16

    Default About Wowza 3.0.3 VOD configure

    Hi All,

    I used to do Apple HLS using Adobe FMLE and wowza 2.2.4 with smil. It happens to be working fine.
    upgraded to Wowza media server 3.0.3 Why is this error?

    VOD XML file
     <StorageDir> /home/VOD/smooth/song/${com.wowza.wms.context.ApplicationInstance}/</StorageDir>
    iOS --> http://192.168.0.93/vod/smil/iphone.smil/playlist.m3u8
    It's OK !

    Smoothstreaming --> http://192.168.0.93/vod/smil/iphone.smil/Manifest
    It's OK !

    change XML file to -->
    <StorageDir> /home/VOD/smooth/${com.wowza.wms.context.ApplicationInstance}/</StorageDir>
    iOS --> http://192.168.0.93/vod/song/smil/ip.../playlist.m3u8
    It's Can not play

    Smoothstreaming --> http://192.168.0.93/vod/song/smil/iphone.smil/Manifest
    It's OK !

    Why iOS can not play ?

    # ll /home/VOD/smooth
    total 2048
    drwxr-xr-x 2 root root 278528 Apr 18  2011 smil
    drwxr-xr-x 2 root root 366592 Apr 18  2011 videos
    log ==>

    2011-11-15      13:40:15        CST     comment server  WARN    200     -       HTTPStreamerAdapterCupertinoStreamer.onMediaFile[vod/videos/64k.mp4/media_1.aac?wowzasessionid=1273231693&wowzaaudioonly]: Not valid stream name [_defaultVHost_:vod/videos/64k.mp4]: _defaultVHost_:vod/mp4:smil/../videos/640k.mp4,_defaultVHost_:vod/mp4:smil/../videos/440k.mp4,_defaultVHost_:vod/mp4:smil/../videos/240k.mp4,_defaultVHost_:vod/smil/smil:iphone_all.smil,_defaultVHost_:vod/mp4:smil/../videos/150k.mp4,_defaultVHost_:vod/mp4:smil/../videos/64k.mp4        -       -       -       17.714  -       -       -       -       -       -       -       -       -       -       -       -     --       -       -       -       -       -       -       -       -       -       -       -
    2011-11-15      13:40:15        CST     comment server  WARN    200     -       HTTPStreamerAdapterCupertinoStreamer.onMediaFile[vod/videos/150k.mp4/media_1.ts?wowzasessionid=1273231693]: Not valid stream name [_defaultVHost_:vod/videos/150k.mp4]: _defaultVHost_:vod/mp4:smil/../videos/640k.mp4,_defaultVHost_:vod/mp4:smil/../videos/440k.mp4,_defaultVHost_:vod/mp4:smil/../videos/240k.mp4,_defaultVHost_:vod/smil/smil:iphone_all.smil,_defaultVHost_:vod/mp4:smil/../videos/150k.mp4,_defaultVHost_:vod/mp4:smil/../videos/64k.mp4      -       -       -       17.793  -       -       -       -       -       -       -       -       -       -       -       -       -       -     --       -       -       -       -       -       -       -       -       -
    2011-11-15      13:40:15        CST     comment server  WARN    200     -       HTTPStreamerAdapterCupertinoStreamer.onMediaFile[vod/videos/240k.mp4/media_1.ts?wowzasessionid=1273231693]: Not valid stream name [_defaultVHost_:vod/videos/240k.mp4]: _defaultVHost_:vod/mp4:smil/../videos/640k.mp4,_defaultVHost_:vod/mp4:smil/../videos/440k.mp4,_defaultVHost_:vod/mp4:smil/../videos/240k.mp4,_defaultVHost_:vod/smil/smil:iphone_all.smil,_defaultVHost_:vod/mp4:smil/../videos/150k.mp4,_defaultVHost_:vod/mp4:smil/../videos/64k.mp4      -       -       -       17.889  -       -       -       -       -       -       -       -       -       -       -       -       -       -     --       -       -       -       -       -       -       -       -       -
    why log is ==>
    vod/videos/240k.mp4
    OK m3u8 file
    [root@logs]# curl http://192.168.0.93/vod/smil/iphone_all.smil/playlist.m3u8
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000
    /vod/smil/mp4:../videos/64k.mp4/playlist.m3u8?wowzasessionid=1364123314&wowzaaudioonly
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=150000
    /vod/smil/mp4:../videos/150k.mp4/playlist.m3u8?wowzasessionid=1364123314
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=240000
    /vod/smil/mp4:../videos/240k.mp4/playlist.m3u8?wowzasessionid=1364123314
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=440000
    /vod/smil/mp4:../videos/440k.mp4/playlist.m3u8?wowzasessionid=1364123314
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=640000
    /vod/smil/mp4:../videos/640k.mp4/playlist.m3u8?wowzasessionid=1364123314
    [root@logs]#
    NG m3u8 file

    [root@vod]# curl http://61.67.123.93/vod/song/smil/iphone_all.smil/playlist.m3u8
    
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000
    /vod/song/mp4:smil/../videos/64k.mp4/playlist.m3u8?wowzasessionid=703398732&wowzaaudioonly
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=150000
    /vod/song/mp4:smil/../videos/150k.mp4/playlist.m3u8?wowzasessionid=703398732
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=240000
    /vod/song/mp4:smil/../videos/240k.mp4/playlist.m3u8?wowzasessionid=703398732
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=440000
    /vod/song/mp4:smil/../videos/440k.mp4/playlist.m3u8?wowzasessionid=703398732
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=640000
    /vod/song/mp4:smil/../videos/640k.mp4/playlist.m3u8?wowzasessionid=703398732


    Please help me to fix it !!!
    Thanks
    Last edited by echochio; 11-15-2011 at 05:59 AM.

  2. #2
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi
    As you have content from different folders within the content directory I suggest that you use the _definst_ and smil: in the url,
    http://192.168.0.93/vod/_definst_/sm.../playlist.m3u8

    I think this will work but can't test it for you as it is a private IP address.

    Jason

  3. #3
    Join Date
    Nov 2011
    Posts
    16

    Default

    Quote Originally Posted by JasonH View Post
    Hi
    As you have content from different folders within the content directory I suggest that you use the _definst_ and smil: in the url,
    http://192.168.0.93/vod/_definst_/sm.../playlist.m3u8

    I think this will work but can't test it for you as it is a private IP address.

    Jason
    It can not work ....
    Thank your reply

    [root@WOWZA]# curl http://192.168.0.93/vod/_definst_/smil:song/smil/iphone.smil/playlist.m3u8
    #EXTM3U
    [root@WOWZA]#
    [root@WOWZA]#
    [root@WOWZA]# curl http://192.168.0.93/vod/song/smil/iphone.smil/playlist.m3u8
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000
    /vod/song/mp4:smil/../videos/64k.mp4/playlist.m3u8?wowzasessionid=1963657542&wowzaaudioonly
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=150000
    /vod/song/mp4:smil/../videos/150k.mp4/playlist.m3u8?wowzasessionid=1963657542
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=240000
    /vod/song/mp4:smil/../videos/240k.mp4/playlist.m3u8?wowzasessionid=1963657542
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=440000
    /vod/song/mp4:smil/../videos/440k.mp4/playlist.m3u8?wowzasessionid=1963657542
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=640000
    /vod/song/mp4:smil/../videos/640k.mp4/playlist.m3u8?wowzasessionid=1963657542
    [root@WOWZA]#

  4. #4
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi
    Can you post your .smil file for me?
    Thanks

    Jason

  5. #5
    Join Date
    Nov 2011
    Posts
    16

    Default

    Quote Originally Posted by JasonH View Post
    Hi
    Can you post your .smil file for me?
    Thanks

    Jason
    my .smil (This .smil file in Wowza 2.2.4 . It's ok .)

    [root@WOWZA]# pwd
    /home/VOD/smooth/song
    [root@WOWZA]# ll
    total 8
    drwxr-xr-x 2 root root 4096 Nov 15 16:33 smil
    drwxr-xr-x 2 root root 4096 Nov 15 16:35 videos
    [root@WOWZA]# cat smil/iphone.smil
    <smil>
            <head>
            </head>
            <body>
                    <switch>
                            <video src="mp4:../videos/64k.mp4" system-bitrate="64000"  wowza-audio-only="true"/>
                            <video src="mp4:../videos/150k.mp4" system-bitrate="150000"/>
                            <video src="mp4:../videos/240k.mp4" system-bitrate="240000"/>
                            <video src="mp4:../videos/440k.mp4" system-bitrate="440000"/>
                            <video src="mp4:../videos/640k.mp4" system-bitrate="640000"/>
                    </switch>
            </body>
    </smil>
    [root@WOWZA]# ll videos/
    total 39236
    -rwxr-xr-x 1 root root  3971086 Nov 15 15:47 150k.mp4
    -rwxr-xr-x 1 root root  6318763 Nov 15 15:47 240k.mp4
    -rwxr-xr-x 1 root root 11496008 Nov 15 15:47 440k.mp4
    -rwxr-xr-x 1 root root 16682056 Nov 15 15:47 640k.mp4
    -rwxr-xr-x 1 root root  1702899 Nov 15 15:47 64k.mp4
    Last edited by echochio; 11-15-2011 at 06:22 PM.

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Does 64k.mp4 only contain audio? That might not work. The way to do this right is using a file that contains video that is aligned with the other streams and a 64kbs audio track, then use this method to extract a 64kbs audio only stream:

    http://www.wowza.com/forums/content....pStore-64Kbps)

    It is best if the audio track is AAC

    Richard

  7. #7
    Join Date
    Nov 2011
    Posts
    16

    Default

    Quote Originally Posted by rrlanham View Post
    Does 64k.mp4 only contain audio? That might not work. The way to do this right is using a file that contains video that is aligned with the other streams and a 64kbs audio track, then use this method to extract a 64kbs audio only stream:

    http://www.wowza.com/forums/content....pStore-64Kbps)

    It is best if the audio track is AAC

    Richard
    Thank Richard ,
    I will mail log & config to you .

    The "config/vodn" in iOS is work base on Wowza 2.2.4 , but in 3.0.3 not work .
    How to fix it ?

    Why ? Directory in Sorage "song" is OK
    change to ==> m3u8 player is not !!!!
    But SmoothStream song path in Sorage or player is OK


    conf/vod/Application.xml
    with this config ==>
    <StorageDir> /home/VOD/smooth/song/${com.wowza.wms.context.ApplicationInstance}/</StorageDir>
    iOS play this ==>
    http://192.168.0.93/vod/smil/iphone.smil/playlist.m3u8
    iOS is OK ...
    Smooth stream (Manifest) is OK.


    this config ==> config/vodn/Application.xml
    <StorageDir> /home/VOD/smooth/${com.wowza.wms.context.ApplicationInstance}/</StorageDir>
    iOS play this ==>
    http://192.168.0.93/vodn/song/smil/iphone.smil/playlist.m3u8
    iOS Can not play . log ==>
    2011-11-17      09:26:45        CST     comment server  WARN    200     -       HTTPStreamerAdapterCupertinoStreamer.onMediaFile[vodn/song/videos/240k.mp4/media_1.ts?wowzasessionid=608235249]: Not valid stream name [_defaultVHost_:vodn/song/videos/240k.mp4]: _defaultVHost_:vodn/song/smil/iphone.smil,_defaultVHost_:vodn/song/mp4:smil/../videos/150k.mp4,_defaultVHost_:vodn/song/mp4:smil/../videos/640k.mp4,_defaultVHost_:vodn/song/mp4:smil/../videos/440k.mp4,_defaultVHost_:vodn/song/mp4:smil/../videos/240k.mp4
    But Smooth stream(Manifest) is OK

    NOW .smil change to ==>
    [root@WOWZA]# pwd
    /home/VOD/smooth/song/smil
    [root@WOWZA]# more iphone.smil
    <smil>
            <head>
            </head>
            <body>
                    <switch>
                            <video src="mp4:../videos/150k.mp4" system-bitrate="150000"/>
                            <video src="mp4:../videos/240k.mp4" system-bitrate="240000"/>
                            <video src="mp4:../videos/440k.mp4" system-bitrate="440000"/>
                            <video src="mp4:../videos/640k.mp4" system-bitrate="640000"/>
                    </switch>
            </body>
    </smil>
    Last edited by echochio; 11-16-2011 at 09:40 PM.

  8. #8
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    I don't understand. I suggest you simplify, get it working in small steps

    Richard

  9. #9
    Join Date
    Nov 2011
    Posts
    16

    Default

    Quote Originally Posted by rrlanham View Post
    I don't understand. I suggest you simplify, get it working in small steps

    Richard
    Server mount storage work in Wowza 2.2.4 . iOS can play.
    But upgrade to Wowza 3.0.3 iOS can not play.
    Please Wowza Support tail me how to fix it.


    The storeage not only for Wowza server can not change any path.
    Thanks.

    my storage path like ==>
    /home/VOD
    /home/VOD/song
    /home/VOD/song/2000
    /home/VOD/song/2000/videos
    /home/VOD/song/200/smil
    /home/VOD/song
    /home/VOD/song/2001
    /home/VOD/song/2001/videos
    /home/VOD/song/2001/smil
    .....................................
    .....................................
    /home/VOD/song
    /home/VOD/song/2011
    /home/VOD/song/2011/videos
    /home/VOD/song/2011/smil

  10. #10
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    If your Wowza application is named "vod", change /conf/vod/Application.xml /StorageDir to "/home/VOD/song.

    Then playback in iOS:
    http://[wowza-address]:1935/vod/_definst_/mp4:2001/videos/sample.mp4/playlist.m3u8
    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. How to configure VOD streaming
    By thaidh in forum On-Demand Streaming
    Replies: 1
    Last Post: 06-09-2014, 05:02 AM
  2. Replies: 1
    Last Post: 04-03-2014, 04:51 PM

Posting Permissions

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