Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Incompatible License Due to Dependency on GPLv2 Libraries #425

Closed
4 tasks done
REBAUD opened this issue Nov 6, 2024 · 2 comments
Closed
4 tasks done
Labels
EXTERNAL BUG 👾 Bug caused by external dependent library QUESTION ❓ User asked about the working/usage of VidGear APIs. SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!

Comments

@REBAUD
Copy link

REBAUD commented Nov 6, 2024

Issue guidelines

Issue Checklist

  • I have searched open or closed issues for my problem and found nothing related or helpful.
  • I have read the Documentation and found nothing related to my problem.
  • I have gone through the Bonus Examples and FAQs and found nothing related or helpful.

Describe your Question

Description: VideoGear is currently licensed under the Apache-2.0 license. However, I noticed that VideoGear depends on yt-dlp, which in turn relies on mutagen, a library licensed under GPLv2. Since the GPLv2 license is incompatible with Apache-2.0 for redistribution in certain contexts, this creates a licensing conflict for using VideoGear in production.

Request: Is it possible to either:

Replace yt-dlp (or mutagen) with alternatives that have more permissive licenses, or
Adjust the dependencies in a way that removes this conflict?
This change would help make VideoGear more viable for production use in projects requiring Apache-2.0 compatibility.

Thank you!

Terminal log output(Optional)

No response

Python Code(Optional)

No response

VidGear Version

3.3.0

Python version

3.11

Operating System version

ubuntu 24.04

Any other Relevant Information?

No response

@REBAUD REBAUD added the QUESTION ❓ User asked about the working/usage of VidGear APIs. label Nov 6, 2024
Copy link

welcome bot commented Nov 6, 2024

Thanks for opening this issue, a maintainer will get back to you shortly!

In the meantime:

  • Read our Issue Guidelines, and update your issue accordingly. Please note that your issue will be fixed much faster if you spend about half an hour preparing it, including the exact reproduction steps and a demo.
  • Go comprehensively through our dedicated FAQ & Troubleshooting section.
  • For any quick questions and typos, please refrain from opening an issue, as you can reach us on Gitter community channel.

@abhiTronix
Copy link
Owner

Description: VideoGear is currently licensed under the Apache-2.0 license. However, I noticed that VideoGear depends on yt-dlp, which in turn relies on mutagen, a library licensed under GPLv2. Since the GPLv2 license is incompatible with Apache-2.0 for redistribution in certain contexts, this creates a licensing conflict for using VideoGear in production.

@REBAUD Thank you for bringing up this licensing concern. I'd like to clarify the dependency relationship:

yt-dlp is actually an optional dependency that is only required by CamGear API when using video URLs as input sources. It is not a core requirement for VideoGear's main functionality. Users who don't need URL video processing can use VideoGear without installing yt-dlp or its dependencies.

Since this is a soft dependency that's only loaded when specifically using URL features, there is no direct licensing conflict with VideoGear's Apache-2.0 license. The optional nature of this dependency means users can choose whether to include yt-dlp based on their specific needs and licensing requirements.

If you have concerns about yt-dlp's dependencies and licensing, I'd encourage you to raise this issue in the yt-dlp repository as they would be better positioned to address questions about their dependency chain and licensing implications.

Let me know if you have any other questions!

@abhiTronix abhiTronix added SOLVED 🏁 This issue/PR is resolved now. Goal Achieved! EXTERNAL BUG 👾 Bug caused by external dependent library labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EXTERNAL BUG 👾 Bug caused by external dependent library QUESTION ❓ User asked about the working/usage of VidGear APIs. SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!
Projects
None yet
Development

No branches or pull requests

2 participants