InMotion Hosting Support Center

Why do I get Stuttering on Video Streaming ?

2013-03-27 11:11 pm EST

Hits: 1,222
Hi - I am developing a customer site which will be loaded on IHM when finsihed. I have an mp4 video in a folder with some very simple HTML 5 code in my page. When it runs it stutters badly.
What Can I do to optimize the streaming ? I don't need a player like JW as I don't want my customer to have pause / start / fast forward. I just want it to run clean like videos run on CNN.
Have a look for yourself:

What advice can you give me to achive that ?

btw - be aware, mp4 does not run in Firefox.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Hi Jacob - your somehow I can not enter any further comment to your last answer. So Hope you see this:

When you say "video service" - do you mean like JW or Youtube ? If so, then am I not obligated to have controls and logo's on my video ?

thanks Vince
8 Points
2013-03-28 03:53 pm EST
Hey Vince,

Sorry you were having issues trying to comment below mine, we're trying to get that resolved now.

Yes in regards to video services I do mean like YouTube or Vimeo. In regards to control over how you can embed the video I believe YouTube probably has the most flexibility, and you can check out the YouTube Embedded Players and Player Parameters for more info on what you can do.

For instance these sound promising for you:

autoplay (supported players: AS3, AS2, HTML5)
Values: 0 or 1. Default is 0. Sets whether or not the initial video will autoplay when the player loads.

controls (supported players: AS3, HTML5)
Values: 0, 1, or 2. Default is 1. This parameter indicates whether the video player controls will display. For AS3 players, it also defines when the Flash player will load:
controls=0 – Player controls do not display in the player. For AS3 players, the Flash player loads immediately.

Please let us know if you had any further questions.

- Jacob
9,968 Points
2013-03-28 05:48 pm EST



9,968 Points
2013-03-28 12:10 pm EST
Hello vincej, and thank you for your question.

When I took a look at the site the video in question actually did not stutter at all for myself. How bad is it stuttering for you? Is the audio out of sync, or is the video itself very choppy?

I could simply be the computer that you're viewing the video on, as .mp4 videos can be taxing on your system resources. Or you could also possibly be having a bit of packet loss to the server itself.

I took a look at the details of the video and it appears to have an overall bit rate of 1,875 Kbps for a resolution at 700 x 400. That's probably on the bit high side for the resolution of the video.

For instance here is Adobe's recommended rates for live streaming.

The closest comparison resolution they have on there looks to be 720 x 486 which they recommend only 1,200 total Kbps.

When you play the video directly from your hard drive, is it still stuttering for you? If so that would indicate it's probably just the computer you're trying to watch it on. Ensuring you have a lower bitrate is going to help make sure the widest audience is going to have a good playback of the video.

Hope that information is helpful, please let us know if you had any further questions.

- Jacob

You must login before you can post a comment about this answer.

Hi Jacob - thanks for your help. I am new to streaming - I will definitly check out the Adobe link. I need the dimensions of 700 x 400 but i was unaware I can reduce the Kps. Two things: first of all I put the video up *yesterday*, during one of the worst internet slow downs in history. I was getting less than 1mbs download in a speed test. Today things are much better, although when you clear your cache and load it 'fresh' it still stutters for the first second or two, then runs fine. Once cached it runs clean.

I am however, seeing a new problem on my HP x2 envy tablet. It has an atom processor + full win8. The video does not even start. Any thoughts on that ?

Many Thanks Vince
8 Points
2013-03-28 12:24 pm EST
Hey Vince, no problem at all.

If you're having a slower than normal connection to the server, this could cause some stuttering as a video is loading. Definitely having the video as optimized as possible such as lowering the bitrate can help prevent these problems.

A lot of times with video it's also recommend to take advantage of a CDN (Content Distribution Network) for your media files. The reason for this is because on our web-server, it's physically located in California. So if there is some network congestion in-between our data center and your visitors this could possibly lead to stuttering problems if they aren't getting a great connection speed.

With a CDN, you upload your media files to their network, and then they distribute that across geographically placed data centers. That way if your user is in Virginia it would try to stream that video from an East Coast data center, while if they're in Europe it would attempt it from a European data centers.

Your other options would be attempting to preload the video fully before starting to play, optimizing the video to a lower bitrate, or uploading it to a video service and then embedding it back on your website.

I'm assuming the Hp x2 envy tablet you're using either doesn't have the proper codecs to play an .mp4 video, or possibly it's too high quality for the processor/on-board video to be able to handle.

- Jacob
9,968 Points
2013-03-28 3:09 pm EST
Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!