views:

185

answers:

1

I am simply looking for the formula that should be used here. All the results I've found base "finding the bitrate" off of already existing video. I'm talking about LIVE streaming. (indeterminate length)

So, I know some basic parts of it, but I just need to know if I'm right or missing anything.

For Kbps:

Resolution * Framerate / 1024

Is it really that simple? Audio would be a separate element for our purposes here. Am I missing anything from this formula?

(Coming up with a proposal of what amount of bandwidth would be required, relative to possible resolution options, so I just need to be sure that I'm not missing anything or inaccurate about it)

+1  A: 

There are two different bit rates in question when talking about video:

  • bit rate of the rendered video (for which your equation is almost there on)
  • bit rate of the networking 'stream' from server to client (which I suspect you are after)

The bit rate value for the network stream has many, many variables. These are dependent upon not just the resolution and frame rate, but also...

  • the video CODEC,
  • the CODEC configuration (key frame rate, use of advanced compression techniques, etc),
  • streaming and network protocols (RTMP?, RTP?, RTSP?, HTTP?, etc),
  • audio CODEC (MP3, AAC, etc.), source & quality (8-bit 11KHz mono? 16-bit 44.1KHz stereo?),
  • expectations and requirements regarding end user viewing quality,
  • and more!

Even the video source's characteristics can impact the bit rate. (No motion with a compressed stream means a lower bit rate.)

Because of all this, streaming live video is more of an art and less of a science.

Stu Thompson
Thanks for the response Stu. Never having dealt with streaming video before, I guess I was biting off a bit more than I could chew. If you have any tips or resources, please let me know--it seems to be a very unclear science, or as you called it, art, so any guides are always appreciated.
Matt D
@MD: Maybe have a look at a youtube.com video with various qualities. YT supports 4 different qualities these days. Use that as a baseline. More importantly, start tinkering with live encoding tools--change the settings and observe the qualities put out.
Stu Thompson