# Solving Buffering Nightmare Mathematically

A typical YouTube SD video with 480p quality has a bit rate of 1200 kbps (kilo bits per second). Mr X's internet connection has speed of 512 kbps.

If Mr. X decides to watch a 60 minute video on YouTube, find minimum time in seconds he should allow buffering so that he can watch the video uninterrupted.

Note by Vikram Pandya
4 years, 2 months ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$

Sort by:

my result is 1 hour and 21 minutes

- 4 years, 2 months ago

Sorry there was a minor calculation mistake in my answer. Your answer is correct :)

- 4 years, 2 months ago

Following is one elegant way to put formula for the same when bitrate > download speed:

[ Video Bit rate * Video Length in Seconds / Download Speed ] x [1 - (Download Speed/Video Bit rate)]

i.e. Initial Buffering required in Seconds = VB * VL / DS * (1 - DS/VB)

i.e. Initial Buffering required = Time required to download entire video - Video Duration

- 4 years, 2 months ago

Its 34 minutes and 24 seconds.

- 4 years, 2 months ago

Corrected Solver file https://drive.google.com/file/d/0B69AAlUY9P1xTFZQdDlHYlNrWmM/edit?usp=sharing without using formula

- 4 years, 2 months ago

Pham Duy now has the correct answer.

- 4 years, 2 months ago

Comment deleted May 04, 2014

Is it 1536 seconds?

- 4 years, 2 months ago