From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 6682E42052 for ; Mon, 21 Feb 2022 13:48:40 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5415F68B1BC; Mon, 21 Feb 2022 15:48:37 +0200 (EET) Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5FD9068AEEA for ; Mon, 21 Feb 2022 15:48:31 +0200 (EET) Received: from haasn.dev (unknown [10.30.0.2]) by haasn.dev (Postfix) with ESMTP id C49894A35B for ; Mon, 21 Feb 2022 14:48:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=haasn.xyz; s=mail; t=1645451310; bh=cHpCT3PhwNkLknGPwokk5ypyTJhvwmwctmhkFX/yxqg=; h=Date:From:To:Subject:In-Reply-To:References:From; b=SUf3/oXsNRtaG3dksaglyHtg/XGlMWx7JU2phoAcTkQxLaRA9srq8Qh/03wsIXjby 2TRYIKL+DpwEEZ6jdw6jiiGGo1m6WI4J4hnurwu+oALJFYlic/7HgPCedQmXJhosKd ccTFXRoVHMPLuUtjY6R30MPIOE79lH4PziK2eFhU= Date: Mon, 21 Feb 2022 14:48:30 +0100 Message-ID: <20220221144830.GC71876@xor.haasn.dev> From: Niklas Haas To: FFmpeg development discussions and patches In-Reply-To: <164544353427.9519.11766880019339136827@lain.red.khirnov.net> References: <20220217180319.88427-1-ffmpeg@haasn.xyz> <164544319979.19727.14281446130913547324@lain.red.khirnov.net> <20220221123623.GC9063@xor.haasn.dev> <164544353427.9519.11766880019339136827@lain.red.khirnov.net> MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [FFmpeg-devel] [PATCH] lavfi/vf_libplacebo: support custom .cube LUTs 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Mon, 21 Feb 2022 12:38:54 +0100 Anton Khirnov wrote: > Quoting Niklas Haas (2022-02-21 12:36:23) > > On Mon, 21 Feb 2022 12:33:19 +0100 Anton Khirnov wrote: > > > Non-overridable IO in random places is evil. > > > > Can you recommend a better way of accomplishing this? > > How large are these? Can they be set directly as binary AVOptions? > We could invent syntax for ffmpeg.c to provide the contents of a file as > an option value. Yes, I think that's a good idea in general. That would also apply retroactively to the custom_shader_path / custom_shader_bin options. Typically, these LUTs are around 1MB in size, but I also have LUTs as large as 100 MB. Syntax-wise, my proposal would be `option=@filename.cube`, matching e.g. `curl -F src=@filename`. _______________________________________________ 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".