Ch. 22 · Codec Patents, Licensing, and the Ecosystem

한국어日本語
7 min

Wrap-Up: What to Check in Your Situation

Which documents apply depends on what you distribute. A single table lists what to check in each situation, and we state the limits of this chapter and what this site does not do.

Reduced to one sentence, this chapter says: 'using a codec' involves standards, patents, software copyright, and device support, each separately, and which of them becomes an issue is determined by what you distribute.

What to check in each situation

My situationCheck firstRelated lessons
Encoding video on my own PC and keeping or uploading the filePlayback compatibility (can the device decode it). The encoder license is generally known not to be a practical issue here, but read the terms of service of wherever you uploadChapter 18, Chapter 21
Posting video on my own site for playbackIs it a codec viewers' devices can decode, and is there an H.264 fallbackChapter 18, Lesson 5
Converting users' videos with ffmpeg on a server and offering them as a serviceThe patent terms that apply to the service, and the server's ffmpeg build (whether it is GPL)Lessons 3 and 4
Distributing an app or device that includes ffmpeg or an encoderGPL/LGPL obligations, the patent pool terms for that codec, and a commercial license if neededLesson 4
Deciding whether to adopt a new codec (AV1, etc.)Spread of hardware decoders, fallback, scope of the patent license, encoding costChapter 7, Lessons 3 and 5

This table is a list to help you with the order of checks. The actual obligations and costs in each cell need the contract, the license text, and a professional's judgment.

How to verify the sources

  • Software licenses: Read the LICENSE, COPYING, and PATENTS files in the repository for the version you use. They have changed between versions.
  • Patent pools: Check each pool's official site for the target codecs and the terms by use. Names can change through acquisitions and mergers.
  • Your ffmpeg: Check the build options with ffmpeg -version and ffmpeg -L (Lesson 4).
  • Your device's support: Check with the codec support checker and the video file info inspector.
This chapter in one line

A standard is the decoder's rules, a patent is a right attached to those rules, an encoder is separately copyrighted software, and support differs by device. Royalty-free means not 'there are no patents' but 'a promise not to charge royalties.'

Sources and limits of this chapter

  • This chapter has no numbers measured by this site. Efficiency comparisons are in the CRF sweep measurement and the SVT-AV1 vs libaom measurement, and this chapter covers the conditions (rights and support) that determine whether you can use those numbers.
  • Encoder licenses (GPL, BSD-3-Clause-Clear, and so on), the AOMedia patent license, and x265's dual licensing are written to the extent confirmed in public project documents. They may change with version updates.
  • The current organizational structure of patent pools, their royalties and exemption conditions, and the outcomes of lawsuits are either left out or written only to the extent generally known. They change over time and require legal judgment.
  • This chapter is not legal advice, and if it affects your business or product, check with a professional.
Dual licensingDual licensing

Offering the same software under both an open license such as the GPL and a separate commercial license. x265 is described this way.

Compliance checkCompliance check

The process of confirming that the licenses and patent terms of the software and codecs in a product fit the way it is distributed.

Check yourself

If you convert videos users upload with ffmpeg on a server and offer them as a service, what should you check first from this chapter's viewpoint?

Check yourself

Which correctly summarizes this chapter?