How to show streaming videos in flash in iPhone application - iphone

I want to show live video streaming which is in the form of flash. Can any body tell me how to do this in an iPhone application.
Thanks
Ashwani

The iPhone doesn't support Flash, so using it isn't an option. You can, however, do HTTP streaming of video. Read Apple's documentation for more information.

Adobe announced during their Keynote at MAX yesterday that you will be able to compile Flash for iPhone apps. They have some sample projects available on the Adobe labs site
You can take those sample files and extend them to accomplish what you're looking for.
The native compile output from Flash Professional isn't going to be available until CS5.
Note: Flash is not native on the iPhone and will not run in browser. Also, apps will not have access to the video camera or the microphone.

No flash but you can stream mp4 etc.
good tutorial on how to stream video:
http://buildmobilesoftware.com/2010/08/09/how-to-stream-videos-on-the-iphone-or-ipad/

Related

Live streaming on iPhone

I just started work on live streaming on iPhone. So any help of how to do live streming in iPhone. I think if I can add video tag in HTML5 and then load that html in UIWebView will work.
Am I right? If not what is your sugestion to do live streaming. I want to embed some news channel live streaming link in the application so from where I can find those links.
You have to go through HTTP Live streaming document provided by Apple.There are some sample live streaming URLs.The file extension will be .m3u8.If you want to configure your own webwserver , you have to configure FFMPEG server in your webserver.The links which will help you
1)Apple document
2)stackoverflow
3)stackoverflow
4)stackoverflow
If you're making a web app in html5 then the video tag is a good choice.
But, If you're developing a native app then MPMoviePlayerController would be a much better choice. There are many example of how to use it online.
iOS doesn't support RTMP or RSTP, so your stream would need to be a HTTP Live stream. From memory the codec choice is very limited too, eg if you supply H264+mp3 you won't get any sound despite iOS supporting mp3.
Also remember that streams from other people (such as the BBC) will normally be protected by international copyright law, so unless you have prior permission to use their stream in your app you may be breaking the law.
Apple has some nice resources on Http Live Streaming.

Help me to play video on iPhone App

I would like to do video streaming from my iPhone application...I mean i want to play video from the web url.
So friends, pls. provide me your guidance or reference (links,tutorial )on this..
Thanks for your time.
This all depends on what technology you are using to build your iPhone application.
If you are using PhoneGap and the html, css, js approach have a look at the html tag. Usage is pretty straightforward.
If you are using Appcelerator's Titanium software to build your app then you can have a look at their kitchen sink example and at their api docs for playing video
If your using native objective c and through all this I am assuming on demand streaming as in not a live show or something then have a look at this SO question
Hope this helps.

iPhone MP3 Streaming alternative to Segmenting

I have run into a bit of a problem. I built an iPhone app that streams my podcasts via the MPMoviePlayerController. Apple will not approve it because it can use too much bandwidth over the Carrier Network. So their workaround is to use a Stream Segmenter. I am unable to install a stream segmenter on my server. Are their ANY other solutions people have come up with that can help me stream my podcast to iPhone devices? Even if I have to make it a Web Application as opposed to a native application.
Thanks,
John
You could use a simple service like Encoding.com to create iphone segmented ondemand versions of your files for multi bitrate adaptive playback. You could also provide a high and low quality and only display the high when the reachability class shows that your using wifi. I had to do the second option to get one of my apps to pass approval. Hope this helps!
Well if you don't want a native app, I think you can just put a video link on a webpage and when the user clicks it Quicktime will take over and play the file. It will play the file as it downloads it.
I don't have any experience streaming large files over the iPhone, so I can't help guide you on alternatives and keeping it a native app.

How do I stream video and play it?

How can I stream video data from the network and play it on an iPhone?
First, are you developing a Web app optimized for iPhone or a native application ?
In the first case, your only option is to transcode your video files to Quicktime H.264 (m4v or mp4 extension). You can use Quicktime Pro (use the export menu) or VLC (as a free alternative). Then simply add a hyperlink to the video file on your HTTP server. Make sure it presents the right content-type and stuff (read Safari Web Content Guide for iPhone OS: Configuring Your Server). That'll work for web and native apps (in a native app you would use the MPMoviePlayerController view). So can "stream" (technically called progressive download of a Quicktime movie file).
If you're talking about streaming live content (i.e. content that you produce live or transcode a live feed) there is currently no official way of doing it (as of iPhone OS 2.2). iPhone OS does not support RTSP/RTP streaming. A number of native iPhone applications (such as UStream.tv and Orb Live) have created their custom live streaming solution (most of them transfer a delayed streams with many seconds of latency over HTTP then somehow decode it on the phone using FFmpeg or other libraries).
Are you trying to stream video in your app or just streaming on your iPhone? For streaming video through an app, use the MPMoviePlayerController and pass the URL of your video to it. The MPMoviePlayerController will itself stream the video and play it for you.
If you're looking for a server based solution (with a very affordable Amazon EC2 option), be sure to check out Wowza at http://www.wowzamedia.com/advanced.php
It streams directly to iPhone/iPod Touch without a custom app.
note: I'm not affiliated with them at all... just a fan/customer.
edit: Just noticed how old this question was. :)

Video streaming from desktop to iphone

Could anyone shed light upon how to capture a live video which is on a desktop and integrate the same to my iphone, so that i can view same live video on my iphone. I am stuck as to where to start. If anyone could give technical info would be greatly helpful.
thanks in advance
The new QuickTime X in Snow Leopard has support for a new feature called HTTP Live Streaming, which works with clients including the iPhone. There are several examples in the ADC of how to capture from the screen. You would then need to run it through a compressor (most likely H.264) and use a web server (such as the built-in Apache) to distribute the content over the network.
QuickTime Developer resources
Detailed AppleInsider article on HTTP Live Streaming
HTTP Live Streaming Guide