From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id EFF804BB11 for <ffmpegdev@gitmailbox.com>; Fri, 28 Mar 2025 22:24:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B408C687C58; Sat, 29 Mar 2025 00:24:00 +0200 (EET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10olkn2024.outbound.protection.outlook.com [40.92.41.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5691A687BA6 for <ffmpeg-devel@ffmpeg.org>; Sat, 29 Mar 2025 00:23:54 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LhngUv45MdBSiaL3MIaGuqUNgjlx52avsGeHH4HQf0d6xFtr9zmt9MOOrEOtKj9uRPjgJZ1lRjTnU7WrQnpVzbrdiZMHXFGcO2HIWQvZjOnXb9D6NginCuzyx/onobzyPVPjdW3mS4jRx8y5pHZ2qnIz6IXOXsSKCOdnkhe4YyF6w0kgkA6QUbwiBsJDCoy5lOvMcDoyEOl3eHExe4XYPVk2u94k/YmVm94CRN4qr8qyg6x8jO5quaH1fM4wHPP+OLkzZZ3CeJFVaY2hvMk2nWybj583HISaJRIjtrKPkmRZjivB0/ETUKfeL98wGG0ipNu8woeEdwoZvLnmh9bJ/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mKmeNTaa0Kefo2Xm/UubfOEUMohY8cJkStJMWnROTRQ=; b=i2eEECe7xiG5sCZZ3P8NVMRS9zZOym+uRBxKtRoQBRMrEcvcDlPoSgbLy0X/K9vp82CKNpjS5Iww/K36RJnlaHDAL8GDlKA6tYKZ+RfFtPJ/wPCVgBDypJIyaHdEKYESBEfUbS/pYhDiH/mOSvB8EL1UVqq2A9jkR3BkwCDtKYBUQBYaKblcnpJvq9m5O8QAHpkf2Li1GS0fdDgLG+yqzN7Owue9uH6rDrIhsLovRoiXxUshPEyukN8EgtKamzJeH1InGuU6FUcwGqAF3q7XHDIm74FhZT3sSTwVdPUMlBSbdrZomnHuuFpUAPAxw8ogWWM0rGlSRFnCrqCuut7XOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mKmeNTaa0Kefo2Xm/UubfOEUMohY8cJkStJMWnROTRQ=; b=m4F5GSl+DdF1CdrNnwsxtppcquVL2aSUXFQfFTFdbCtk54TO7t6hCvm1NHJ/bSdJHG8yIC72eglAcqU0dYOsE4bNwXtchIegnef5k2yaOb/6s89WXeOyybMGbHDW41Nql1QoNLfAuIx0SC+v0b4egk9eCjEx64OFvOs+SZ4p3mbU7LWl9g8QW0GMXysp9BrlKWrUeHAeJwp+5aocsG7L9UoClLk0/6mY76lWc9mVC1obkVTdqp9+lfTfbjp4fci5GA0qfKgciEbCD1kUMvVJ0KrMo7lWhIztNZmLsK4c2Emj6KDGeqfUmRHBP/meizcCFyc58sIGsGjTNh76cWLYAw== Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM (2603:10b6:8:b::20) by MN0P223MB0536.NAMP223.PROD.OUTLOOK.COM (2603:10b6:208:3c4::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.44; Fri, 28 Mar 2025 22:23:51 +0000 Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::bf09:8e9:b07f:98a7]) by DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::bf09:8e9:b07f:98a7%7]) with mapi id 15.20.8534.043; Fri, 28 Mar 2025 22:23:51 +0000 From: "softworkz ." <softworkz-at-hotmail.com@ffmpeg.org> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Thread-Topic: [FFmpeg-devel] [PATCH] avfilter: Proof of Concept: enable out-of-tree filters Thread-Index: AQHbnNVMcLTH7PoeaUW9fwrAaAoOI7OCd4YAgAaiSwCAAAo/4A== Date: Fri, 28 Mar 2025 22:23:50 +0000 Message-ID: <DM8P223MB03659FC57B4DB3C93E6BACF7BAA02@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM> References: <6bef7ee3-6e0b-496a-9018-ce02d5e8cd63@gmail.com> <2477728b-6217-446a-9a15-830f028baea0@gmail.com> <8bdfe841-080b-49f6-913b-7577d03a1214@gmail.com> <20250328213828.GI4991@pb2> In-Reply-To: <20250328213828.GI4991@pb2> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM8P223MB0365:EE_|MN0P223MB0536:EE_ x-ms-office365-filtering-correlation-id: 3ee0ca35-a5bd-4569-9378-08dd6e473786 x-microsoft-antispam: BCL:0; ARA:14566002|8062599003|19110799003|461199028|8060799006|15080799006|7092599003|4302099013|3412199025|440099028|10035399004|102099032|1602099012; x-microsoft-antispam-message-info: =?iso-8859-1?Q?fhqUTwPhxnevtm3vVLCkvczc4ETOt2ED0MSvaqqgdAII58SlzLm8k8LVdG?= =?iso-8859-1?Q?oR2SqN4VlbX+R22m+2dKyBzboNorj2oqGT6RrqghoIM2iE8HiTcx9sSJgx?= =?iso-8859-1?Q?wjX69cfifEs2J4mP/7UIsSIRrAPXgf/LKO3+yEYI00KRqR1xYfkkh7wj35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dXfIFOfoTrMuPgJmrKMApvbyD+Dc?= =?iso-8859-1?Q?i/j2qsemecLAutb0N3AV6P71l1NMQ6l98CIMrDtzu8xiytfm2CoHIwBOcf?= =?iso-8859-1?Q?hURcc25Ei3xsv2/5sCtDxP/JGSok4buZ/mGNcEX1HuIPRqAsazX/m/QM7V?= =?iso-8859-1?Q?rBe8Yd4/Y8rgPu8ayON7ZgJFwRYDLxxDEdqthQ1wKgbxZUX7uwoZ4f4Dzr?= =?iso-8859-1?Q?k7t58751TsJePRorzMr7zy3QBSP7wUYowMt39TwIE=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?3YcagEB/IgTZCZrDQblVk03nBhgugREHbN880CPbiwwGsHkz2fQKBnN7Z5?= =?iso-8859-1?Q?PmG57l9q9cm10URWWsp2401QC2n8EsZX2S2mwN/jaJ6ZTDXtk9ax9kW9HJ?= =?iso-8859-1?Q?14KL0E5gE2QMtF4BQiKH/kJiFhhhYTNQB9dFrQNuGvjCfAE47N9Ex4T9v+?= =?iso-8859-1?Q?VcQO6syAa6lrPhypD8LUczgqt02fy035rYxAib6KL58u/o+n98AltbB+Tf?= =?iso-8859-1?Q?KFcQZSxjKn+PD9hrvzZDMlAp6JKv1QxkfwSaH+7IFpfix6UdmqWwHXGayr?= =?iso-8859-1?Q?wrePrn49vK2kojLoPAh9GaLUn9PTh5ccKdpIr1xmo+gNU7K7Oj0wVmEUHT?= =?iso-8859-1?Q?Z7GTbwfCumqGdG5SOhFF5ouWGm+6JT3ppbwiuI+dbonHOncjUNH1Me96lB?= =?iso-8859-1?Q?mwD21W5uSv3Utao8M0p1mDHmVSMZAdFrPyF0xybjUclixEoWtvLzLC2ZsB?= =?iso-8859-1?Q?ZJE8IYnzNEXL4nl4aCyKSbME+O1/6GXQSAx2CGSyEGVcdFPK0qSXsE9pXv?= =?iso-8859-1?Q?9WCGJbxG2iyNnieYooCOgWg6j1A92pChth/7NRUgfXiTbEZ79VoqrXPw5A?= =?iso-8859-1?Q?TV9tQtmaEExEKrpW9p1gCVicGlgJZ9OWl2iqDyTFcDXqZRaKYFFDQbyEms?= =?iso-8859-1?Q?oGJqNfM372Ay326RKRdN3Ru8PKfoV64H4KdLyjzdn/TfexNC47PvjnkYv/?= =?iso-8859-1?Q?0xOlCVd4LY2CgX8WYDe3b+5xXPAhWPyL2Qzg6awWqgMM4gV3uEu/KTd4kC?= =?iso-8859-1?Q?y2uGYWRBV8R2mplPmxTUGMbY5x4JrV1bF5eqvGhI6+zr227TXUN0UcFFMQ?= =?iso-8859-1?Q?UhzEdGMCBEOnLyA1xB9VNVVYv6EAlgSykeEi/98L+9m6jhK/tO0f/sNmIa?= =?iso-8859-1?Q?7xBpjAMIKlNdToQJS6HFY/PCBceq86BBpsgA4IuozmKCG1beCv7IHUdscH?= =?iso-8859-1?Q?NR4CBxOSK1VU1ok+LnkKboMT88RL1kjUqODDDn4dN7ld7OUcwkaCbuao1W?= =?iso-8859-1?Q?ZtHOUFwcspVhitBNc6TgvNj7fUuJekCT6YiFQekisTSOOEks//JX35tX6G?= =?iso-8859-1?Q?KNyJAUtAWpuStTAG/TjRGKLCDGVRPYLsrNnR3mMoGmbBMa0BxTj6/TNo/X?= =?iso-8859-1?Q?ak7yyJPwSGxJy1pfPC+iArqG8jrKIbNVkaSt/YQePJwFTle/hha9LSYitw?= =?iso-8859-1?Q?Klg47LPFSIr8RsPYY2yCNYQbIzRGo/gmq+nXqxZygIcwNF2kcHZ/0jzIfc?= =?iso-8859-1?Q?B/aIfPjq/RKVrcAjuiwZMFsvLr3FtzxNsXVw1PoSM=3D?= MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-92255.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 3ee0ca35-a5bd-4569-9378-08dd6e473786 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2025 22:23:50.9568 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0P223MB0536 Subject: Re: [FFmpeg-devel] [PATCH] avfilter: Proof of Concept: enable out-of-tree filters X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> Archived-At: <https://master.gitmailbox.com/ffmpegdev/DM8P223MB03659FC57B4DB3C93E6BACF7BAA02@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> Hi Michael, > -----Original Message----- > From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of > Michael Niedermayer > Sent: Freitag, 28. M=E4rz 2025 22:38 > To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] avfilter: Proof of Concept: enable > out-of-tree filters > = > Hi Leandro > = > On Mon, Mar 24, 2025 at 05:20:02PM +0100, Leandro Santiago wrote: > > In this iteration I've made the following changes, based on the > received feedback: > > > > - No external tools are needed by the build system. > > > > - The external filters should be put in ext/libavfilter. Anything > there will be included. > > > > - The build system will execute a file called `configure.sh` in the > directory of the external filter. This script has access to the > functions and variables defined on `./configure`, as it's included via > `.` on sh. > > > > - I will document the "API" for the external filters as soon the > approach is approved, but an example of filter can be found at > https://gitlab.com/leandrosansilva/ffmpeg-extra-filter-example . If you > are unhappy with the example code hosted on gitlab.com, I can move it > elsewhere where it gets easier for you to have access to the code. > > > > - Essentially, an external filter is composed by at least a > `configure.sh` and a `Makefile`. > > > > I really hope this can be the last iteration, as I ran out of ideas on > how to simplify the process, so please let me know your thoughts :-) > = > How does this compare to simply using > git merge > = > That is each filter developer simply maintaining a fork of ffmpeg and > their > filter, in that fork. Adding lines to configure, Makefile, ... > = [..] > = > The advantage of "git merge" wether by hand or by a automated tool > is that its not limited to what it can do. Its much more powerfull Git merge only works when there's a common baseline and the only difference= is the filter commit on top that you want to merge. It cannot be used when= there are different baselines, e.g. the filter is on top of a the latest m= aster branch and you want to merge it into an older (release) branch, as th= at would add all the differences, not just the filter. What you can do is cherry-picking the commit which adds the filter, but the= bigger the differences of the baseline, the bigger the problems when cherr= y-picking. = > and the changes outside adding the filter itself are very basic. > Conflicts are something that we can workaround in many ways if they > become a problem The changes are basic in fact, but the trouble it is causing each time is b= eyond basic. To give you an idea of what I'm talking about I've recorded a short screenc= ast to illustrate what I mean: https://gist.github.com/softworkz/750da15adb259fa13c6b32277647d54e = Thanks, sw _______________________________________________ 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".