ss » s Home ss » s Online TV ss » . Technology ss » s Blog

Monday 13 April 2009

Streaming bandwidth and storage


Streaming media storage size (in the common file system measurements megabytes, gigabytes, terabytes, and so on) is calculated from streaming bandwidth and length of the media with the following formula (for a single user and file):

storage size (in megabytes) = length (in seconds) * bit rate (in kbit/s) / (8 * 1024)
(since 1 megabyte = 8 * 1024*1024 bits Real world example:

One hour of video encoded at 300 kbit/s (this is a typical broadband video for 2005 and it's usually encoded in a 320×240 pixels window size) will be:


(3,600 s * 300,000 bit/s) / (8*1024*1024) give around 128 MB of storage
If the file is stored on a server for on-demand streaming and this stream is viewed by 1,000 people at the same time using a Unicast protocol, you would need:

300 kbit/s * 1,000 = 300,000 kbit/s = 300 Mbit/s of bandwidth
This is equivalent to around 135 GiB per hour. Of course, using a Multicast protocol the server sends out only a single stream that is common to all users. Hence, such a stream would only use 300 kbit/s of serving bandwidth. See below for more information on these protocols.

No comments:

Post a Comment