From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 076F24CE87 for ; Mon, 11 Aug 2025 13:11:03 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 02A7068CB6D; Mon, 11 Aug 2025 16:11:00 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id A8F22687DB2 for ; Mon, 11 Aug 2025 16:10:53 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 15F5B443E5 for ; Mon, 11 Aug 2025 13:10:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1754917853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cIojcjZs5KPDBHqya+gZPQrqAA1hisY/fZuayBYfcIg=; b=obg/gEhmJIuL/xZY1n9uBlKgKusWrem6aZgRPFU4HDfe0fcWNlcxWQsKcQxdQ+8j/TBSiy pl8PTq/JIqNcqAdU+P+AMMgKTKogAz16BMycC2ZL3Gq5g2g3xYuhcxeT+bZlWW+vzf5qyC Luy7RfhqZZH/jMm8mXaCUkO8FfqfMaLrSYyWorggCX0JimdhmRu7Uj578uzyGgMHc8VHmp mMLx8WGplBw0YgbqA+ESMZdhXpD9RTS91eIh18yOmFMShU8vxGk8Gyg9nnNXlSpcdDF3qE aQOFdPNkXug463vGMLrCdR6oXrqW+sx+q51rtUdzpljotnJjRE7eN+8XmlNE6g== Date: Mon, 11 Aug 2025 15:10:52 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250811131052.GZ29660@pb2> References: <6e208946-690c-4cbb-9539-bd85df02430c@lynne.ee> MIME-Version: 1.0 In-Reply-To: <6e208946-690c-4cbb-9539-bd85df02430c@lynne.ee> X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddufedvheegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieehrddujeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieehrddujeeipdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] Plugins architecture X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============2869461638912467452==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2869461638912467452== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="x0bLHokS4jzTcL5t" Content-Disposition: inline --x0bLHokS4jzTcL5t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Lynne On Mon, Aug 11, 2025 at 09:22:26PM +0900, Lynne wrote: [...] > To me, at least, I can imagine five options: >=20 > Option 1 - we have an official binary plugin interface, free for > everyone to use with no limitation. That requires someone to create that "binary plugin interface", that person seems not existing, so i dont think its an "option" > Option 2 - we have an official source plugin interface, free for > everyone to use with no limitations. This means that all > plugins are source-code based. External plugins would result > in a build with a different license - if one of the plugins > used was non-free, then the resulting build would be non > free. > Basically, the status quo now, only we would avoid breaking > interfaces like AVCodec. > The list of source plugins would not be maintained by us, but > could be a text file that users could share between. > Option 3 - we have an official source plugin interface, free for > everyone to use, with license limitations. All source plugins > The list of source plugins would be maintained by us, and > policing of the list for violations (including using > dlopen() to workaround licensing) would be left to us. > The list of such plugins would be maintained by us. Id like to point out that testing for dlopen() is a matter of "git grep dlopen" after the "git merge" of teh plugins Similarly we can require any specific license or contract text in a plugin and can verify that automatically. (similar to fate-source) Thus turning a non compliant plugin into a contract violation Iam not sure we want or need any of that, just saying that if we want then its a automated thing > Option 4 - we have an official source plugins interface for repositories > maintained by FFmpeg developers. This means that for > developers interested in developing features outside of the > scope of the project, there would exist an interface which > would allow developers to conveniently maintain and > distribute their work as an optional extension for the > project. These options do not seem exclusive we can make a list of GPL/LGPL plugins maintained by ffmpeg developers and a seperate list of GPL/LGPL plugins maintained by other developers >=20 > As a maintainer, I would like to avoid option 3 to the extent that I am m= ore > comfortable with fully liberalizing all plugins via option 1. >=20 > I would like to hear other options or suggestions that developers may hav= e, > and ultimately, if there's a consensus on the amount of options that that > the project would benefit from having a plugins interface, a vote on the > type of interface(s) we would maintain. IIUC your intend is to avoid closed source / non free plugins. I do think, what you push for here, will open the door primarly for closed source / non free plugins. So it seems to do the exact opposite of what you try to achieve. Because if we dont have a reasonable complete list of plugins in our repository, it will be outside and will contain all the non free, corporate and closed source ones thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is not once nor twice but times without number that the same ideas make their appearance in the world. -- Aristotle --x0bLHokS4jzTcL5t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaJnr2QAKCRBhHseHBAsP qxetAJ9sTjcrLtMG6/9NrbMG4IjtxsQ87wCgj1IA+EZ5EFQCeD/x/wQUVLdYM68= =1066 -----END PGP SIGNATURE----- --x0bLHokS4jzTcL5t-- --===============2869461638912467452== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============2869461638912467452==--