Do you want to encode spectacular quality video?
If so, SampleLab™ is the world’s only environment designed to help you do that.
A master chef always tastes a variety of samples before finalizing a recipe. A master video compressionist does the same thing.
Many years ago, I was teaching a DV Revolution workshop at Apple headquarters in Cupertino and became friends with Doug Werner, the person who compresses movie trailers for the Apple website (including the famous Star Wars trailer in 2000 that got 35 million downloads.)
I invited him to teach an encoding segment at our workshop, and afterward, we sat in his office and compared notes on our methods. I consider Doug, along with myself 🙂 , to be one of the world’s top video encoding experts, and not coincidentally, Doug had independently developed the identical process I had used for years to determine the best encoding settings for movies. This process consists essentially of encoding a series of short experiments to determine the optimum “recipe”, meaning bitrate and other settings.
The problem is, there’s never been an software environment designed to make this process easy (until now!). I’ve used encoding software ranging from free to several thousand dollars, and they all make this process so excruciatingly cumbersome and inefficient, that for 90% of people who publish video on the internet, it’s just not worth the trouble.
DV Kitchen is unique in helping you determine your ideal settings . . . very quickly — Allan Tepper, ProVideo Coalition
SampleLab™ is the world’s only software environment designed to efficiently determine the best settings for your movie, which is one big reason why DV Kitchen is (among many other things) the world’s highest quality encoding software.
What determines the visual quality of movies delivered over the internet?
Once you have a finished movie exported from your editing software, quality to your viewers is determined by three factors:
- codec (the encoding algorithm used)
- frame size
Which codec is the best?
Currently, the x264 codec, a variant of H.264, is my favorite and has won many “codec shootouts.”
Though HEVC is starting to appear on the horizon, since 2005, H.264 has become such a standard, with hardware acceleration for billions of devices from cameras to TVs to computers to tablets to Blu Ray players to gaming consoles, means this codec will be around, if not forever, for a very, very long time.
So with any given codec, quality is determined by frame size and bitrate.
SampleLab allows bitrate data size/quality trade-offs to be gauged quickly and accurately. It’s simple to use but incredibly useful, and therein lies its genius. — MacUser UK review
How does frame size affect visual quality?
The larger the frame size, the more bitrate you need for the same quality. Think of bitrate like paint – you need enough bitrate to paint the whole picture accurately. Remember doubling the size of the video frame actually quadruples the number of bits that make up the picture.
What bitrate is best?
With any given codec and frame size, bitrate is the most important factor in video quality. More bitrate will give you better quality (up to a point of diminishing returns). But that definitely doesn’t mean you should go crazy and use a ridiculously high encoding bitrate.
If you simply observe two rules, your video will be perfectly optimized.
The rules are:
Rule #1: Don’t encode with too high a bitrate.
Rule #2: Don’t encode with too low a bitrate.
Follow these two simple rules and you’ll be fine.
Hehe, seriously, folks, here’s why:
- You don’t want to encode movies with bitrate too high, for many reasons:
- you will make your viewers wait unnecessarily long before they can start viewing your movie
- many browsers and devices have a hard time decoding higher bitrate H.264 in real time, leading to dropped frames and jerky appearing motion
- higher bitrate movies put an extra strain on your server, cost you more money in extra bandwidth
- downloading and uploading will be slower
- you’ll use up unnecessary room on your server and local drives
- You don’t want to encode movies with bitrate too low, for only one reason – the visual quality will suffer – there will be pixelization and blockiness, especially in any areas with motion.
Shopping for bitrate
The mindset I’d like you to use when choosing the bitrate for your encoded movies is “shopping for the best deal”.
This means, you want quality – but you’re not willing to pay any more (in kbps) than you need to. If 2400 kbps gets you quality that’s only barely better than 1200 kbps, then 2400 is a bad deal, save the kb and go for 1200 kbps. But if dropping to 800 kbps destroys quality, then definitely pony up the extra 400.
There are too many variables on the internet not to play it safe and keep your bitrate as low as possible while still preserving excellent quality.
That’s why the Bitrate Budget Calculator is so valuable.
If you’re a bandwidth big spender and encode your movies at too high a bandwidth, you will regret it. If you’re a bandwidth miser and encode your movies at too low a bandwidth, you will regret it.
So determining the ideal bandwidth is an exercise in tradeoffs. There is always a point of diminishing returns, where increasing bandwidth doesn’t really get you that much better quality, and so it’s not worth it. With a talking head video at a small frame size, it’s likely you could just barely tell any difference between 300 kbps and 1000 kbps. But, dropping the bandwidth to 200 kbps makes the picture start to look pixelated. So why not be smart, go with 300 kbps, make your video look good, but don’t spend any more bandwidth than you need to.
What is the “threshold of quality? (TOQ)?”
“TOQ” is a term I made up to describe the diminishing returns of increasing bitrate over a certain amount for a particular movie.
The TOQ of a clip is the “sweet spot” – just enough bitrate so the movie looks fabulous, but no more.
SampleLab is by far the best way to find the TOQ for each clip you encode.
For any given frame size, the only factor affecting how much bitrate is needed for great quality is content.
How does content affect the bitrate I need to make a movie look great?
When encoding video to an interframe codec like H.264, only the pixels that have changed from the previous frame are stored. So, movies where few pixels change from frame to frame require much less bitrate for high quality, compared to movies where most or all the pixels change from frame to frame.
TIP: For video that looks excellent at a very low bitrate, shoot mostly “locked-down” shots (with a tripod where the camera doesn’t move), and a background that is simple, either large areas of solid color or use shallow depth-of-field to blur out the background.
Footage needing the highest bitrate to look great would be a handheld shot with a busy, distracting, in-focus, moving background.