Bit Rates De-Mystified

4.344.344.344.344.3436votes
Author: Shiv Kumar
Views: 26432Favorited: 0 Favorite It Comments: 40
November 07, 2009 12:56 PM
Filed Under: FAQ
Tags: Audio Settings, Video Encoding, Video Sizes
 
 
 
In this article I attempt to explain the basic relationships between bit rates and file size and video and audio quality to try and explain what you should and shouldn’t do at the time of encoding your videos.
 
For the most part this article assumes that the target of your encoded video is ExposureRoom or some other video website. Please also note that in order to keep things simple and explainable, I’m assuming CBR (constant bit rate) mode of encoding even though VBR (variable bit rate) is what you should use when you encode your video.
 

Before we begin let’s understand some terms.

8 bits = 1 Byte
b = bit
B = Byte

Notice the lower case "b" indicates bits, while the uppercase "B" indicates Bytes. This is a very important distinction to keep in mind. Also keep in mind when we talk about Internet bandwidth, download/upload speeds, video and audio bit rate we always use bits, while when we talk about file size or hard disk capacity or computer memory, we always talk in Bytes. For example your computer has 4GB of memory and not 4Gb.

1kb = 1 kilo bit
 
When it comes to the Internet and bandwidths or video and audio bit rates 1kb = 1000 bits and not 1024 bits as is common when we talk about file size, or disk space or computer memory.

 

Relationship between Video Bit rate and Video Quality

The higher the video bit rate you encode your videos at, the better the video quality will be and larger the resulting file size. In other words, file size is directly proportional to video bit rate (and video quality).
 
Encoding your video at a bit rate higher than the bit rate of the source material adds no value to the quality of your video, but will increase the file size. That means there is no point in encoding your videos at a bit rate higher than that of your source video.
 

Some common video sources and their bit rates
All HDV cameras 25Mbps
Canon XH-A1 (this is an HDV camera) 25Mbps
Canon HV20/HV30/HV40 (these are HDV cameras)  25Mbps
XDCAM HD (HQ mode) 35Mbps
XDCAM HD (SP mode)  25Mbps
Canon 5D Mark II 40Mbps
Canon 7D 40Mbps
 

Relationship between Audio Bit rate and Audio Quality

The higher the audio bit rate you encode your videos at, the better the audio quality will be and larger the resulting file size. So once again, file size is directly proportional to audio bit rate (and audio quality). And again, encoding your video at an audio bit rate higher than that of the source material adds no value to the quality of audio but will grow the file size.
 

Some common audio sources and their bit rates
iTunes 128kbps
Amazon 128-256kbps 
CD 1411kbps*
FM Radio 96kbps
MW Radio 32kbps
All HDV Cameras 384kbps
Canon XH-A1 384kbps
Canon 5D Mark II 1411kbps
Canon 7D 1411kbps
*When you rip audio from a CD the bit rate of the audio file you get is dependent upon the settings you picked. By default, most software will rip the audio at 128kbps as an MP3 file. You would have to have chosen a lossless best quality setting to get the ripped audio file to be at 1411kbps.

Note: MP3 specifications set the maximum audio bit rate at 320kbps. So if your source is an MP3 file you can be sure the bit rate the file is encoded at can never be more the 320kbps.

 

Relationship between Dimensions of Video and File size

There is no correlation between dimensions of your video and file size. As surprising as that may seem, it is true. The dimensions of your video have no impact on the resulting file size.

However, a video encoded at 1920x1080 will require a much higher video bit rate (for the same perceived visual quality) than a video encoded at 1280x720. How much higher? Well, let's first understand that we’re talking about the same perceived visual quality. That’s pretty hard to judge but math makes it really simple to determine. Let’s say you have a video that’s been encoded at a certain bit rate and dimensions of 1280x720 and it looks absolutely stunning. If you were to encode the same video at 1920x1080 to get the same stunning look, you’d have to encode your video at more than double the video bit rate. Of course, we know now, that that would also double the resulting file size!

Here is the math
1920x1080 = 2,073,600 pixels
1280x720 = 921,600 pixels

The difference in the number of pixels is 1,152,000 and that is 55.55% more pixels.
 
So what should you do? Well, that depends on your target. Again, if the target is online video and the largest dimensions the website transcodes your videos at is 1280x720, then stick to that, because you’ll get the best resulting video quality (quality of the video you see online) for  half the file size. Half the file size means it would take a lot less time for you to encode and half the time to upload the video to the website in question.
 

Bit rates for On-line Video

If your video source material’s video bit rate is higher than 5,000kbps then encode at 5000kbps. If not, then match the source material’s video bit rate (look at the table above for video bit rates of various sources).

If the audio source material’s audio bit rate is higher than 320kbps then encode at 320kbps. If not, then match the source material’s audio bit rate.
 
Keep in mind that if your source material is from mixed sources, then you should probably encode your audio at the bit rate of the source that has the lowest audio bit rate. But let’s say you’ve got one source material of background music at 128kbps and voice that’s been recorded at 1,411kbps (Let’s say you used the Canon 5D Mark II or 7D to record video and audio), what do you do? Since you want the “best” audio quality possible I suggest you encode your audio at 320kbps. This way, the voice will be as good as possible*. The background audio won’t get any better and the resulting file size will be unnecessarily larger than it needs to be, but it may well be worth it.

Why 320kbps? Note that ExposureRoom is the only website that encodes the audio of your videos at the same or best audio quality possible. All other websites encode your audio at 128kbps.
 
*Since most online videos are transcoded to Flash Video and Flash Video uses MP3 for audio, we limit the audio bit rate to 320kbs.
 
Find out (from the website you intend to upload your video to) what they encode your audio at and use that as your guide.

Comments



DnM Wedding Films    November 07, 2009 04:53 PM

Thanks Shiv, this is very helpful. Much appreciated.

Hanna Adcock    November 18, 2009 05:44 AM

Thanks for the info Shiv - what is the optimum settings for uploading to Exposure Room (in standard not HD)? Would it be 280x720?

Shiv Kumar    November 18, 2009 08:53 AM

Hanna,

For SD I'd encode the video at the original dimensions. Is 720x280 the dimensions your camera produces? Make sure you don't change the aspect ratio and make sure you don't try and increase the dimensions from what your camera produces. I have an SD camera that produces 720x400 (SD wide).

Either ways, for the dimensions you can always calculate the appropriate bit rate by simply keeping them proportional. Meaning, if for a width of 1280 we reccomend 5000kbps, then would would it be for a width of 720?
720 * 5000/1280 = 2800kbps.

A more accurate way would be to include the total number of pixels rather than only the width, but we don't need to be so accurate here.

Keep in mind that SD or HD makes no difference. It's the number of pixels that determine the bit rate you should encode at.

   November 19, 2009 05:32 AM

Hi Shiv, thanks for the info. I meant 1280x720(missed off the one there!)but i think you realised that! Keeping at the original dimensions makes sense, I have just never been sure what processing Exposure Room do on their end once its uploaded to them
Thanks again
Hanna

Abraham Joffe    November 20, 2009 09:41 AM

Great help - thanks heaps for taking the time to explain

Abraham

Maurice Salazar    November 20, 2009 05:06 PM

HI
Any reason why the QT file once imported in ER looks washed out??
Thanks for the input
Maurice

Shiv Kumar    November 20, 2009 05:10 PM

Maurice,

You shouldn't have this issue any more. 80% of the files uploaded to XR are either .mov or .mp4 files.

This is really a Quicktime issue. I'm sure you've heard of the gamma issues with Quicktime?

If you take out the gamma bit you should have this issue. I'm afraid I'm not a MAC user so I can't tell you how to do that.

Which of your videos is having this issue?

BikeHelmet    November 21, 2009 02:50 AM

Does ExposureRoom re-encode?

Quick question - does ExposureRoom re-encode video?

I was running tests on H.264/AAC (x264/3GPP AAC+) in an mp4 container a while back. For FRAPS'd video of an RTS, where the screen didn't change much, just 512kbit achieved the same quality as 2mbit Youtube.

That's because of all the advanced settings I spent days tweaking, to learn how they worked. x264 is amazing once properly tuned. :)

If this site doesn't re-encode, then I may have found my new Youtube - assuming game recordings are acceptable for this site.

Shiv Kumar    November 21, 2009 05:56 AM

Every website re-encodes. H.264 is not some magic bullet and YouTube does not encode at 2Mbps. It's just that your test.

I'm afraid we don't accept gaming videos, sorry.

Back hoo    November 26, 2009 07:42 AM

091125 fire

good...

Henrik Helms    December 01, 2009 09:05 AM

File size... and rates

Mayby I am a bit slow, but is your max windowsize 1280x720 and your suggestion that we compress our 1980x1080 to 1080x720 when we make them ready for exposureroom?

Most of my material is 1920x1080 shot on the jvc 700 at 35 mb - what would your guideline be, to make the best result?

Kind regards
Henrik

Shiv Kumar    December 01, 2009 09:15 AM

Encode at:

Dimensions: 1280x720
Video bit rate: 4,500-5,000kbps (4.5Mbps-5Mbps)
Audio: 320kpbs, if the audio is at leat that quality. If less, then match the audio bit rate

Henrik Helms    December 01, 2009 09:22 AM

Thanks

for your quick response Shiv!

Kelly Cicero    December 03, 2009 03:42 AM

.mov files won't upload

Good morning:
Been working on this all day. I am able to upload .mp4 files that don't look very good but have tried unsuccessfully to upload .mov files. They will let me browse the file, then it sits at "0%" forever...never giving any upload rate or time remaining. Suggestions?
Thank you in advance,
Kelly

Tom Furland    December 08, 2009 06:42 PM

.mov files won't upload

Hi Kelly,

This is the same symptom I had for a file over 2GB (files must be less than 2GB). Hope that helps some.

Regards,

Tom

Kelly Cicero    December 08, 2009 10:14 PM

You are absolutely right...

Hi Tom:
You are right - it was the file size. Peg worked it out for me. My files were HUGE...6GBs, so it couldn't load. I was exported in regular Quicktime movie from FCP then trying to upload. Now I only export with Compressor so I can control the size easier with a preset I created. Much better. Thank you for the follow-through.
All the best,
Kelly

Gary Edwards    January 03, 2010 09:52 PM

Should I set a max video bitrate

I am using ffmpeg to encode some 720p video for upload. I am using VBR with the settings:

video bitrate 5000k
video bitrate tolerance 5000k

Should I also add a "max video bitrate" value set to 5000k to cap the bitrate as it sometimes goes slightly over 5000k or is the average value ok? What will work best when re-encoded by your system?

Thank you in advance

Gary

Shiv Kumar    January 04, 2010 08:16 AM

Gary,

Using ffmpeg to encode seems like an additional step. Why are you not simply using your editing software to encode it to the specs we recommend?

I would leave out the tolerance and max video bit rate switches and just use -b 5000k. Constraining the other parameters will likely cause more trouble (worse quality than expected) as every video requires different settings as far as those other settings are concerned.

So in order words, when we say 5000kbps for a 720p video, in ffmpeg terms that translates to the -b switch.

But really, I'll re-think your work-flow. If you are editing your video, then use the video editing software to encode. This will not only save one additional encode but may actually produce better quality.

Gary Edwards    January 04, 2010 01:00 PM

Hi Shiv

Thanks for your quick replay. I use kdenlive as my editor so the ffmpeg setting translate over to it's render settings. I will have a go with your recommendations.

Gary

outbacktrail.org Mike Cazz    January 15, 2010 07:16 PM

Max Video Rate used by Exposure Room

So your saying since my Canon HV40 is 25 mpbs - render to 5000 mbps? Or are you saying render VBR with a max of 25 mpbs? So 5000 mpbs is the highest that will be displayed here? Do you have a preferred upload file format that will produce the highest quality after your encoders encode?

Shiv Kumar    January 20, 2010 11:42 AM

Mike,

No that's 5Mbps (or 5000kbps) and not 5000Mbps. VBR, CBR makes no difference. Set it to 4.5Mbps-5Mbps.

It's not about the display but about the file you upload to XR.

theo rossi    January 26, 2010 01:21 PM

POOOOFFF

Yeah, the myth is gone... Poof!
Thanks Shiv for this informative article.

I thought I knew all there is to know, but found out my data (brain cell) was corrupted :)
Heh.

Well done.

theo

Jonathan Lawrence    April 24, 2010 10:15 PM

knowledge

knowledge is Gooooood THANK YOU

Fred Forbes    May 29, 2010 11:15 AM

iTunes Bit Rates

Hi Shiv, Thanks, very informative. Music bought through the Australian iTunes store (and I thought the others as well) has been 256kbps since iTunes Plus became the norm a long time ago. Obviously you can choose what rate you import your own cds into iTunes. Cheers, Fred

Jonathan Lawrence    May 30, 2010 01:30 AM

Director/DP/Editor

I've been in this business for 30 plus years and I am still waiting for the 'Just Make it look cool' button.

Sim Marajingi    May 31, 2010 12:05 AM

Jumpy/jerky video

Hi there, uploaded a video today. Was fine on my computer but now that I have uploaded it, the video is jumpy.. Audio is fine though, Did let it load the entire film before playing thinking it might be buffering, but no luck..Any tips? or anything you know of that will fix it? Thanks so much..

Shiv Kumar    June 01, 2010 07:10 AM

Sim, Just took a look at your video. No jerks or jumps. That tells me that your computer hardware is not adequate to playback the video. Keep in mind that playing a video via Flash player taxes your computer more than if you were to play the video using Windows Media player on a PC or Quicktime on MAC. Try playing the Low version.

REUBEN SCHULZ    July 07, 2010 09:54 AM

Cannot stop mine from being jerky

Shiv I have spent yesterday evening trying to get the video right. Uploaded a bunch of versions and still always jerky and actually feels sped up. I have tried all the different settings including your suggested. source is from 5D edited in FCE on a 29.97 FPS timeline. Video shot at 29.97. Ironically the specs I used work great on Vimeo but not here. Can you look at it and see how it appears at your end. The specs I used vid rate 5000, frame rate 29.97, audio AAC 44100 128K....Used the quicktime conversion under export in FCE.....would really like to get this working for XR....really like your site....I have the file passworded so let me know if you need that to view.

Shiv Kumar    July 07, 2010 10:14 AM

Reuben, Can you give me a link to your video? I don't see any videos in your account. If it's private, please send support an email providing the password and and copy the text from your comment above. Someone from engineering take will a look at it.

Shiv Kumar    July 07, 2010 10:34 AM

Ok I took at look at the original you uploaded and there is nothing wrong with it. So the issue is not on your end. The transcoded versions seem to be encoded at 9.4 fps for some reason. We'll look into this and fix it. Update: Reuben, this issue has been resolved. Not sure why your video was encoded at 9.4fps yet, but we'll look into it and see what we need to account for on our end.

James Schaefer    July 17, 2010 03:57 AM

Video

I think that someone on the site should make a video on how to export your video correctly for the 3 most commonly used programs, Final Cut Pro, Sony Vagus, and Adobe Premier Pro. Cause I Shoot a Canon XHA1s at mostly 1920x1080i 60F and use Final Cut Pro Studios 3 to export to quicktime Mov files. Lets just say I'm kinda new to the exporting and could use a few lessons on Bit rate and compression for uploads to not just this site but in a business environment. I wanna get the best looking footage so it looks Very Clear! If anyone can help me out I would love it ; -)

Shiv Kumar    July 17, 2010 11:28 AM

James, Yes I can imagine that for a beginnner the process is quite daunting. However, there are just a few numbers to keep in mind and they are explained in this article. http://exposureroom.com/help/view.aspx/89/ The information there is more than enough to produce quality output and to be able to upload to any online video hosting website. There are other articles in our help section that may pertain to you as well. I suggest reading those articles. Providing the knowledge rather than how-to I believe is more important. A how to specific to one software of version quickly becomes outdated. While the knowledge provided in these articles is immortal. I'm not sure why you're shooting at 60F. But if there is no reason then I suggest shooting at 30F. Since your camera shoots interlaced video you need to de-interlace your video at the time of exporting.

herman theodoor    October 15, 2010 11:20 PM

rendering with images (slideshow, bitrate)

Hi Shiv. I have a little problem. I´m making slideshows (http://exposureroom.com/e5c8b8484a7a49ff868663f6bc4043e5/ ) with SV pro 9. so i´m working with images and i use masks, multiple layers, zoom and pan, slow and fast. But the fast one´s don´t look very nice; stuttering. I red the articles and i understand most parameters apply also for "moving pictures" (f.e. field order = prog; PAR = 1,0; pix format = 8, blur = gaussian). But some points are not clear for me: 1) bitrate when using pictures? 2) encoding levels > y recommend "Baseline" and no "smart rendering technics" like "reference frames" or the "Main" complexity? ad 1) bitrate depending the source: imagenes don´t have a bitrate (and no framerate: i use 25; 30 use more data i suppose). the image-source is big, so for editing i crop the images. For counting the bitrate i assume the cropped size, i suppose? ad 2) in SV for encoding for internet i have 2 options, i think: SonyAVC and MC AVC/AAC. The result of the Sony option is not bad but in my latest upload i used MC. -1) Sony gives me the option "Internet 4:3" (or 16:9 ; 25 or 30 fr/sec); baseline or main and if main CAVLC or CABAC (i don´t know what it restrains; but i understood i use better main). -2) MC gives me a few other options. i use "custom template", "main", "Deinterlace", "number of reference frames: 16 (???)", "deblocking fiter", "VBR" and "Two- pass", i did some experiments and i got the message of too low size because of using a too low bitrate. To get the recommended size with my parameters i used in my latest (a spanish village on the riverside) a variable bitrate of 4.500.000 - 6.500.000. But the fast pans/zooms still stutters. What can i do to improve the result? Greatings Herman Theodoor

Shiv Kumar    October 15, 2010 11:29 PM

The stuttering is quite normal if you pan too fast. If your hardware is not up to the mark this will be even more prominent. Flash player tends to stutter more than the Html 5 players. But it's all dependant on your hardware and the quality of the video. That is to say, that the better the quality (of the video we procude, not you) the more the possibility of stutter, purely because your hardware needs to be better in order to view good quality video. As far as encoding at your end is concerned, it doesn't matter if you're using images. At the end of the say you're generating a video. Granted, the bit rate of the source, doesn't apply since they are images. Treat images as extrremly high bit rate. So in other words, the source is extremely good quality so you don't have to worry about encoding at a bit rate higher than the source. So in other words, just stick to our reccomendations and you'll be fine. Personally, I'd slow down the movements to prevent a sturrer.

herman theodoor    October 16, 2010 01:12 PM

Thx for y information, Shiv. Extemely high bitrate? 5.000 is the limit i thought. I rendered again my testvideo (2 other testversions are already on the XR site), in MC, using 2 reference frames and without any "smart" compressing technic but the XR recommended ones, and the result with bitrate 5.000 is 64,5 MB (XR recommended for the same video previously 54 MB). Too high i think. But if i use more "reference frames" the size will becomes lower. Slower pan/zoom? oke, but sometimes the music or other artistic expressions needs a fast pan/zoom. But oke. What is not possible, is not possible (only if y have a very powered and good configured pc and most people don´t have, i´m afraid. and i´m not publisch my video for myself). So, again (sorry for my persistence, i´m not the smartest in this stuff) about rendering: I do a render and loadup at XR. XR decodes and does a re-rendering and put the video on the net. oke, so far so good. But does it have sence i use for example the "16 reference frames" option (in my SV window) that H.624 (?) allows? It makes the file smaller, the up-/download faster but the decoding for XR or viewers with an average PC more complicate. They need more CPU and that can be the reason of stuttering (jerky). So it´s a devils dilemma if i understand wel. I have to consider that clients off me and XR doesn´t have an optimal PC, mediaplayer or bandwidth. So... my Q is: has it sence to use "16 ref. frames" or other smart render technics (also thinking about SonyAVC and CABAC)? And yes, is 5000 the upload limit for images? Kindly regards and all trust in XR, herman.

Maja Danzig    November 07, 2010 10:08 PM

Bit rate for IFF files?

Hi Shiv, I am working with IFF files in After Effects, generated by Maya and I'm not sure what bit rate to use with these. I am outputting to QuickTime with MPEG-4 Codec. I'm also not sure whether to use key framing and if so, how many frames to key? Would appreciate your thoughts. Thank you! Maja

Osmany Tellez    January 17, 2011 01:09 PM

Mov or mp4?

Hello... My edited movie is a Proress 422, quicktime. I've been converting to mp4 at about 5mbps or 6 mbps before I upload to exposureroom. I don't know why...I think I read somewhere that the quality will be beter. But now I'm wondering this? If I upload an mp4 movie at 5mbps ...will exposureroom recompress it? I know you have to make the medium and small sizes... If yes. Will it be better if I just upload my original Prores quicktime mov? Will I get much better quality this way? I guess the disadvantage I see for doing this is that it will take me much longer to upload a proress 3gbs than an mp4 160 mbs. What do you sugest? Sorry for so many questions. Thanks

sam lowry    March 11, 2011 01:05 PM

Crushed blacks

I have uploaded a h.264 HD 720 file, graded on avid. The results are however rather disappointing. The blacks are heavily crushed and the colours over saturated. Please advise.

Richard Bentley    March 12, 2011 02:04 AM

Excellent!

Many thanks for the information. Clear and concise!

adeetz    December 25, 2011 08:55 AM

Ultrabook Notebook Tipis Harga Murah Terbaik

Ultrabook Notebook Tipis Harga Murah Terbaik http://adeetz.com/ultrabook-notebook-tipis-harga-murah-terbaik.html



Leave A Comment

Data Entry Error
First Name:  Last Name: 
Title:
Comment: Required Information
  Required InformationIndicates Required Information

News

Privacy Policy | Terms Of Service | Contact Us | Support | Help/FAQ | News