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.
Buffering refers to downloading a certain amount of data before starting to play the video. Two common reasons for buffering are 1) your internet connection is too slow to stream a video in real time, and 2) the speed at which your router sends the video to all your internet-connected devices is too slow.
Video Quality Related to the “Internet Speed” bullet–if you don't have the bandwidth to easily stream in super HD (or even regular HD!)) that will create video buffering problems. Think about it like trying to flow too much water through too small a pipe; there is bound to be a backup.
Possibly the most common form of buffering occurs when your internet speed is too slow to download the amount of data needed. In this scenario, your device will buffer the data for the video and then begin playing it when there is enough data downloaded to prevent lag in the stream.
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;
That its!
Good luck
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With