[FFmpeg-devel] [PATCH 5/8] lavu: add a JSON writer API (WIP)

Jean-Baptiste Kempf jb at videolan.org
Mon May 1 13:18:29 EEST 2023


On Mon, 1 May 2023, at 08:57, Leo Izen wrote:
> On 4/29/23 14:33, Nicolas George wrote:
>> Anton Khirnov (12023-04-29):
>>> libavfilter is a C library with a C API. Any structured output from
>>> filters should be in the form of a C object, typically a struct. I do
>>> not see why are you so in love with strings, they make for terrible
>>> APIs.
>> 
>> Yes, strings are a terrible API, but our project is not only a set of
>> libraries, it is also a set of command-line tools, and command-line
>> tools work with strings and nothing else.
>> 
>
> This is a good argument for putting the code in fftools/ and not 
> libavutil, fwiw.

This is also my understanding.

-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the ffmpeg-devel mailing list