I have installed red5 server on ubuntu 12.04 lts at AWS instance. I have successfully streamed my live stream using with Adope live encoder and play it with jwplayer on websites. Now I need to play my live stream on all smart devices. I have referred so many forums but I did not get the good solution for this. I have some restriction to play on mobile.
do not play with Flash browser at all smart-device. need to play it's own player when they connected to my website.
Is there any possible to play my live streaming with html5 video Tag
How can I achieve this setup? I know the red5 server only stream RTMP protocol. I want to re-stream to android, iphone, blackberry, Nokia, and also all smart devices and tab.
In practice you need to send the screams in three types:
HLS for IOS/Windows/BB devices
RTMP/RTMPT/RTMPS for browser based Flash clients (or AIR based native apps)
RTSP for Android/BB devices (as HLS should but rarely does work on Android devices)
Additionally there are some vendor specific technologies like Microsoft Smooth Streaming or webM by Google
You can use a streaming CDN like ScaleEngine.com to transcode and supply the necessary bandwidth to have streaming for all devices (RTMP for browsers, HLS for iOS devices and RTSP for Android). If you are inexperienced and you won't have terabytes of traffic, this might fit the bill.
If you are interested in a self hosted solution, a combination of:
Red5/Wowza/nginx-rtmp for recording management
FFmpeg for transcoding
nginx-rtmp for HLS
crtmp-server for RTPS
might do the trick.
There is no all in one solution. The ONLY way to stream live video in iOS is HLS. Some versions of Android may support HLS. I have not idea what formats blackberry and Nokia support. You will need to research this.
If you create your mobile app with Adobe AIR (with either Adobe Flash or Apache Flex), then your mobile app will support live audio/video streaming - on iOS, Android and BlackBerry 10 platforms.
Distribution to mobiles can be done with Wowza rtmp server packetisers for iOS HLS and RTP playback.
But you need to stream in supported formats/codecs.
If you stream with a web based flash broadcasting tool, stream will not be compatible with iOS because Flash does not encode AAC, so you need to transcode it.
Transcoding can be done with Wowza Transcoder addon or ffmpeg as available with VideoWhisper Live Streaming that can produce a HTML5 video for Safari playback (on iOS / desktop).
Related
I am testing out Azure Media services and I am looking for a preset or a custom config which takes an mp3 file and encodes it for playback on iOS, Android (4.0+) and HTML5 for streaming (one manifest hopefully). Currently I am seeing presets for HTML5 and HLS (none for Android) however they are separate and not in one config/workflow. How can I set this up to done. Note I am using the UI and not programming at this time.
Are you planning to deliver in both HLS and MPEG-DASH across multiple HTML5 browsers? You will need to use both of those protocols to reach all of the devices that you have in mind. Android has a really poor implementation of HLS. Most of the Android devices only support HLS v3, so make sure to test your devices with the v3 (muxed ts) protocol.
I would encourage you to use the Azure Media Explorer tool for everything.
http://aka.ms/amse
It gives you easier access to all of the protocol URLs that you will need.
Try encoding everything to Standard Definition Multiple bitrate MP4 files to begin with. Most Android devices only like Baseline profile encoding.
Once you have Multiple bitrate Mp4 files encoded, you will need to enable at least 1 streaming Reserved Unit to allow you to get "dynamic packaging" to work. You need that feature to re-package your MP4 files on-the-fly to HLS and DASH.
Also, if you are looking for an awesome player framework for HTML5 delivery -check out our new Azure Media Player http://azure.microsoft.com/blog/2015/04/15/announcing-azure-media-player/
I would like to stream a VOD/Live on following platforms using JW player but not sure which streaming is best suited for each platform
Desktop
iOS
Android
I understand RTMP will not play on mobile devices.
So do I need to go for RTMP for desktop and HLS for mobile or can I use only the HLS streaming for all the 3 platforms?
Or is there any other way to efficiently stream VODs/Live?
You could simply fall back to a vod MP4 file for Android. Here is a set up - http://www.longtailvideo.com/support/jw-player/29394/hls-with-mp4-fallback
For live on iOS. HLS is your only option. Because of this I usually like to use HLS everywhere. For Desktop something like JWPlayer premium can play HLS in flash.
I've seen that some websites that offer video playing services have made their videos work on Android phones, while others dont. Those that work are being opened using the phone's Video Player or other apps such as MX Player.
How can I do this on my website? I know that there is the HTML5 alternative but for some reason I can't implement that.
Thanks!
There are a few options to stream videos to mobile browsers:
HLS (HTTP Live Streaming) for Apple devices
H.264 encoding
Streaming server e.g. Wowza
WebM streaming to Androids and other devices
Browser support in Chrome, Firefox, Opera, Android browser
VP8 encoding
Streaming server e.g. stream-m
MotionJPEG
Works for non-audio videos
Works on almost all devices
Choppy playback, as there is no inter-frame compression
Flash Player
Only few mobile devices, market share steadily vanishes
Supports streaming or progressive download
Streaming server e.g. Wowza or Red5
If your video must not necessarily play back in the browser, you can also just provide a download link to your video. Please note that you won't profit from streaming features like seeking and saving bandwidth for unplayed parts of the video then. In any case, you need to encode your video in different bitrates/codecs to be able to target all devices.
We are working on an video streaming application in iOS and Android. We are using Wowza server. Application works fine from iOS to iOS and Android to Android. Means a video published from iOS device can be viewed on iOS device but not on Android device.
I know both Android and iOS support H.264 compression and we are publishing H.264 formatted stream. Here a bit confusion I thin H.264 is a compression technique and further defined by MP4, FLV etc please confirm.
What I think iOS publish stream something like .MOV defined H.264 stream which is not supported by Android that's why I think it doesn't work on Android. Please confirm.
Please suggest any way to play a video stream published through ios app to Android device.
There are two aspects to video files: The container and the encoding (or codec). H.264 is an encoding, and Android can deal with it, but Apple uses the QuickTime container format, which is similar to the MP4 container but apparently just different enough that Android can't handle it. Android can play MP4 files, and there are utilities to convert QuickTime to MP4, if that helps.
I would like to know the best way to stream video to an iOS and Android app.
I would like to use the same technology for all mobile operating system.
I think to use the HTTP Streaming Live because this is the only protocol supported by IOS.
But I do not know if the HLS works on Android, Blackberry and Windows Phone.
If I use the HTTP Live Streaming, I do not need to use a streaming server like Wowza or DSS, right?
Regards
Aleanar
the android tablet versions (3.0+) only supports HTTP Live Streaming, but (nearly) all versions support rtsp streaming.
HLS should be your protocol of choice although it is not supported by legacy handsets such as Nokia and Blackberry. If you are creating native applications it is possible to use third party players supporting HLS and embed that in your application.