I am downloading a video from remote server. while download in progress what ever data downloaded in current(not full download), I want to play that data in a video player. if the file size is 10 MB, when I start download if 0.5 Mb downloaded I want to play that 0.5MB video, while downloading It has to play. I dont' want to stream, because next time I can play it from local file.
is there any video player available in iOS?.
Whatever you are asking for is called a progressive download, which is performed over HTTP protocol (RTSP is for streaming) and HTTP server is required (instead of Streaming server).
You can play the progressive download streaming from a simple java server https://github.com/mooncatventures-group/StreamX
iOS devices support HTTP progressive download for .mp4 files..
Related
I am trying to save(offline download) the streaming video to device.
For streaming using Wowza Streaming engine I could stream and download offline a vod (video on demand mp4 using m3u8 url).
But, I failed to save the live streaming. I am able to stream the live video but, download not happening.
Here the app code Apple HLS Catalog App could not download live video.
Any help, highly appreciated.
In my Application I'm capturing 10 second of video and upload to server by FTP and Other user can watch this video by URL(s) from web service response.
As per my question I want to capture video with good quality with small size so It easy to upload video by FTP. Right now I'm using .mp4 video formate to upload video if anybody know best video formation that can increase uploading speed then guide me.
Second I'm getting all those uploaded video in the response of web service as a URL(s).
In response there are many URLs so I need to play video in queue means one-by-one and end user can do swipe left to move on NEXT video and swipe RIGHT to previous video. You can see my code here.
Every thing is working good but problem is take much time to upload and play (buffering time) video.
Please guide me on this points.
COMMENT : Get success in the compress video 20 MB to 1.6 MB so uploading speed bit increase and Right now working with AVQueuePlayer for play video in queue but some time stuck video to playing.
Yes,
May you upload video using chunk data in base64 format.
This is faster then FTP video upload & also useful when your internet connection is lost same time when you upload video in sequence.
You can upload your files via SFTP, it is speed than FTP I think. Also your videos may bad performance with plays on http protocol.
You should follow this lines, I hope it will help you;
Upload video via SFTP or Amazon S3
Install to your server a stream engine like Wowza or Red5
Transcode video for mobile (Usually wowza makes auto)
Stream your videos over rtsp for android, hls (http) for ios
That its!
Good luck
Problem:
I need to download mp4 video from media server and simultaneously feed the localhost httpserver (GCDWebServer) to enable video streaming.
What have i tried so far:
I am able to download a video file from media server and then provide the localhost url for streaming the video.
But this takes a lot of time in downloading. So i wanted to know if there is a way i can segment the video on the fly and keep updating the m3u8 file as and when my next segment is ready.
Ok, Why downloading? Basically i need to deal with a custom encrypted video file. So i need to download, then decrypt the stream and then feed to my local httpserver.
I hope i'm clear in the requirements.
I have a big MP4 video file in Dropbox. Is there a way to start playing that while downloading in iOS?
Thanks
Use an NSURLConnection to async download the content of the video URL into a local file and after a certain fraction has been downloaded (approx. 2 MB), play the file. NSURLConnection with connection:didReceiveData delegate method does the job
I'm assigned to implement a iphone app that can download video files from a server, and to play that video while the video file is written to the disk; something likes
(Movie player)<--read--[###### iphone flaskdisk ######]<--write---(Downloader)
I know that I would use HTTP video streaming play a remote video stream, but what i need is the video file is saved in flask mem after playing.
Any suggestion?
Thanks
If you know how to play a video from a URL, you can easily play the video while simultaneously download the video on another thread (if you are short on time)...
Alternatively, you can create your own video player that handles this function. Application sin the App Store do already do this (check out any video downloader application)
Thanks!