Most codecs are now patent-free
While there was a big cheer when the final MP3 patent expired, it seems we’ve completely lost track of the patent status of codecs ever since. This partially is due to the patent holders “evergreening” their patent pool, ie adding random crap after the release (when I last checked the 3077 patents in the AAC patent pool, I found stuff related to… how DVD players work, I think?), partially due to the software itself being continuously developed and gaining new – patentable – features, and partially because mp3 is just good enough for most intents and purposes. However, this means that a bunch of the legacy formats which used be excluded from open source software out of patent fears can now be shipped, and probably could’ve been shipped for many years. I’ll go into a bit more depth at the end, but first, have the tables.
(the cells all have hover text with additional info if you really need it)
Video codecs
| Codec | Release | US | EU | JP | Others | Available in FFmpeg |
|---|---|---|---|---|---|---|
| H.261 | 1988, 1990s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| MPEG-1 Part 2 | 1993s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| MJPEG (baseline) | 1992s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| DV / DVCPRO | 1995s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| H.263 / H.263+ / FLV1 | 1996, 1998, 2002s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| MPEG-2 Part 2 / H.262 | 1995s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| JPEG 2000 Part 1 | 2000s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| RealVideo (RV10–RV40) | 1997, 1998, 2000, 2002s s | FREEs | FREEs | FREEs | FREEs | Partial |
| MPEG-4 Part 2 Visual | 1999, 2001s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| WMV7 & WMV8 | 2000, 2001s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| Avid DNxHD (SMPTE VC-3) | 2004, 2008s s | 2027-01-18s | FREEs | FREEs | FREEs | Decode & encode |
| WMV9 / SMPTE VC-1 | 2003, 2006s s | 2028-05-19s | FREEs | FREEs | BR 2030-11-10s | Decode only |
| H.264 / MPEG-4 AVC | 2003, 2005s | 2030-11-26s | FREEs | FREEs | BR 2030-11-10s | Decode & encode |
Audio codecs
| Codec | Release | US | EU | JP | Others | Available in FFmpeg |
|---|---|---|---|---|---|---|
| ITU-T voice codecs | 1972, 1988, 1990, 1996s s | FREEs | FREEs | FREEs | FREEs | Partial |
| MP1 & MP2 (MPEG-1/2 Audio Layers I & II) | 1993, 1995s s | FREEs | FREEs | FREEs | FREEs | Partial |
| MP3 (MPEG-1/2 Audio Layer III) | 1993, 1995s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| AC-3 (Dolby Digital) | 1992s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| E-AC-3 (Dolby Digital Plus) | 2005s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| MLP / Dolby TrueHD | 1998, 2005s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| DTS Coherent Acoustics (DTS Core) | 1996s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| AAC-LC | 1997, 1999s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| HE-AAC v1 | 2003s | 2027-10-24s | FREEs | FREEs | BR 2027-11-07s | Decode & encode |
| HE-AAC v2 | 2004s | 2027-12-27s | FREEs | FREEs | BR 2027-12-12s | Decode & encode |
| WMA Standard 9.2 and below | 1999–2006s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| WMA 9 Lossless | 2003s | FREEs | FREEs | FREEs | FREEs | Decode only |
| WMA 9 Professional | 2003s | FREEs | FREEs | FREEs | FREEs | Decode only |
| AMR-NB & AMR-WB | 1999, 2002s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| Sony ATRAC1 / ATRAC3 / ATRAC3plus | 1992, 1999, 2003s s s | FREEs | FREEs | FREEs | FREEs | Decode only |
| Qualcomm aptX (Classic & HD) | c. 1990, 2016s s | FREEs | FREEs | FREEs | FREEs | Decode & encode |
| RealAudio (RA / Cook / SIPR) | 1995–1998s s | Probably free?s | FREEs | FREEs | Probably free?s | Partial |
Containers
| Container | Release | US | EU | JP | Others | Available in FFmpeg |
|---|---|---|---|---|---|---|
| MPEG-1 / MPEG-2 Program Stream | 1993, 1995s s | FREEs | FREEs | FREEs | FREEs | Mux & demux |
| MPEG-2 Transport Stream (.ts, .m2ts) | 1995s | FREEs | FREEs | FREEs | MY 2035-09-08s | Mux & demux |
| MP4 / ISOBMFF | 2003, 2004s s | FREEs | FREEs | FREEs | FREEs | Mux & demux |
| MPEG-4 Part 1 Systems | 1999s | FREEs | FREEs | FREEs | FREEs | Partial |
| QuickTime File Format (.mov, .qt) | 1991s | FREEs | FREEs | FREEs | FREEs | Mux & demux |
| 3GPP / 3GPP2 (.3gp, .3g2) | 2003, 2004s s | FREEs | FREEs | FREEs | FREEs | Mux & demux |
| Advanced Systems Format (.asf, .wmv, .wma) | 1997s | FREEs | FREEs | FREEs | FREEs | Mux & demux |
| Flash Video (.flv, .f4v) | 2002, 2007s s | FREEs | FREEs | FREEs | FREEs | Mux & demux |
| RealMedia / RMVB (.rm, .rmvb) | 1997, 2002s s | FREEs | FREEs | FREEs | FREEs | Mux & demux |
| MXF (.mxf) | 2004s | FREEs | FREEs | FREEs | FREEs | Mux & demux |
Background info
Patents work differently to copyright. While in copyright, what matters is that you wrote something yourself with your own, original ideas, in patents what matters is that you were the first to make (and claim to have made) an invention. Because of this, it’s impossible to use a patent-encumbered codec by just telling claude “make me a clean-room implementation”, as it’s not the code that’s the problem, it’s the very idea of how the codec works. The good news is that, while copyright lasts two lifetimes, patents only last 20 years after being filed. So as a rule of thumb, if a codec is 20 years or older, it’s patent-free…
… except, it’s not so simple. The first outlier here is, as per usual, the United States. Over there, the patent term is counted not from the date the invention is claimed, but from whenever the patent office was done reviewing it. Or, well, not that either, it uses a special adjustment calculation to make up some of the difference. The EU doesn’t do this, and this is where most of the differences stem. If we take our friend, the first patent of the HE-AAC v1 codec, you’ll see that the European Patent was filed 2002-10-07 and expired 2022-10-07. The US version of the same patent meanwhile was filed on the same day, but because it only got granted in 2008, its expiration was in… 2024? So why do I list 2027 up there?
As it turns out, it’s yet more complicated! I can’t claim to understand the specifics (this is deep lawyer voodoo magic), but apparently, you can file a patent and while waiting for that patent to be granted, you file another patent which is the same thing again, but with somewhat minor changes. This “divisional patent” keeps the filing date of the original, so it doesn’t extend the patent term per se, however, it does allow you a) roll the dice again on how much term extension you get if this patent for whatever reason takes much longer to review than your previous patent, and b) it allows you to create additional stress on the system which causes yet more delay for all patents in the queue. And apparently, this massively peaked around 2008, hence why the patent that survived this day was one filed in 2005 but only granted in 2012!
Or in other words, in the US, you can DDoS the patent office to get longer patent terms. Apparently. At least this is what it smells like to me.
Anyhow: This extendomatic-fantastic system mercifully doesn’t work in the EU, so if you’re EU based (and don’t want to sell stuff to the US), the 20 years is probably what you want, though of course, I’m not a lawyer, this is not legal advice etc. pp.
And with that: Go forth, and make your old files compatible with your favorite open source multimedia tool!
