From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id 073244C6AE
	for <ffmpegdev@gitmailbox.com>; Tue,  8 Apr 2025 22:35:33 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BF2D2689F44;
	Wed,  9 Apr 2025 01:35:28 +0300 (EEST)
Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net
 [217.70.183.193])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BE368687DF5
 for <ffmpeg-devel@ffmpeg.org>; Wed,  9 Apr 2025 01:35:22 +0300 (EEST)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 2D4CD4333B
 for <ffmpeg-devel@ffmpeg.org>; Tue,  8 Apr 2025 22:35:21 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc;
 s=gm1; t=1744151722;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=VtocgjQ/Z4VM+dJnur/+0m6lKxWv8NZINEZbb1oe3i8=;
 b=brfTtZmNUdwG4fznrITPb5YQiv6o49qYLNslOCRRtjG9z1eeADSf3fHxa0BhVup7VTLKHO
 LS89KOKpedYVR7Jz7wC0X09EX/QPKua04wzortmy2pAXbbQ7h34zCIqCXYLCbY9ryU7tiC
 +b4FELHAUXhOWc/xWPEK9YJB2WZBf5UvT8LaEpQnVebUAzwqid/7Baa44aSfglDBi3vYpS
 hAoE3sNUun/1Bgv2OnviXAz0jk6UUmy7LTbKgQ02qJ/Wie4ddE2e4twV0c956mncr+mYZp
 +XUSvSE7bGl2nkUVbohqypROo1kFsS+RmV+9HwkBT8IdQ8OOgt3L48TK5MpMHw==
Date: Wed, 9 Apr 2025 00:35:21 +0200
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20250408223521.GU4991@pb2>
References: <20250408101959.GP4991@pb2>
 <CABWZ6OTR-Yuxo5g-ttq20LX2PHsAWteFGr_oz6FHc1p=3X5VwQ@mail.gmail.com>
 <20250408202937.GS4991@pb2> <3503432.tdWV9SEqCh@falbala>
MIME-Version: 1.0
In-Reply-To: <3503432.tdWV9SEqCh@falbala>
X-GND-State: clean
X-GND-Score: -70
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvtdegfeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddunecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpedutedvhfduuedugedufefghefhvedvgffgffekhfdvgfdvtefftdejkeehteefheenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg
X-GND-Sasl: michael@niedermayer.cc
Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: multipart/mixed; boundary="===============4529711263896883286=="
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250408223521.GU4991@pb2/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>


--===============4529711263896883286==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="JGOPjmXzX2WZHeWw"
Content-Disposition: inline


--JGOPjmXzX2WZHeWw
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi

On Wed, Apr 09, 2025 at 12:18:10AM +0200, Gerion Entrup wrote:
> Am Dienstag, 8. April 2025, 22:29:37 Mitteleurop=E4ische Sommerzeit schri=
eb Michael Niedermayer:
> > On Tue, Apr 08, 2025 at 11:10:21AM -0500, Romain Beauxis wrote:
> > > Le mar. 8 avr. 2025 =E0 05:20, Michael Niedermayer
> > > <michael@niedermayer.cc> a =E9crit :
> >> [...]
> > > * Any interest in storing multiple values for the same key? This seems
> > > like a niche case but, as you pointed out in another thread, typically
> > > vorbis metadata do allow multiple key/values for the same field.
> >=20
> > For a single key multiple values should not be stored
> > You can do
> > Author1=3DEve
> > Author2=3DAdam
> > or
> > Author=3DAdam and Eve
> >=20
> > But dont do
> > Author=3DEve
> > Author=3DAdam
> > because if you do that and then you get later a
> > Author=3DLilith
> > what does that mean? that its now 1 Author or 3 Authors
> > or 2 and if 2 then which 2 ?
> >=20
> > Or said another way, you cant have multiple identical keys like that AND
> > allow updates.
>=20
> AFAIK, Matroska also has Metadata that are explicitly a tree and can have=
 the same key.
> A good example is the ACTOR tag: Most movies have more than one actor, th=
e CHARACTER should be a subtag of ACTOR [1].

The AVDictionary2 API doesnt need to represent multiple actors the same way=
 as
the matroska bitstream.

Also it changes nothing on the conflict between "multiple identical keys" a=
nd
updates


> Currently, FFmpeg just seem to ignore keys with multiple values and displ=
ay the first.

Since 80b77e8e8d0630710ad6069133f397459015f139, we have some
support for multiple values in id3, this has the problem with updates
described above though

thx

[...]

--=20
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If the United States is serious about tackling the national security threat=
s=20
related to an insecure 5G network, it needs to rethink the extent to which =
it
values corporate profits and government espionage over security.-Bruce Schn=
eier

--JGOPjmXzX2WZHeWw
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ/WkpgAKCRBhHseHBAsP
q84HAJ42CdZrWEr7afTDf06Dm06Ubj7ZiQCfUg4NbPW4K4LmTk5x9i0CFQ9RDeM=
=SWNl
-----END PGP SIGNATURE-----

--JGOPjmXzX2WZHeWw--

--===============4529711263896883286==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============4529711263896883286==--