Mirror of https://git.ffmpeg.org/ffmpeg.git
GPL 2.0
GPL-2.0 AND GPL-3.0 AND LGPL-2.1The repository root carries 3 license files, each a full match: GPL-2.0 and GPL-3.0 and LGPL-2.1. Both apply — typically one to the code and one to the data or documentation — so work out which covers the part you want.
What this means for you
Share-alike reaches the whole derivative work. Combining it with proprietary code you ship is the classic contamination risk.
- Check whether the project says 'version 2 only' or 'version 2 or later' — it changes what you can upgrade to.
- The declared expression is "GPL-2.0 AND GPL-3.0 AND LGPL-2.1" — more than one license is in play. Work out which applies to your use before you ship.
The repository root holds 5 license files (COPYING.GPLv2, COPYING.GPLv3, COPYING.LGPLv2.1, COPYING.LGPLv3, LICENSE.md). Projects do this to offer a choice of licenses, or because parts of the tree differ. Read them before you pick.
You can
- Use, study, and modify the code, including commercially
- Distribute your derivative work under the same license
You must
- License the entire derivative work under the same license when you distribute it
- Offer complete corresponding source to anyone who receives a binary
- Keep notices and document your changes
You cannot
- Ship a derivative work as closed source
- Add terms that restrict the freedoms this license grants downstream
- Apply DRM or patent terms that defeat the license's guarantees
This is not legal advice. Your obligations depend on how you use the code and your jurisdiction. Consult counsel for production risk.
How we know
- exact textCOPYING.GPLv2 is GPL-2.0
A full match against the ScanCode reference text for GPL-2.0. GitHub's own detector did not report this file.
- exact textCOPYING.GPLv3 is GPL-3.0
A full match against the ScanCode reference text for GPL-3.0. GitHub's own detector did not report this file.
- exact textCOPYING.LGPLv2.1 is LGPL-2.1
A full match against the ScanCode reference text for LGPL-2.1. GitHub's own detector did not report this file.
- spdx headerThe license file declares GPL-2.0 AND GPL-3.0 AND LGPL-2.1
The file carries an SPDX-License-Identifier line — the maintainers stating the license in machine-readable form.
- filenameLicense file found, text not recognized
The file does not match any reference license text Reporight carries. It may be custom, modified, or truncated.
- github apiGitHub declares 'Other'
GitHub found a license file but would not attribute it to a standard license — usually custom or modified text.
This summary reads the repository root only. Vendored trees and per-file headers can differ — run a deep scan to map every file.