The current Msys2 build of OpenCV is built with a load time linking dependency on GPL licensed code (avformat library et al/ffmpeg). The Msys2 OpenCV, due to the load time GPL linking, is no longer BSD licensed.
Users who incorporate the current Msys2 OpenCV into their code assuming the BSD license are inadvertently forcing their (potentially closed source code) to be subject to the GPL.
https://packages.msys2.org/package/mingw-w64-x86_64-opencv
Package: mingw-w64-x86_64-opencv
Upstream URL: https://opencv.org/
License(s): BSD
Version: 4.5.5-1
- avformat-58.dll DLL load time dependency, parent package:
https://packages.msys2.org/package/mingw-w64-x86_64-ffmpeg
Package: mingw-w64-x86_64-ffmpeg
Upstream URL: https://ffmpeg.org/
License(s): GPL
Version: 4.4.1-12
Dependency detection
Running dependencies on: libopencv_videoio.dll
See: https://github.com/lucasg/Dependencies
Listing dependency modules for: libopencv_videoio.dll
Dependencies.exe -modules libopencv_videoio.dll
...
[Environment] avformat-58.dll : C:\msys64\mingw64\bin\avformat-58.dll
...
The current Msys2 build of OpenCV is built with a load time linking dependency on GPL licensed code (avformat library et al/ffmpeg). The Msys2 OpenCV, due to the load time GPL linking, is no longer BSD licensed.
Users who incorporate the current Msys2 OpenCV into their code assuming the BSD license are inadvertently forcing their (potentially closed source code) to be subject to the GPL.
https://packages.msys2.org/package/mingw-w64-x86_64-opencv
Package: mingw-w64-x86_64-opencv
Upstream URL: https://opencv.org/
License(s): BSD
Version: 4.5.5-1
https://packages.msys2.org/package/mingw-w64-x86_64-ffmpeg
Package: mingw-w64-x86_64-ffmpeg
Upstream URL: https://ffmpeg.org/
License(s): GPL
Version: 4.4.1-12
Dependency detection
Running dependencies on: libopencv_videoio.dll
See: https://github.com/lucasg/Dependencies
Listing dependency modules for: libopencv_videoio.dll