SPB Git

Repository Public License

FFmpeg-LICENSE.md 4.3 KB 128 lines markdown

1# License23Most files in FFmpeg are under the GNU Lesser General Public License version 2.14or later (LGPL v2.1+). Read the file `COPYING.LGPLv2.1` for details. Some other5files have MIT/X11/BSD-style licenses. In combination the LGPL v2.1+ applies to6FFmpeg.78Some optional parts of FFmpeg are licensed under the GNU General Public License9version 2 or later (GPL v2+). See the file `COPYING.GPLv2` for details. None of10these parts are used by default, you have to explicitly pass `--enable-gpl` to11configure to activate them. In this case, FFmpeg's license changes to GPL v2+.1213Specifically, the GPL parts of FFmpeg are:1415- optional x86 optimization in the files16    - `libavcodec/x86/flac_dsp_gpl.asm`17    - `libavcodec/x86/idct_mmx.c`18    - `libavfilter/x86/vf_removegrain.asm`19- the following building and testing tools20    - `compat/solaris/make_sunver.pl`21    - `doc/t2h.pm`22    - `doc/texi2pod.pl`23    - `libswresample/tests/swresample.c`24    - `tests/checkasm/*`25    - `tests/tiny_ssim.c`26- the following filters in libavfilter:27    - `signature_lookup.c`28    - `vf_blackframe.c`29    - `vf_boxblur.c`30    - `vf_colormatrix.c`31    - `vf_cover_rect.c`32    - `vf_cropdetect.c`33    - `vf_delogo.c`34    - `vf_eq.c`35    - `vf_find_rect.c`36    - `vf_fspp.c`37    - `vf_histeq.c`38    - `vf_hqdn3d.c`39    - `vf_kerndeint.c`40    - `vf_lensfun.c` (GPL version 3 or later)41    - `vf_mcdeint.c`42    - `vf_mpdecimate.c`43    - `vf_nnedi.c`44    - `vf_owdenoise.c`45    - `vf_perspective.c`46    - `vf_phase.c`47    - `vf_pp7.c`48    - `vf_pullup.c`49    - `vf_repeatfields.c`50    - `vf_sab.c`51    - `vf_signature.c`52    - `vf_smartblur.c`53    - `vf_spp.c`54    - `vf_stereo3d.c`55    - `vf_super2xsai.c`56    - `vf_tinterlace.c`57    - `vf_uspp.c`58    - `vf_vaguedenoiser.c`59    - `vsrc_mptestsrc.c`6061Should you, for whatever reason, prefer to use version 3 of the (L)GPL, then62the configure parameter `--enable-version3` will activate this licensing option63for you. Read the file `COPYING.LGPLv3` or, if you have enabled GPL parts,64`COPYING.GPLv3` to learn the exact legal terms that apply in this case.6566There are a handful of files under other licensing terms, namely:6768* The files `libavcodec/jfdctfst.c`, `libavcodec/jfdctint_template.c` and69  `libavcodec/jrevdct.c` are taken from libjpeg, see the top of the files for70  licensing details. Specifically note that you must credit the IJG in the71  documentation accompanying your program if you only distribute executables.72  You must also indicate any changes including additions and deletions to73  those three files in the documentation.74* `tests/reference.pnm` is under the expat license.757677## External libraries7879FFmpeg can be combined with a number of external libraries, which sometimes80affect the licensing of binaries resulting from the combination.8182### Compatible libraries8384The following libraries are under GPL version 2:85- avisynth86- frei0r87- libcdio88- libdavs289- librubberband90- libvidstab91- libx26492- libx26593- libxavs94- libxavs295- libxvid9697When combining them with FFmpeg, FFmpeg needs to be licensed as GPL as well by98passing `--enable-gpl` to configure.99100The following libraries are under LGPL version 3:101- gmp102- libaribb24103- liblensfun104105When combining them with FFmpeg, use the configure option `--enable-version3` to106upgrade FFmpeg to the LGPL v3.107108The mbedTLS, RK MPI, OpenCORE, VisualOn and libastcenc libraries are under the Apache License1092.0. That license is incompatible with the LGPL v2.1 and the GPL v2, but not with110version 3 of those licenses. So to combine these libraries with FFmpeg, the111license version needs to be upgraded by passing `--enable-version3` to configure.112113The smbclient library is under the GPL v3, to combine it with FFmpeg,114the options `--enable-gpl` and `--enable-version3` have to be passed to115configure to upgrade FFmpeg to the GPL v3.116117### Incompatible libraries118119There are certain libraries you can combine with FFmpeg whose licenses are not120compatible with the GPL and/or the LGPL. If you wish to enable these121libraries, even in circumstances that their license may be incompatible, pass122`--enable-nonfree` to configure. This will cause the resulting binary to be123unredistributable.124125The Fraunhofer FDK AAC and OpenSSL libraries are under licenses which are126incompatible with the GPLv2 and v3. To the best of our knowledge, they are127compatible with the LGPL.128
Files main
Menu

Theme