topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday December 2, 2024, 5:53 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
video hosting performance: local vs youtube/vimeo/etc.
« on: April 18, 2014, 04: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,939
    • View Profile
    • Donate to Member
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #1 on: April 19, 2014, 12: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.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #2 on: April 19, 2014, 03:28 AM »
I think they also re-encode your video, to get smaller files in a (sub-)format better suited for streaming.

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #3 on: April 21, 2014, 12:01 PM »
locally hosted:
http://tbgentertainm...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,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #4 on: April 21, 2014, 12: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

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #5 on: April 21, 2014, 12: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

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: video hosting performance: local vs youtube/vimeo/etc.
« Reply #6 on: April 21, 2014, 01: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.