From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 663714FF2E for ; Thu, 3 Jul 2025 22:02:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id ED6B668F369; Fri, 4 Jul 2025 01:01:56 +0300 (EEST) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 5BFF568EB31 for ; Fri, 4 Jul 2025 01:01:50 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id BB9FF432E9 for ; Thu, 3 Jul 2025 22:01:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1751580109; 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=lTXYSVs+mY8n3xZ+UeYq/56otmMQPcsrJdYfj0D0G1c=; b=Yom8sP9S3jBLtb5aCjj97U03fdbp+8S4GJPwD4/GbigqzJnIqRI+V5Wd/P00C4bLbOcoVg oz3p6poTVRQT9LGmYa9WtZGTT+6tW+XjBVoRaTPaPq6StJjiQZ0L+HZgl9IqJCp0AQoEGB m6rbWyt7UvlqWz5gmyGUak42IcV4OaHo2++QJg+p7S0xzqtU9ej0GU8YJACyqGGtGmNoPU lBrwEzZIceCmfhkaky/xu8gkolncksuAkwHo3GZy9pz/GgDIVTRTWpwvmPhKftewTpDY51 uQAttJA455vjSeiebdFhZy14DnwswWUUBUTmN5F3lv0bDp7B1uaRT1RqizbUUg== Date: Fri, 4 Jul 2025 00:01:48 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250703220148.GO29660@pb2> References: <20250630035518.3622-1-pkoshevoy@gmail.com> <20250701034628.GD29660@pb2> MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddvudegfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepleekgefgffeiudefjeeuffejudehtddtudeltdehveevvedtieeulefhtdeutdeknecukfhppeeguddrieeirdeiiedrvddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeiiedrvddvjedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avformat/mpegts: Add AVFMT_FLAG_ALLOW_CODEC_CHANGES (v2) X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============5493612167733758370==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5493612167733758370== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nFpD1knpOQT5K5q4" Content-Disposition: inline --nFpD1knpOQT5K5q4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Pavel On Mon, Jun 30, 2025 at 11:39:32PM -0600, Pavel Koshevoy wrote: > On Mon, Jun 30, 2025, 21:46 Michael Niedermayer > wrote: >=20 > > On Mon, Jun 30, 2025 at 07:32:36PM -0600, Pavel Koshevoy wrote: > > > On Mon, Jun 30, 2025 at 3:46=E2=80=AFPM Scott Theisen < > > > scott.the.elm-at-gmail.com@ffmpeg.org> wrote: > > > > > > > On 2025/06/29 23:55, Pavel Koshevoy wrote: > > > > > Make midstream AVStream.codecpar updates optional and disabled > > > > > by default, so that avformat API clients can enable this feature > > > > > explicitly when they add support for midstream codec changes. > > > > > > > > Is this signaled in any way or is the client expected to check if > > > > codecpar has changed? > > > > > > > > > > The client is expected to check codecpar for changes ... > > > > What performance impact does this have ? > > >=20 > In my player? None that I cared to measure Your player is not the only user of the libavformat API and with low latency audio codecs tiny packets could require thousands of "has anything in this AVStream changed" checks per second >=20 >=20 >=20 > > also how does this align with AV_PKT_DATA_NEW_EXTRADATA > > and AV_PKT_DATA_PARAM_CHANGE ? > > >=20 > I don't know anything about them. you do suggest to make streams change arbitrarily. Thats a API change, so you should first understand the existing related APIs Also teh design of the new API is for all user applications there needs to be a plan how to support this in ffmpeg and the muxer side The API is a puzzle piece in this plan. It must fit in, even if other people work on ffmpeg and the muxers. Dont you agree with that too ? thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If a bugfix only changes things apparently unrelated to the bug with no further explanation, that is a good sign that the bugfix is wrong. --nFpD1knpOQT5K5q4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaGb9yAAKCRBhHseHBAsP q9U/AJ9f98kGfFtWpwQckKNEDuJj3Vpu5QCfZMqBoMlnR9b0sZp3H2nHbSoAKiE= =3fa2 -----END PGP SIGNATURE----- --nFpD1knpOQT5K5q4-- --===============5493612167733758370== 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". --===============5493612167733758370==--