Results 1 to 9 of 9

Thread: Dynamically generate smil file for multibitrate.

  1. #1
    Join Date
    Jan 2013
    Posts
    27

    Default Dynamically generate smil file for multibitrate.

    I wanna stream smil file from my server. When playing on my server http://[myserver]/smil:sample.smil/manifest.f4m i have stored the sample.smil file on the content folder and it works fine. Now am gonna use the smil file for 1000 streams means each and every time i cant create a smil file. so how can i dynamically create smil file and where should i store that file ? and in the above url(smil:sample.smil) how wowza knows to play the smil file from the content folder?

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

    Default

    Hi
    If you take a look through this link,
    http://www.wowza.com/forums/content....-file-requests

    You may be able to achieve your goal using the Java API calls.
    The code, Module and examples are provided.

    Jason

  3. #3
    Join Date
    Jan 2013
    Posts
    27

    Default

    Hi thanks for the reply.

    Now the smil file is hosted on the wowza.. Is that possible to host that smil file in some other server and play the url ? if so how can a host the file ?

    This is my server url.. http://[myserver]/smil:sample.smil/manifest.f4m.. so where should i put or host this sample.smil in my Server not on the wowza

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

    Default

    Hi
    You'll always have to store the .smil file on the Wowza server.
    I don't understand what you're trying to achieve by moving it to a none Wowza server, can you explain what you're trying to do?

    You'll always be able to play using the stream using link while the .smil is in the Wowza /content directory.

    This is just a link to play the content using Adobe HDS :
    http://[myserver]/smil:sample.smil/manifest.f4m

    Jason

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

    Default

    You can do this with MediaCache:
    http://www.wowza.com/forums/content....wza-nDVR-AddOn

    If this is a live application, the Application.xml /StreamType will still be "live", but configure Server.xml and Application.xml as shows otherwise. Then you can place the .smil file on a web server

    Richard

  6. #6
    Join Date
    Jan 2013
    Posts
    27

    Default

    Hi rrlanham,

    Since am new to wowza can u explain me in detail. My application is live application. Where should i host the .smil file on web server(i mean as like the smil file should be in the content folder or somewhere else) and how should i give the url?

    Previously the path is http://[myserver]/smil:sample.smil/manifest.f4m and so wowza knows to play the smil file from content folder. Now if i host the smil file on my web server does the path of the url will change ?

    How to configure on Server.xml and Application.xml ?

    Thanks in advance!

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

    Default

    Yes, the .smil file will be on the web server instead of the content folder, and the URL will change, it will use a MediaCache prefix. Details and step by step instructions for setting up MediaCache are included in the package. It is generally used for vod streaming, but it will do what you describe if the Application.xml /StreamType is "live"

    Richard

  8. #8
    Join Date
    Jan 2013
    Posts
    27

    Default

    Hi Richard,

    I read the MediaCache pdf. In that,

    MediaCache Performance on Windows: Depending on disk setup and disk drivers (we are not sure of the exact details) THERE MAY BE A PERFORMANCE ISSUE WITH MEDIACACHE WHEN RUNNING ON THE WINDOWS OPERATING SYSTEM. It is suggested to run MediaCache on the Linux operating system using the most recent version of Java for your platform.

    Am using windows operating system so i don't wanna take risk.

    So now my question is, Is there any possibility to acheive multibitrate without using smil file(no need to use or host the smil file anywhere) if so how can i find those 3 bitrate urls?

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

    Default

    I would not worry about MediaCache performance in your case, you will be fetching a tiny text file.

    Otherwise, you can also generate a MediaList (.smil) file programmatically like this:
    http://www.wowza.com/forums/content....-file-requests

    Richard

Similar Threads

  1. problem with multibitrate http streaming with smil file
    By ManGood in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 05-16-2012, 04:18 PM
  2. link to generate smil file using transcoder?
    By beyond in forum AddOn: Transcoder
    Replies: 1
    Last Post: 01-05-2012, 03:45 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
  •