[FFmpeg-devel] [PATCH v3 1/7] fftools/textformat: Extract and generalize textformat api from ffprobe.c

Stefano Sabatini stefasab at gmail.com
Sun Mar 2 19:54:59 EET 2025


Hi,

I'll have a look at this in the week. There are a few things which I
want to doublecheck (there is some ad-hoc application logic which
might be broken when generalizing this), but I like the overall
direction of this changeset.

On date Saturday 2025-03-01 10:01:58 +0000, softworkz wrote:
> From: softworkz <softworkz at hotmail.com>
> 
> Signed-off-by: softworkz <softworkz at hotmail.com>
> ---
>  fftools/textformat/avtextformat.c  | 671 +++++++++++++++++++++++++++++
>  fftools/textformat/avtextformat.h  | 171 ++++++++
>  fftools/textformat/avtextwriters.h |  68 +++

>  fftools/textformat/tf_compact.c    | 282 ++++++++++++
>  fftools/textformat/tf_default.c    | 145 +++++++
>  fftools/textformat/tf_flat.c       | 174 ++++++++
>  fftools/textformat/tf_ini.c        | 160 +++++++
>  fftools/textformat/tf_json.c       | 215 +++++++++
>  fftools/textformat/tf_xml.c        | 221 ++++++++++
>  fftools/textformat/tw_avio.c       | 129 ++++++
>  fftools/textformat/tw_buffer.c     |  92 ++++
>  fftools/textformat/tw_stdout.c     |  82 ++++

Not sure if this is ffmpeg-ish but we might move the formats within a
dedicated subdirectory to make more apparent the core/components
distinction - anyway this is not a blocker.

[...]


More information about the ffmpeg-devel mailing list