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

Leo Izen leo.izen at gmail.com
Mon May 1 09:57:00 EEST 2023


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.

- Leo Izen (Traneptora / thebombzen)



More information about the ffmpeg-devel mailing list