Click cover to see at full resolution.

Now updated to 2018 Edition, which includes:

  • Packaging to DASH and HLS formats with open-source tool Bento4
  • How to create a hybrid HEVC/H.264 encoding ladder for HLS deployment
  • How to encode and package VP9 files into DASH format with FFmpeg 4.0
  • How to transcode inputs into multiple files simultaneously using the H.264, HEVC, and VP9 codecs for live ABR streaming
  • Encoding to the Alliance for Open Media AV1 format with FFmpeg 4.0

Buy and download PDF
($29.95)

The Print Edition should be available on Amazon by August 1, 2018


The Elevator Pitch (40 words or less)

  • Learn to install and use FFmpeg fast
  • Single file and adaptive streaming to HLS and DASH with H.264, HEVC, and VP9
  • All relevant configuration parameters at your fingertips (with a table of contents and index)
  • Download all batch files to speed your work

Here’s what you will learn:

  • Streaming fundamentals, including terms and concepts relating to single-file and adaptive bitrate streaming
  • How to install FFmpeg on Windows, Mac, and Linux computers
  • Fundamentals of command line processing and batch file creation
  • Single- and dual-pass encoding with FFmpeg
  • How to choose the optimal configurations for resolution, data rate, frame settings, bitrate control and other common encoding options
  • How to encode to H.264 (x264), HEVC (x265), and VP9 compression formats
  • How to segment and package video for delivery via HLS using FFmpeg, Bento 4 and Apple Media File Segmenter and Variant Playlist Creator
  • How to create a hybrid HEVC/H.264 encoding ladder for HLS deployment
  • How to encode and package VP9 files into DASH format with FFmpeg 4.0
  • How to transcode inputs into multiple files simultaneously using the H.264, HEVC, and VP9 codecs for live ABR streaming
  • Encoding to the Alliance for Open Media AV1 format with FFmpeg 4.0
  • Includes access to a downloadable file with all batch files shown in the book.

A downloadable zipped file includes all (Windows) batch files used in the book, which you can easily adapt for your own use, and a detailed Table of Contents and Index will help you find what you need (to receive the zip file, email your proof of purchase of the PDF or paperback version to janozer@gmail.com).

Download 2018 Edition Table of Contents

Buy and download PDF
($29.95)

The Print Edition should be available on Amazon by August 1, 2018


Top Four Reasons to Buy this Book

You’ll learn about compression and streaming. It’s tough to make informed decisions about video encoding if you don’t know the basics, like what a codec or keyframe is, and what they do. If you’re a programmer seeking to get smart on video fast, Chapter 1, Video Boot Camp, is for you.

You’ll get a useful primer on batch encoding. If you’re new to batch encoding, you’ll get a quick primer, with useful links for more information. You’ll also learn how to get FFmpeg installed on Windows, Linux, and MacOS. If you’re a video person seeking to learn batch programming, Chapter 2, Installing FFmpeg and Batch File Operation is for you.

You’ll learn the best configurations for your H.264, H.265, and VP9 encoding options. Each chapter details what the parameters are, and provides guidance as to the recommended settings. So when you learn about bitrate control, you’ll see the results of your decisions via screenshots like this (you’re looking at a file encoded using variable bitrate encoding).

Each chapter also details the quality impact of your encoding decisions, usually with charts like this one that makes it easy to see which option delivers the best quality (green background) and the worst (red background), plus the total quality difference between the best and worst options.

So beyond learning how to implement a specific FFmpeg command, you’ll learn the pros and cons of each option.

You really will be able to create workable FFmpeg scripts on Windows, Mac, and Unix workstations within 30 minutes. This is particularly true given that you can download a zipped file containing all batch files used in the book.

Here’s the complete book description:

Learn to Produce Video with FFmpeg in 30 Minutes or Less: 2018 Edition is an entry-level book for developers who want to learn how to produce single MP4 or adaptive groups with FFmpeg, the free, open-source utility used in some of the largest encoding farms in the world, including YouTube, Netflix, and many others. The book also includes a primer on terms and technologies related to streaming and recommended settings for all parameters detailed in the book.

Chapter 1 is the primer on streaming technology, covering terms and concepts like single and adaptive bitrate streaming, codecs and container formats, and common encoding parameters like resolution, data rate, and frame rate. This will help those unfamiliar with streaming technology get up to speed fast.

Chapter 2 covers installing FFmpeg on Windows, Mac, and Linux computers, and the basics of command line programming. Then, individual chapters detail FFmpeg operation for choosing a codec and container format, controlling bitrate (VBR, CBR, CRF), setting resolution (scaling, letterboxing, trimming), frame rate, and I- and B-frame settings for single file and adaptive bitrate streaming. Next, are chapters on H.264 and HTTP Live Streaming (HLS), including details on efficiently rendering an encoding ladder, packaging for HLS and DASH with Bento4, and HLS processing via Apple tools Media File Segmenter, Variant Playlist Creator, and Media Stream Validator.

Next is a chapter on encoding HEVC with x265, which includes direction on creating, encoding, and packaging a hybrid HEVC/H.264 ladder for HLS distribution. Then a chapter on VP9, which includes how to encode and package for DASH distribution. The final chapter covers miscellaneous operations like transcoding live with H.264, HEVC, and VP9, concatenating multiple files, encoding with the new AV1 codec, and computing PSNR with FFmpeg.

About the Author

Jan Ozer is a leading expert on H.264 and HEVC encoding for live and on-demand production who consults widely on encoding-related topics. He has taught courses in video and streaming production since 1994—most recently at Streaming Media seminars in New York City, Los Angeles, and London. Ozer is a contributing editor for Streaming Media Magazine and has written or co-authored more than 20 books on digital-video-related topics, including Video Encoding by the Numbers: Eliminate the Guesswork from your Streaming Video (2017) and Producing Streaming Video for Multiple Screen Delivery (2013).

 

 

Buy and download PDF
($29.95)

The Print Edition should be available on Amazon by August 1, 2018