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?
Hi
If you take a look through this link,
https://www.wowza.com/docs/how-to-use-java-api-calls-to-resolve-smil-file-requests
You may be able to achieve your goal using the Java API calls.
The code, Module and examples are provided.
Jason
You can do this with MediaCache:
https://www.wowza.com/docs/how-to-configure-mediacache-for-wowza-ndvr
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
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
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:
https://www.wowza.com/docs/how-to-use-java-api-calls-to-resolve-smil-file-requests
Richard
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
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
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!
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?
I’m pretty new to this, where do you store the module for video streaming?