Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: SMIL, CMS and cupertino

  1. #11

    Default

    A .smil file has to be in the application's content location. There is not an option to keep it in your CMS.
    Is that something that could be a feature request? Even if I got the IDE working with that API, I'd still need conditionals in the java that mirror conditionals in the flash javascript & php. Seems simpler to make a new smil for each stream at that point... which I'm are doing now.

  2. #12
    Join Date
    Dec 2007
    Posts
    25,655

    Default

    There is a way actually. You can use MediaCache to store videos and .smil files on a web server. That web server could be where your CMS is installed.

    http://www.wowza.com/forums/content....and-streaming)

    Richard

  3. #13

    Default

    Cool, lets try it if you think it'll work. It does say:
    The MediaCache system does require more advanced system administration skills to properly setup and tune.
    but as long as its documented and I can ask questions...

  4. #14

    Default

    Unfortunately this doesn't look like it would solve the problem. I don't see how it could pull a dynamically generated SMIL file from a webserver.

  5. #15
    Join Date
    Dec 2007
    Posts
    25,655

    Default

    It can work. First setup MediaCache. Create a smil file that references two or more videos, and put them the smil and the videos on your web server. Then use MediaCache to playback.

    Now that smil file is on your web server where your CMS is so you can use the CMS or app server to generate the smil in that location, which is up to you to do, but as long as it is well formed and refers to existing videos in the same location, you can dynamically create smil with your app server.

    Richard

  6. #16

    Default

    Ok, this might work...

    I can playback each of the 4 videos individually via mediacache by using:
    HTML Code:
    http://wowzaserver.com:1935/mediacache/_definst_/mp4:webserver.com/vod/640/movie.mp4/playlist.m3u8
    But I get the errors for:
    HTML Code:
    http://wowzaserver.com:1935/mediacache/_definst_/mp4:http/webserver.com/feeds/smil/573/playlist.m3u8
    With the template location at:
    http://webserver.com/feeds/smil/573/
    (domain/template_group/template/entry_id)

    Error:
    INFO stream create http/webserver.com/feeds/smil/573 -
    WARN server comment - MediaCacheItemBase.init: Error: Length is zero[0]: http/webserver.com/feeds/smil/573.mp4
    WARN server comment - MediaCacheItemBase.init: Error: Length is zero[0]: http/webserver.com/feeds/smil/573.mp4
    WARN server comment http/webserver.com/feeds/smil:smil/573 MediaReaderH264.open[1]: java.io.IOException: MediaCacheRandomAccessReader.open: Item not in cache: http/webserver.com/feeds/smil/573
    ERROR server comment - MediaReaderH264Cupertino.indexFile:java.lang.NullP ointerException
    INFO stream destroy http/webserver.com/feeds/smil/573 -
    INFO cupertino disconnect 1369762205 -

    Looks like its trying to add the .mp4 to the end of that URL. Is there a syntax to stop that?

    A few thoughts:
    - The videos on the website wouldn't be protected, correct?
    - Bandwidth increases since wowza pulls the video from the webserver, then streams to the client. I see why performance is a concern.
    - How would a live stream work? It would have the same webserver url structure, just a different ID.
    Last edited by skookie; 08-03-2012 at 08:51 AM.

  7. #17

    Default

    Ack, nevermind, changed the mp4 to smil.... still working on it...

Page 2 of 2 FirstFirst 12

Posting Permissions

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