Finding the optimal VVC preset

New Articles on Streaming Media Magazine

Two free learning resources are available on the Streaming Media website; How to Produce VVC With FFmpeg and How to Script for FFmpeg Using PowerShell and BASH. They’re tutorials in the Streaming Media Sourcebook, an annual production containing useful articles and collections.

Learn Variables and For Loops

Here’s the abridged intro: Most FFmpeg users start by creating a simple static command line which, after much debugging, works just fine for the single input file and selected encoding parameters. Attempting to reuse that command line for different files or parameters is often an error-prone experience of searching, copying, pasting, and then rinsing and repeating to correct missteps.

Using variables and “for loops” in a command string simplifies the reuse of existing scripts and helps automate their operation. While you can’t use these scripts in the Windows Command window, you can use Microsoft PowerShell in Windows and Bash on Linux and the Mac. This tutorial teaches you how to create and run such scripts with PowerShell and Bash.

Specifically, you’ll learn how to convert a command string like this:

ffmpeg -y -i input.mp4 -c:v libx264 -vf scale=-1:1080 -b:v 3M -maxrate 6M -bufsize 6M -g 48 -preset ultrafast output.mp4

into a script like the one shown in Figure 1 (below).

Learn to create this script in a new Streaming Media article. Click to see at full resolution.

Learn to Encode VVC with FFmpeg

This article teaches you how to encode to VVC format with the Fraunhofer codec. Whenever I start working with a new codec, I test all the basic features, figure out which ones are essential to quality and throughput, and attempt to identify the optimal settings. It always helps to have the assistance of technicians from the codec developer, and Fraunhofer spent a lot of time with me to ensure that I got it right.

If you’re interested in learning how to produce VVC output, this is a great place to start.

If you’re just getting started with FFmpeg, you might consider my FFmpeg course on Udemy, which costs $29.99. Click the image below to check out the materials.

 

About Jan Ozer

Avatar photo
I help companies train new technical hires in streaming media-related positions; I also help companies optimize their codec selections and encoding stacks and evaluate new encoders and codecs. I am a contributing editor to Streaming Media Magazine, writing about codecs and encoding tools. I have written multiple authoritative books on video encoding, including Video Encoding by the Numbers: Eliminate the Guesswork from your Streaming Video (https://amzn.to/3kV6R1j) and Learn to Produce Video with FFmpeg: In Thirty Minutes or Less (https://amzn.to/3ZJih7e). I have multiple courses relating to streaming media production, all available at https://bit.ly/slc_courses. I currently work as www.netint.com as a Senior Director in Marketing.

Check Also

Announcing Free Course on Controlling the AMD MA35D with FFmpeg

I’m pleased to announce a new free course, MA35D & FFmpeg Quick Start: Essential Skills …

Choosing the Best Preset for Live Transcoding

When choosing a preset for VOD transcoding, it almost always makes sense to use the …

There are no codec comparisons. There are only codec implementation comparisons.

I was reminded of this recently as I prepared for a talk on AV1 readiness …

Leave a Reply

Your email address will not be published. Required fields are marked *