I can not play a video from Wowza. I have some videos as .mp4 extension. How can i play these videos onto a html web site?
I created some stream files and SMIL files. But I can not have URL to run these videos.
I need to URL format to play videos from Wowza Server.
How can I get the URL to play videos?
Using the HTML5 video tag element for Wowza Streaming Engine streaming URLs can be a bit limited depending on the browser and OS platform you are using. Check to make sure that your browser/platform supports this playback. The latest version of Wowza has the new HTML5 Wowza Player that is supported cross-platform (and is available to users with a valid key).
I also see that your HLS playback format looks to be incorrect. It should be:
http://[wowza-ip-address]:[port-number]/[application-name]/[instance-name]/[stream-path]/playlist.m3u8
Your port-number by default is usually 1935, and can be set from the Virtual Host Setup page. For application name, the pre-installed app is called "vod", and the default instance is "_definst_" (which is optional, but is recommended to use if you are using sub-folders for your VOD content). The stream path is the path and name of your VOD file, and is usually prefixed by either "mp4:" or "flv:", depending on the kind of file. Try playing back the installed sample.mp4 file:
http://192.168.1.59:1935/vod/_definst_/mp4:sample.mp4/playlist.m3u8
Related
I want to broadcast existing videos to multiple users through wowza...
Suppose I want to broadcast any 1 uploaded video (in wowza server) to my multiple users? so how can I do that.. can wowza call any API to start streaming in other users devices? Means when I started streaming video from my application then it should start in other devices also through wowza API.
Are you talking about broadcasting (streaming) an MP4 file as a simulated Live stream (playout) or as Video On Demand (VOD)?
Obviously you cannot force devices to start playing a stream. That'd only work if you develop an App that can listen for commands and trigger playback accordingly. Wowza doesn't have such an App, nor any built-in features that can do this.
If you want devices to access a stream on-demand you can simply upload the file to Wowza's content folder. If you want to have a programmed playout, like a TV channel, then you can check out this article: https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher
(the source code of the plug-in that is used in that article is available from https://github.com/WowzaMediaSystems/wse-plugin-streampublisher)
As from your Question, You can broadcast stream successfully and you might have used Wowza Go Coder SDK for doing it.
On Broadcasting live stream, broadcasted videos stored in CONTENT directory which is inside of Stream Engine installation directory structure.
You can find all the streamed videos in it.
Now, You want to broadcast particular stored video then you can do it by loading specific URL for that video. Broadcasting for that Video is not possible but, you can play that particular video as below which will be accessible to all your application users :
In IOS, Link or URL for Videos stored in CONTENT directory is as below :
http://[Host Address]:[PORT]/vod/mp4:sample.mp4/playlist.m3u8
rtsp://[Host Address]:[PORT]/vod/sample.mp4 (In Android)
Here, sample is the name of your Stream. You have to broadcast live stream video with different stream names so that all videos are accessible.
In this way, you can play stored live stream videos.
I have an app where we use OGVKit pod at the moment in order to play/stream webm/ogg/ogv/mov videos (non-local). Now there's the new requirement to be able to play mp4 videos from an URL (non-local) and OGVKit kust supports local playback of mp4 files.
Is there a good library which supports playback of all these video file formats from non-local storage (stream) or do we need to switch between the AVPlayerVoewController/AVPlayerLayer?
I already tried to implement a switch which uses AVPlayerLayer if the file is not webm or ogg which partially worked but I couldn't get the layouting work correctly.
I also tried to search for an appropriate library but haven't found any yet.
Any ideas?
I'm not sure whether this question is eligible to ask in this forum. I just want to know how the video streaming applications like,
Hotstar
Youtube
Spuul
and all developed a downloading manager which handle a video downloading process smoothy. How can we develop the same in my application? What are all the things i need to check for developing this? How should i develop it properly?
Any suggestions?
There now exists a Chrome extension which unites segments from m3u8 list and combines them in a video which then is saved to your computer.
Here's the link HLS Video Saver.
Your best shot is HLS. Segment your video file on server side with lets say
apple segmenter. Then create m3u8 playlist with these files. Next open the playlist file with the media player of your choice.
Working on ios app.
For live streaming.
Using Azure framework.
I am receiving the bytes at run time.
But could not play them in Azure Media Player.
In Demo app we are able to play the static url from the server.
http://nimbuspartnerorigin.cloudapp.net/8260c015-abfb-4c8d-8c3a-689b1448e279/Contoso_93d705de-fe6b-4430-b0ab-4c291665b610-m3u8-aapl.ism/Manifest(format=m3u8-aapl)
But when we are streaming live we have to create the url like from server.
http://nimbuspartnerorigin.cloudapp.net/8260c015-abfb-4c8d-8c3a-689b1448e279/Contoso_93d705de-fe6b-4430-b0ab-4c291665b610-m3u8-aapl.isml/Manifest
Should I convert the Manifest file to .m3u8 format ?
Any body knows how to convert that manifest file to m3u8 file format ?
Please.
http://nimbuspartnerorigin.cloudapp.net/8260c015-abfb-4c8d-8c3a-689b1448e279/Contoso_93d705de-fe6b-4430-b0ab-4c291665b610-m3u8-aapl.isml/Manifest is a Smooth Streaming Manifest that can't be played back using Azure framework. You will need to create HLS live stream.
**For live streaming using Azure framework I was getting 'SmoothStreaming' url.
Which I could not play on iOS device directly.As told by Mingfei Yan in above answer**
So, We searched another way then Azure
We followed this link to set up the IIS server.
http://www.hanselman.com/blog/CommentView.aspx?guid=86968cd5-feeb-47f2-b02e-1eb4fa556379#commentstart
And we got the Apple HLS stream to play in Safari or
WebView(iOS).
Still I am waiting to use Azure Frameork If I configure it properly.
In
iOS App
for Live streaming
I am getting the response from server
like this, (You can check)
http://4a75a0cce3694e29bc670b3d574fec92.cloudapp.net/push.isml/manifest
Which is Smooth Streaming file.
How to play this file in my ios app.
Is there any run time converter to convert this file to Apple HLS ?
Any player*(Smooth Streaming)* like
OSMF plugin for iOS
HTML5 player
Silverlight plugin for iOS
Actually :
Actually we have not tried much with Azure Framework. We setted up
the IIS server and got the live streaming.
Played stream by HTML5 video tag in web view.
By following this link
http://www.hanselman.com/blog/CommentView.aspx?guid=86968cd5-feeb-47f2-b02e-1eb4fa556379#commentstart
We can able to play live streaming in our iOS devices.
Still I am happy if I can configure the windows AZure framework to do the same.
You can use the Windows Azure Media Services for converting SmoothStreaming media content into Apple HLS content. Either you use the Management Portal to upload your media assets and then encode it with the preset "Playback on iOS devices and PC/MAC" or you use the REST Api for the Windows Azure Media Services at runtime.
With the REST API you can utilize the Windows Media Packager to encode Smooth Streaming content for HLS. Find a sample configuration for that task here.