Link to home
Start Free TrialLog in
Avatar of J N
J N

asked on

Website video speed

Hi,

i have uploaded videos to a website and i am using experiencing some serious lag. i am using the javascript video.js found on this website http://www.videojs.com/ and am using .mp4 for the videos.

the videos are various sizes ranging from 10mb to 50mb. the videos take for ever to play. is there a way to make the buffering speed faster, i have adjusted my realpath_cache_size on my php.ini file from 16k to 16M. is there a way to increase the speed?

thanks
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Hosting videos is more complex then you would thin.  It's as much about speed as how you encoded the video.  Bit rate as a lot to do with it.  Another factor is where your server is located vs where you are located.  Chances are you are hosting it your own site and not on a CDN.  Even worse if you are using shared or vps hosting.  

The best thing you can do is use a CDN.   http://support.brightcove.com/en/video-cloud/docs/content-delivery-options http://www.rackspace.com/cloud/files/technology/  Personally, I think the best buy is using www.smugmug.com.  It's a flat $50 bucks for the year.

A CDN will detect that you are in NY and use a server in NY to deliver the content or the CA or the UK or wherever is closest.  

Bitrate and where the files are hosted are the 2 biggest factors.
Can you post your code or give us a link to the site?  I agree with what @padas has said though happy to look at what options you have set etc
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of J N
J N

ASKER

the website it
http://www.bushbrigade.com/gallery/videos.php

i think youtube may be the answer
Have to agree with ray as a cdn is going suit your needs better than trying to reinvent the wheel and do it yourself
Thanks for the points and best of luck with it, ~Ray