[FFmpeg-devel] [PATCH] lavfi/vf_libplacebo: support custom .cube LUTs
Niklas Haas
ffmpeg at haasn.xyz
Mon Feb 21 15:48:30 EET 2022
On Mon, 21 Feb 2022 12:38:54 +0100 Anton Khirnov <anton at khirnov.net> wrote:
> Quoting Niklas Haas (2022-02-21 12:36:23)
> > On Mon, 21 Feb 2022 12:33:19 +0100 Anton Khirnov <anton at khirnov.net> 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`.
More information about the ffmpeg-devel
mailing list