Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Nicolas George <george@nsup.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v2 0/8] [RFC] avtextformat: Transform text writing into an independent API
Date: Fri, 28 Feb 2025 14:51:50 +0100
Message-ID: <Z8G_dudzJZyG03Vg@phare.normalesup.org> (raw)
In-Reply-To: <pull.56.v2.ffstaging.FFmpeg.1740718936.ffmpegagent@gmail.com>

ffmpegagent (HE12025-02-28):
> This patchset doesn't aim to improve or change the API itself - that would
> be a bit too much at once.

So you asked for advice, got come counsel from me and did exactly the
opposite. Do not be surprised if the result is less than satisfactory.

>  * Public API isn't documented yet

When designing a public API, the user documentation, and in particular a
quick-start guide with clear examples, should be the first thing you
show, and probably even one of the very first things you write.

Without that, I can only repeat what I told you two days ago:

The writers in ffprobe are an ad-hoc construction to turn the shallow
data structures produced by ffprobe into a common denominator of JSON,
XML, CSV and a few custom formats. It is not a good candidate to be
turned into an API.

-- 
  Nicolas George
_______________________________________________
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".

      parent reply	other threads:[~2025-02-28 13:52 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-27 14:01 [FFmpeg-devel] [PATCH " ffmpegagent
2025-02-27 14:01 ` [FFmpeg-devel] [PATCH 1/8] ffprobe/avtextformat: Rename and move writer structs softworkz
2025-02-28  1:18   ` Michael Niedermayer
2025-02-27 14:01 ` [FFmpeg-devel] [PATCH 2/8] ffprobe/avtextformat: Rename and move writer functions and options softworkz
2025-02-28  1:23   ` Michael Niedermayer
2025-02-28  1:30     ` Soft Works
2025-02-28  1:47       ` Soft Works
2025-02-28  2:29         ` Michael Niedermayer
2025-02-28  2:43           ` Soft Works
2025-02-27 14:01 ` [FFmpeg-devel] [PATCH 3/8] ffprobe/avtextformat: Generalize ffprobe specifics softworkz
2025-02-27 14:01 ` [FFmpeg-devel] [PATCH 4/8] ffprobe/avtextformat: Rename flags and enums softworkz
2025-02-27 14:01 ` [FFmpeg-devel] [PATCH 5/8] ffprobe/avtextformat: Move flags softworkz
2025-02-27 14:01 ` [FFmpeg-devel] [PATCH 6/8] ffprobe/avtextformat: Rename writer to formatter softworkz
2025-02-27 14:01 ` [FFmpeg-devel] [PATCH 7/8] ffprobe/avtextformat: Move formatters to avutil softworkz
2025-02-27 14:01 ` [FFmpeg-devel] [PATCH 8/8] ffprobe/avtextformat: Split out text writers as independent classes softworkz
2025-02-28  5:02 ` [FFmpeg-devel] [PATCH v2 0/8] [RFC] avtextformat: Transform text writing into an independent API ffmpegagent
2025-02-28  5:02   ` [FFmpeg-devel] [PATCH v2 1/8] ffprobe/avtextformat: Rename and move writer structs softworkz
2025-02-28  5:02   ` [FFmpeg-devel] [PATCH v2 2/8] ffprobe/avtextformat: Rename and move writer functions and options softworkz
2025-02-28  5:02   ` [FFmpeg-devel] [PATCH v2 3/8] ffprobe/avtextformat: Generalize ffprobe specifics softworkz
2025-02-28  5:02   ` [FFmpeg-devel] [PATCH v2 4/8] ffprobe/avtextformat: Rename flags and enums softworkz
2025-02-28  5:02   ` [FFmpeg-devel] [PATCH v2 5/8] ffprobe/avtextformat: Move flags softworkz
2025-02-28  5:02   ` [FFmpeg-devel] [PATCH v2 6/8] ffprobe/avtextformat: Rename writer to formatter softworkz
2025-02-28  5:02   ` [FFmpeg-devel] [PATCH v2 7/8] ffprobe/avtextformat: Move formatters to avutil softworkz
2025-02-28  5:02   ` [FFmpeg-devel] [PATCH v2 8/8] ffprobe/avtextformat: Split out text writers as independent classes softworkz
2025-02-28 13:51   ` Nicolas George [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z8G_dudzJZyG03Vg@phare.normalesup.org \
    --to=george@nsup.org \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git