DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: video hosting performance: local vs youtube/vimeo/etc.  (Read 7,113 times)

superboyac

  • Is your software in my list?
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
video hosting performance: local vs youtube/vimeo/etc.
« on: April 18, 2014, 09:23 PM »
There are certain educational video clips i want to organize and put together in a website (wordpress).  Youtube is difficult because their contentid is so aggressive and most anything gets taken down.  Is there another host with a less aggressive system?

Also, how come locally hosted videos have such poor performance compared to the youtubes and such?  can it be fixed?  that is, is it possible for a locally hosted video to playback on a browser or mobile without too much headache?  every time i try, there are always problems...it won't start, you have to press play like 5 times, buffering is super slow or nonexistent.

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #1 on: April 19, 2014, 05:28 AM »
Sounds like bandwidth issues to me. Usually the bandwidth from a residential internet connection is geared towards downloading of data. For uploading only a fraction of that is available to you.

Furthermore, video requires very consistent upload capabilities and residential connections aren't usually not optimized for that. That is where very different priced business connections come in.

Also, making sacrifices in video resolution will improve playback speeds. Downgrading resolution will show you the capabilities of your connection.

Getting a business connection is not a guarantee either. You can optimize all you can on your end, but if your ISP doesn't (too much overbooking, software settings and/or hardware) it is still in vain. Besides that, your telecom provider might also throttle bandwidth if you are in a place where the ratio of phones and antenna's isn't optimal. And with big businesses paying your (telecom) provider to get priority on bandwidth... 

There are so many points of failure in getting local hosted, high quality video to work, especially on phones. The only place where watching a locally hosted video through a browser on a phone is on your own local WiFi network...but then you might as well watch it on a monitor.
The easy path is usually downhill...

Jibz

  • Cold Warrior
  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Participated in NANY Challenge Four Times
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #2 on: April 19, 2014, 08:28 AM »
I think they also re-encode your video, to get smaller files in a (sub-)format better suited for streaming.
"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu

superboyac

  • Is your software in my list?
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #3 on: April 21, 2014, 05:01 PM »
locally hosted:
http://tbgentertainment.com/uncategorized/video/

vimeo
https://vimeo.com/89162926

Do you guys notice a difference?  I do.  vimeo plays perfectly.  the locally hosted one sometimes flickers a lot, sometimes pauses to buffer, sometimes you need to press play multiple times.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #4 on: April 21, 2014, 05:14 PM »
The local one paused to buffer a lot for me too -- of course that is not because it's local per se -- but rather a reflection of the local server's performance weaknesses and the bandwidth limits of its location.

superboyac

  • Is your software in my list?
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #5 on: April 21, 2014, 05:44 PM »
The local one paused to buffer a lot for me too -- of course that is not because it's local per se -- but rather a reflection of the local server's performance weaknesses and the bandwidth limits of its location.
How can I make it faster?  other than getting a private server option, that is, which is way more expensive.  shouldn't i have enough bandwidth to play smoothly once in a while?  I've never had good performance on videos i've locally hosted...and i've tried at least 3 different web hosts.

Jibz

  • Cold Warrior
  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Participated in NANY Challenge Four Times
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #6 on: April 21, 2014, 06:29 PM »
It looks like the video is encoded at around 12 MB/sec, and from my computer I am downloading at somewhere between 256 kb/sec and 512 kb/sec from your server, it should be obvious that there is no way this will be smooth.

For streaming, I would make a web-optimized video file at no more than 2 MB/sec (I don't know what software you are using, I often use use Handbrake for recoding).

If you don't want to place it somewhere with more bandwidth than your own server, you might have to go even lower, but the quality will suffer.
"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu

Original address: https://www.donationcoder.com/forum/index.php?topic=37764.0