Professional Documents
Culture Documents
What Bitrate Should I Use When Encoding My Video - How Do I Optimize My Video For The Web
What Bitrate Should I Use When Encoding My Video - How Do I Optimize My Video For The Web
1 trong 4
ez s3
http://www.ezs3.com/public/What_bitrate_should_I_use_when_encodin...
ez s3 feat ur es
admin/ login
4/13/2016 3:08 PM
What bitrate should I use when encoding my video? How do I optimize my...
2 trong 4
http://www.ezs3.com/public/What_bitrate_should_I_use_when_encodin...
account miscellaneous ambient traffic, distance from the server, and other elements
loading into the same webpage.
For example, taking the US broadband average of 3.9 Mbps (as of January 2010) you
would probably want to encode somewhere between 2,000 and 3,000 Kbps. (1 Megabit
equals 1,000 Kilobits most encoders measure bitrate in Kilobits). What this means is
that every second of the video there is 2,000 kilobits required before that second can be
displayed. Converting bits to bytes (8 bits equals 1 byte) you can see this is 250
kilobytes a second or 15 megabytes per minute.
Depending on the codec in use and the container this can be a very limiting number.
The problem is further extended if you have varying connection speeds across your user
base, which is most often the case. If you are only serving one version of your video,
you will find yourself pandering to the lowest common denominator. AT&T for example
(In the US) guarantees only a download speed up to 1.5Mbps with their starting DSL
package.
1. Resolution
The easiest change can come from lowering the number of pixels displayed by simply lowering the resolution of the file. If you are
playing your video in a 320 x 240 player on your website and you do not expect the end user to enlarge the video, then there is
no reason to have a file with a higher resolution. Even if your camera records at 1080p, it does not mean you cannot scale down
to a smaller size to save on bitrate. Although, it should be noted that you want to maintain the image aspect ratio when resizing.
Most videos are filmed in either 16:9 or 4:3, changing this ratio can lead to a squishing or stretching effect that is unsightly.
For better quality to bitrate ratio, also remember to keep your resolution in a value evenly divisible by 16, but do not alter a
resolution to make it a multiple of 16 unless you over-crop, which will cause you to lose part of your image. Under-cropping or
adding a black border around your image will decrease encoding efficiency. Scaling will just degrade the image.
2. Frame Rate
The frame rate is how many unique consecutive images are displayed per second in the video to give the illusion of movement.
The human visual system does not see in terms of frames; it works with a continuous flow of light information. Basically this
means that the rate at which a video has the appearance of judder (non-smooth motion) is different based on a person to person
basis along with the colors (or color of light or actions) in the video.
Around 24 frames per second, the typical film rate which often gives a "cinematic feel," is where most video creators land and is
also a point that most human eyes are fooled into perceiving motion. This is not a standard of course, if your video is a screen cast
you can get to frame rates as low as 5fps. On the other hand, large shifts between a pure white or pure black screens can have a
perceivable fault below 30fps and footage of video games can often require 60fps to maintain smoothness. Television standards
such as PAL (common in Europe and some parts of Asia) uses 25fps, while NTSC standard (used in the US and Japan) uses
29.97fps. Generally you should never exceed the frame rate of the source video. Obviously, the best results will be achieved if the
frame rate is kept the same as your original source.
Unfortunately, to lower the bitrate you may have to choose a lower frame rate. Like most of these settings it is best to play
around with the encoding to find a setting that looks best for your video. In order to do that it is advisable to consider the amount
of action on screen. "Talking head videos" (a tripod shot recording a person talking at the screen) for example does not require a
high frame rate because the motion is most likely subdued. While a video of a skate boarder will require at least 24fps to maintain
smoothness. When you lower your frame rate make sure to accomplish it in even increments (such as splitting the amount in half)
to avoid de-syncing of the video and audio streams.
4/13/2016 3:08 PM
What bitrate should I use when encoding my video? How do I optimize my...
3 trong 4
http://www.ezs3.com/public/What_bitrate_should_I_use_when_encodin...
5. Starting Points
If you are completely lost right now and having trouble deciding what your video bitrate should be here are some starting points
for you to experiment with for a streaming connection:
Output size
Bitrate
Filesize
320x240 pixels
400 kbps
3MB / minute
480x270 pixels
700 kbps
5MB / minute
1500 kbps
11MB / minute
1280x720 pixels
2500 kbps
19MB / minute
1920x1080 pixels
4000 kbps
30MB / minute
In general though we recommend a bitrate of around 2 - 2.5 Mbps, which takes into account the average worldwide broadband
connections. Once again we do however suggest you experiment with different settings and see how they work for you.
4/13/2016 3:08 PM
What bitrate should I use when encoding my video? How do I optimize my...
4 trong 4
http://www.ezs3.com/public/What_bitrate_should_I_use_when_encodin...
can make some small cutbacks on the audio. Even at extremely low bit rates, reasonable audio quality can be achieved.
First you need to figure out if you are going to encode with Mono or Stereo. If your source video was filmed in mono there is no
reason to encode in stereo. You can however reduce a stereo stream to mono and it is generally advisable if the video is a simple
speech. Talking head videos are usually good candidates for selecting mono over stereo.
For your sampling frequency it is suggested that you maintain around 44.1 kHz for most of your videos or 22.05 kHZ if once again
you are recording only a simple speech. Anything below 22.05 kHz will begin to degrade and distort low volume sounds such as
breathing to the point where it is noticeable. While above 44.1 kHz is mainly for audio focused projects.
In the end you will probably be looking at 96 - 164kbps for a stereo music tracks, for the same track in mono, bit rates as low as
56 - 80kbps may still be acceptable. If you are once again dealing with speech only tracks you can probably even get
comprehensible sound as low as 16 - 24 kbps.
Parting advice
Overall there is no set guideline as to what your video's compression should be. Do not expect to find a simple universal number
to input. For every video this is a decision based on your client's connection speed and the quality you want to maintain for your
file.
Related Articles
What is h.264 video? How can I use eZs3 to deliver my high quality videos?
What's the best width and height combination or aspect size for storing and sending my videos when using Amazon S3 and the
Amazon CloudFront?
eZs3 | CANCEL | Contact eZs3
2016 Digital Marketing Ltd. All Rights Reserved. Reproduction without permission prohibited.
4/13/2016 3:08 PM