This post details how to install, update and add FFmpeg to Windows Subsystem for Linux so you can run Linux in Windows with minimal muss or fuss. Here’s why you might want to install WSL in the first place. I recently taught a session at Streaming Media East on using variables with FFmpeg (download handout here – note that free …
Read More »Maximizing Quality and Throughput in FFmpeg Scaling
The thing about FFmpeg is that there are almost always multiple ways to accomplish the same basic function. In this post, we look at four approaches to scaling. We found that if you’re scaling using the default -s function (-s 1280×720), you’re leaving a bit of quality on the table as compared to other methods. How much depends upon the …
Read More »How to Build an Encoding Ladder: What You Need to Know
Learning how to build an encoding ladder is one of the most fundamental tasks for a streaming media professional. It’s astounding how much you need to know to get it right. By way of background, the original encoding ladder used by most professionals was from Apple Tech Note TN2224, long since replaced by Apple’s HLS Authoring Specifications. This H.264-only ladder …
Read More »Choosing a Preset for SVT-AV1 and libaom-AV1
This article shows the quality/encoding time tradeoffs for producers choosing a preset for SVT-AV1 and libaom-AV1. Note to readers – 12/13 – AOM has released version 1.4, which fixed the SVT-AV1 preset issues reported in the first version of this article. Presets are the most important configuration option for controlling quality and throughput for most codecs. For this reason, when …
Read More »SLC Updates AV1 Encoding Course
The course Encoding with the AV1 Codec has been updated with new instructions for SVT-AV1 1.0 and FFmpeg/libaom-AV1. AV1 is a powerful codec but to optimize quality and performance, you have to choose the optimal preset and thread count and then navigate through obscure commands like auto-alt-ref, row-mt, tile columns/tile rows, and lag-in-frames. The course, Encoding with the AV1 Codec, provides …
Read More »Learn to Encode with FFmpeg 5.0
My tutorial How to Encode with FFmpeg 5.0 is up on Streaming Media.com. By way of background, on January 17, 2022, FFmpeg released FFmpeg 5.0, called Lorentz. To celebrate and to help introduce new users to the power and ease of FFmpeg, I created this entry-level tutorial for single and two-pass encoding with FFmpeg. You’ll learn basics like: Choosing the …
Read More »Estimating the Bitrate for 8K Videos When Encoding with HEVC and AV1
It’s a well-known and oft-repeated truism that codecs operate more efficiently at higher resolutions. The question is, is the truism really true? It turns out that it is, and we prove it below. To lend numbers to our truism and focus the issue, the basic question is this. 8K video has 16 times the pixels of 1080p videos. So, if …
Read More »Does FFmpeg 5 Break Your Scripts?
FFmpeg turns 5.0; the new release has big API changes but doesn’t appear to break existing command scripts, though x265-based encodes are worth checking. As much as we like major releases of programs that we know and love, one big question is always whether it changes how we use the program. If you haven’t heard, on January 17, 2022, FFmpeg …
Read More »Review Finds FFmpeg Course on Udemy Amazing
Few things please a course creator more than positive reviews and it’s been a good week for them. This one is for my FFmpeg for Adaptive Bitrate Production on the Udemy site. My goal for this course was to focus on the “why” as well as the “how.” So, students just don’t learn how to set a keyframe interval in …
Read More »Real-World Bandwidth Savings from VP9, HEVC, and AV1
This article is about a video lesson that computes the bandwidths savings afforded by the FFmpeg-based implementations of VP9 (libvpx-VP9), H.264 (x264), HEVC (x265), and AV1 (libaom-AV1). The lesson uses the Netflix convex hull analysis to build unique encoding ladders for each test clip and codec and shows why BD-Rate figures don’t accurately predict real-world savings. Towards the end, it …
Read More »