FFmpeg

alt

Encoding VP9 in FFmpeg: An Update

This is a long post only of interest to those attempting to optimize their VP9 encodes. The three key takeaways are 1) use the command script shown on the bottom of the page, 2) a speed setting of 2 offers the optimal quality/performance tradeoff, and 3) the row-mt setting improves performance significantly with zero quality loss when multiple unused cores …

Read More »

VMAF is Hackable: What Now?

Just a quick note to let you know about some recent findings relating to the Netflix VMAF metric. By way of background, VMAF launched in June 2016 as the metric that powered Netflix’s per-title encoding engine, replacing PSNR. The fact that Netflix created and used VMAF gave the metric tremendous credibility and because Netflix open-sourced VMAF it was quickly added …

Read More »

Lesson of the Week: Computing VMAF with FFmpeg

This lesson teaches you how to compute VMAF with FFmpeg. It includes a download link to a specially compiled version of FFmpeg that can compute VMAF and to a zipped file that contains the batch files and input/output files shown in the lesson. I’m adding it as a lesson to my course Computing and Using Video Quality Metrics. If you’re …

Read More »

FFmpeg to the Rescue: Decoding Files into RAM for Decode Testing

Read More »

The Ten Most Popular Articles from 2019

It’s always good to review which articles readers found valuable over the past year to help focus on producing similar content in the future. By publishing the top ten, hopefully, those reading this article will see some articles they might find useful. So, without further ado, here were the top ten articles from the Streaming Learning Center blog in 2019. …

Read More »

Using a Simple Wildcard Command in FFmpeg

Author’s note: This is a very simple automation technique for FFmpeg beginners. I’m sure there are much more efficient ways to script this project, but this represents my baby steps in FFmpeg automation. I recently started a consulting project that involved encoding multiple files to multiple CRF values to create rate-distortion curves and BD-Rate computations. I’m testing three codecs with …

Read More »

Discover Six FFmpeg Commands You Can’t Live Without

This blog identifies six incredibly useful FFmpeg commands for transmuxing, extracting audio/video, converting to YUV/Y4M, and scaling to different resolutions. All commands are included in my book, Learn to Produce Videos with FFmpeg In 30 Minutes or Less ($34.95), and course, FFmpeg for Adaptive Bitrate Production ($29.95)  (which includes a PDF copy of the book). Don’t just learn FFmpeg; become an …

Read More »

An FFmpeg Script to Render and Package a Complete HLS Presentation

So, the object of the exercise is a single FFmpeg script that encodes your files and creates the necessary master and media playlists. I took an initial stab here, but wound up with a script, “as ugly as someone else’s baby, particularly the need to duplicate the input file four times for the four streams.” Again through the hard work …

Read More »

Another Five-Star Review for Learn to Produce Video with FFmpeg Book

Reviewer Ian Kennedy recently reviewed Learn to Produce Video with FFmpeg on Amazon, and he hit the nail on the head in his five-star review, saying: Who this book is for: 1) The decision maker who may be skeptical about using FFmpeg in a production environment compared to a turn-key commercial solution. 2) The video-adjacent engineer who has been asked …

Read More »

FFmpeg to the Rescue: Muxing Audio and Video Files

So, there I was downloading videos from YouTube to include in a PowerPoint for a training course I was producing. Unfortunately, my download tool, wondershare’s excellent video converter, downloaded separate audio and video streams, the video in an MP4 wrapper and the audio as an MP3 file. So I had to mux the two to input them into PowerPoint. A …

Read More »