A question have come up in the proposal to add FFMPEG support for the version of whisper.cpp in Debian, see <URL: https://salsa.debian.org/deeplearning-team/whisper.cpp/-/merge_requests/10 > for the background. The question is how the license of
examples/ffmpeg-transcode.cpp will affect the license of programs linking to whisper.cpp, and if the license of this file is correct.
In PR #2133 the file examples/ffmpeg-transcode.cpp was added to the code base. This file is marked with SPDX-License-Identifier: GPL-2.0, while README.md claim the whisper.cpp license is MIT. Given the terms of these two styles of licensing, I believe the general concensus is that the combined work will end up with GPL-2.0 license. This might be problematic for
programs with GPL-incompatible licenses that are compatible with MIT.
If the file really is GPL-2.0 licensed, would it be possible to relicense it with MIT license, or at least with GPL 2.0 or later at the users discretion?
According to the file header, the copyright holders are Andrew Clayton andrew@digital-domain.net (2019) and William Tambellini william.tambellini@gmail.com (2024).
A complicating factor is that ffmpeg itself is licensed according to GNU Lesser General Public License version 2.1 or later (LGPL v2.1+).
A question have come up in the proposal to add FFMPEG support for the version of whisper.cpp in Debian, see <URL: https://salsa.debian.org/deeplearning-team/whisper.cpp/-/merge_requests/10 > for the background. The question is how the license of
examples/ffmpeg-transcode.cpp will affect the license of programs linking to whisper.cpp, and if the license of this file is correct.
In PR #2133 the file examples/ffmpeg-transcode.cpp was added to the code base. This file is marked with SPDX-License-Identifier: GPL-2.0, while README.md claim the whisper.cpp license is MIT. Given the terms of these two styles of licensing, I believe the general concensus is that the combined work will end up with GPL-2.0 license. This might be problematic for
programs with GPL-incompatible licenses that are compatible with MIT.
If the file really is GPL-2.0 licensed, would it be possible to relicense it with MIT license, or at least with GPL 2.0 or later at the users discretion?
According to the file header, the copyright holders are Andrew Clayton andrew@digital-domain.net (2019) and William Tambellini william.tambellini@gmail.com (2024).
A complicating factor is that ffmpeg itself is licensed according to GNU Lesser General Public License version 2.1 or later (LGPL v2.1+).