GlossaryFFmpeg

FFmpeg

FFmpeg is a free, open-source command-line tool and set of libraries for recording, converting, editing and streaming audio and video. It can read and write almost every codec and container in use. Many video services, editing apps and media servers run FFmpeg behind the scenes to transcode, trim, resize and package video.

Why it matters

FFmpeg sits underneath a large share of the world's video tools, so understanding it helps teams judge what building in-house really takes. It is free to use, but running it reliably at scale means managing servers, queues, failures and many codec settings. That engineering time is often the real cost. FastPix removes that build: one API call handles on-demand video, instead of wiring encoding jobs, storage and CDN together.

How it works

  1. FFmpeg reads an input file or stream and demuxes it into separate video and audio tracks.
  2. It decodes the tracks with its codec library when changes are needed, or copies them as is.
  3. Filters can resize, crop, overlay logos, change frame rate or adjust audio.
  4. It encodes and muxes the result into the chosen output, such as MP4 files or HLS segments.

Is FFmpeg free for commercial use?

Yes, FFmpeg is free for commercial use, but you must follow its open-source licenses. It is released under LGPL 2.1 or later, and under GPL 2.0 or later when certain optional parts are enabled. The GPL version can require you to share your own source code if you distribute software built with it, so many companies review licensing before shipping it.

Why is FFmpeg so hard to scale?

FFmpeg itself works well, but scaling it means building everything around it. Teams need job queues, autoscaling servers, retries for failed jobs, storage, monitoring and handling for odd input files. Each new codec or format adds settings to tune and test. That surrounding system, not FFmpeg, is where most of the cost and effort goes.

Where it's used

Engineering teams at video platforms and OTT services use FFmpeg to convert files, create thumbnails and build streaming versions, though running it at scale takes real expertise.

Where it usually goes wrong, and how FastPix handles it

Self-hosted FFmpeg pipelines start simple, then grow into a system of queues, servers, retries and custom scripts that a small team must maintain alongside the product.

The FFmpeg jobs teams usually script, such as thumbnails, GIF previews, clips and visible watermarks, are API calls in FastPix, next to upload, encoding and HLS playback. Your engineers spend their time on the product instead of on queues and retry scripts.

By the numbers

  • FFmpeg's initial release was on December 20, 2000, with Fabrice Bellard as the original author. (FFmpeg (Wikipedia))
  • FFmpeg is licensed under LGPL-2.1-or-later, or GPL-2.0-or-later depending on which options are enabled. (FFmpeg (Wikipedia))