FFmpeg

alt

Simplify Your Workflow: Command-Line Variables in FFmpeg Batch Files

Creating batch files with variables is one of the more efficient ways to run FFmpeg. However, most producers build their batch files with variables inserted directly into the batch file, which means that you have to customize each batch file for different source files or encoding parameters. This is particularly inefficient when you’re encoding multiple files to different encoding parameters; …

Read More »

Navigating Rate Shaping and Zero Rating: Key Takeaways from Qwilt’s Findings

Many streaming publishers focus on the top rung of their encoding ladders and let the rest fall where they may. Recently released survey findings from Qwilt indicate that publishers serving a high percentage of mobile viewers should also focus on the middle rungs, as zero rating and rate-shaping make these the most highly viewed rungs on some mobile networks. The …

Read More »

Simplifying Streaming Workflows with Norsk: An Interview with Dom Robinson

I recently spoke with Dom Robinson, co-founder and Chief Business Development Officer of id3as, to discuss id3as’ flagship product, Norsk, and its suitability for OTT and streaming publishers. Here’s a video of the conversation and a summary of the contents. Video 1: The complete interview. Existing Technologies and Pain Points Dom started by identifying the categories included in the streaming …

Read More »

The Quality Cost of Low-Latency Transcoding

Figure shows the different components to live streaming latency.

While low-latency transcoding sounds desirable, low-latency transcode settings can reduce quality and may not noticeably impact latency. Reducing latency has been a major focus for many live producers, and appropriately so, particularly for events that viewers can watch via other media, like sporting events available through satellite or cable TV. However, it’s important to understand that transcoding latency contributes minimally …

Read More »

My FFmpeg-Related New Year’s Resolution: Document Before I Test

My typical workflow for testing-related articles and reports is to create the command string, run the tests, analyze the results, and then write or create the presentation. Since encoding is often so time-consuming, and I’m always in a hurry, I tend to quickly create the command strings with minimal thought, then run the tests, analyze the results, and start to …

Read More »

Which is the Best AWS CPU for FFmpeg?

Figure 2. Cost per hour to produce a single 1080p stream using the x264 codec and FFmpeg. Graviton is clearly the most cost effective.

If you encode with FFmpeg on AWS, you probably know that you have three CPU options: AMD, Graviton, and Intel. Which is the best AWS CPU for FFmpeg? This article reveals all. For those in a hurry, it’s Graviton for x264 and AMD for x265, often by a significant margin. But the devil is always in the details, and if …

Read More »

Running FFmpeg on Windows Subsystem for Linux

Choosing the Linux distro.

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

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 »