I have a query regarding showing a video (which is stored on server) on iPhone.
I want show a video in an iPhone Application.
This is not live streaming.
So how the video can be shown?
I have read the Apple's documentation for HTTP streaming of video.
Do I need to call a Web Service?
Is there any tutorial for this?
I have seen the Apple Sample code for MPMoviePlayer.
While the locally stored video works fine, there is problem while showing the video stored on server.
Thanks in advance..
See the movie player sample code from the apple docs.
Related
I am new to iPhone Development. I need to capture video. While I'm capturing video it display on server too. Something like live streaming.
Anyone have idea from where I should have to start for this functionality?
Thanks in Advance.
Your question seems similar to this
Xcode ios: Streaming of video file while recording and removed redundant personal statements
First Half Solution
Using AVFoundation you can get video Buffer/frames while recording.
Second Half
But for uploading i didn't find any solution
There is Input Stream option there in iOS APIs but it need some file path. but as video is not recorded we didn't have any path.
Edit 1
Here is Best Example for AVFoundation provided by Apple, you can start with
I recommend you to use wowza wowza.com/https://www.wowza.com, it has all the features, from live stream, video on demand and etc.
I need to implement iphone video streaming to server. I've googled a lot but I found only receiving video streams from server. It is made using UIWebView or MPMoviewPlayer.
But how can I stream my captured media to server in realtime?
How can it be done?
check out this Apple sample code. this is using a AVFoundation.
StitchedStreamPlayer
I have a question about video stream processing. Is it possible to get access and modify real time video stream during recording (f.e. I want to add some text to video)? I can do this as a preview by getting separate frames, but I'm looking for tool which will allow me to store video with my text in video frames.
Probably there is already some libraries/tools available (but I haven't found any yet).
Try GPUIMAGE library. It can help you.
You should check AVCam sample code by apple. That might be a starting point.
In my iPhone App I need to show the videos which are in Flash format.
I asked the client to change the videos in iPhone compatible format. They stored the converted the video on a server and I am able to show the video using MPMoviePlayerController.
Now we need to store around 25 videos (Each around 300 MB) and access them via iPhone App using MPMoviePlayerController
I have to help the client figure out how or where to host these files.
So some questions are there
1) What all things need to be taken care on server side for better performance? Is there any document available for this?
2) The video will be streaming or progressive download ? Do we have a choice?
I am sure many people would have done it. So kindly help in this regard.
if video is more then 10 minutes then you have to use streaming not progressive and you have to prepared playlist on server side with .m3u8 format. you just need to pass this url with .m3u8 into the mpmediaplayercontroller and this will take care of every thing from client side.
For server side functionality you can search apple code for streaming video.
I need to create streaming application on iPhone. I have gone through apple's developer forum already. What I want to do here is that I would be implementing my own streaming method. To start with I need to create an application which can get file from some URL using simple streaming and then will display in window (view). I cannot use browser here.
Can someone please help?
Isn't this (HTTP Streaming) or this (Apple live video streaming) what you intend?
Http live stream (for videos) has been released with the 0S 3.0.
It's not clear if you are talking about video streaming or else.
If it's audio streaming, check out this cocoa with love article.
A lot of people use this as their starting point.