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 515054E31F for ; Tue, 8 Jul 2025 22:26:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id EBEEC68F0EF; Wed, 9 Jul 2025 01:26:41 +0300 (EEST) Received: from relay16.mail.gandi.net (relay16.mail.gandi.net [217.70.178.236]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id B578D68F00E for ; Wed, 9 Jul 2025 01:26:35 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id DA85543885 for ; Tue, 8 Jul 2025 22:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1752013595; 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=boN/FrasFQHAJzRflmUL0hEYt5N5/uGj5PoFVKl5/1Q=; b=OYdrmxewbQ+mfYLcWGopAcUMi+qNnyxENBK/Nhsaybtl4QiSeTOAGuOD5qeI/oITwZkVro Dn9I07nQ1qNoggwfiBL+kUIoI5lYCpvGG/ozCyEGksrzNEm998JSU4sRZkjg+MO0f1pM1K BECxs6l8q3z2H9zlEwGEcfc1ypAL5YYELuxAXGbQF35s4gfEJ4BWpj1Mcdk4t3KEJZlSqf lBXUlhGOky4dV2nhzccBLpP8xLr2pMX4UCPC3is7MHsMlz37z9Jyk/g0+hWG6pNfUjqlCY Uflcp03mWxyYalKtBvMzg+NzJwknZGOo4F1TfdMAPVf29nZovPemmv8vL2Wnnw== Date: Wed, 9 Jul 2025 00:26:33 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250708222633.GJ29660@pb2> References: MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdefheekkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdlfedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepleekgefgffeiudefjeeuffejudehtddtudeltdehveevvedtieeulefhtdeutdeknecukfhppeeguddrieeirdeiiedrvddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeiiedrvddvjedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh Subject: Re: [FFmpeg-devel] [PATCH 0/1] Fix tmix on discontinuities 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="===============1788154789165985452==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1788154789165985452== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u3+Kd7Q/4LsXf3Mb" Content-Disposition: inline --u3+Kd7Q/4LsXf3Mb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ignacy On Sun, Jul 06, 2025 at 08:30:09PM +0200, Ignacy Gaw=C4=99dzki wrote: > A simple example of the bug: >=20 > ffplay -f lavfi color=3Dc=3Dgray -vf 'tmix=3Denable=3Dgt(t\,1)' >=20 > After one second, the color is wrong (green in my case), not the > expected gray. >=20 > It seems it is due to the fact that parse_weights determines that > the weights are all 1 and FAST_TMIX_SLICE should be used instead of > MIX_SLICE. But if the filter is not running from the very start with > these weights, FAST_TMIX_SLICE will not work properly. It should be possible to fix fast mode so it resets its state when teh filter re-enables But as long as thats not done, i think its ok to fix it by disabling fast mode >=20 > Besides, should FAST_TMIX_SLICE not be used with float types either, > as addition on floats is not associative and rounding errors will > accumulate? yes, the filter is wrong to use this with floats though if there was a state "reset" for re-enabling the filter that could also be used for float periodically thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Does the universe only have a finite lifespan? No, its going to go on forever, its just that you wont like living in it. -- Hiranya Peiri --u3+Kd7Q/4LsXf3Mb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaG2bEgAKCRBhHseHBAsP q85GAJ9mZ3fMWAlXCdX+HLxPY1yAHFl6HgCgll10tu3ukEgLj/6Jno7zHHOuunI= =gJdf -----END PGP SIGNATURE----- --u3+Kd7Q/4LsXf3Mb-- --===============1788154789165985452== 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". --===============1788154789165985452==--