They don’t tell you this up front: using FFmpeg in your product is a legal decision as much as a technical one. Build first, worry later, they say. But later comes fast when a customer asks about licensing or your investor’s lawyer sends you a five-word email: “Is FFmpeg okay to ship?”
FFmpeg is free, but not free from rules. Its licensing model is built on open-source terms that matter for how you can use, modify, and distribute it. At its core, FFmpeg comes under two licenses: LGPL version 2.1 or later, and GPL version 2 or later. You pick the one that matches how you link and combine FFmpeg with your code. The choice changes your obligations.
LGPL lets you use FFmpeg in many commercial settings if you dynamically link it and allow swapping with a modified build. It’s the path most vendors want when integrating media processing without giving up proprietary code. Static linking, custom patches, or certain codecs may push you into GPL territory. GPL requires that you open-source your entire combined work under the GPL terms. That’s a big shift in how you ship software.