Hi
I'm running a website with several video streams.
Every stream is recorded in 15 different bitrates. I measure the bandwidth of the user an deliver the video with a matching bitrate.
But: I somehow think that latency also plays a role if the video plays fluently or stutters.
So I'm wondering if there is some calculation or rule of thumb that I can use in my javascript for selecting a video with apropriate bitrate for high vs. low latency.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
Latency plays a role in the complexity of buffering, but only to the extent where the bandwidth is lower than the supplied bitrate. Latency has more to do with how MUCH needs to buffer to achieve a smooth remaining playback and what kind of GOP structure the file has (long GOPs inherently have more latency because a whole GOP needs to be processable before the non-I-frame frames are viewable).
I'm curious as to what protocol you are using to stream the files (http? rtsp? mms?,...) and what server software is monitoring & facilitating this protocol. It should be determining your playouts automatically - that's what they do. Or are you trying to do this all manually via JS on a standard, self-hosted website? If so, that's part of your problem.
Scott -
Well, then that's your problem. Http wasn't built for streaming. That's why there are other protocols used when dealing with those types. They were built specifically to handle what you are attempting, and they were built by people who understand the infrastructure better than you (sorry).
Why are you trying to reinvent the wheel? That is surely taking up a good deal of your time.
Scott
Similar Threads
-
GraphStudio How to change Samplerate, latency etc?
By zerowalker in forum CapturingReplies: 2Last Post: 12th Jan 2014, 08:47 -
NTSC frame rate and the relation to time (and timecode)
By xcile in forum ProgrammingReplies: 30Last Post: 28th Feb 2013, 12:04 -
Any way to reduce latency and improve clarity on a Facetime video call?
By chrisj in forum Newbie / General discussionsReplies: 0Last Post: 25th Jan 2013, 08:52 -
latency in video streaming
By nikhitha in forum Video Streaming DownloadingReplies: 0Last Post: 29th Jun 2012, 02:45 -
Help with long latency Silverlight streaming...
By george-at-fastsoft.com in forum Video Streaming DownloadingReplies: 4Last Post: 14th Feb 2012, 18:07