• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

Website video speed


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?

1 Solution
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
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.
RobOwner (Aidellio)Commented:
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
Ray PaseurCommented:
You might consider using Vimeo or YouTube.  They both have the whole video thing figured out.
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

J NUnicorn wranglerAuthor Commented:
the website it

i think youtube may be the answer
RobOwner (Aidellio)Commented:
Have to agree with ray as a cdn is going suit your needs better than trying to reinvent the wheel and do it yourself
Ray PaseurCommented:
Thanks for the points and best of luck with it, ~Ray
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now