From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 0528548D88 for ; Sun, 25 Feb 2024 18:44:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CC54068C3D2; Sun, 25 Feb 2024 20:43:59 +0200 (EET) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 909F368A0A2 for ; Sun, 25 Feb 2024 20:43:52 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 4C8571BF204 for ; Sun, 25 Feb 2024 18:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1708886631; 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=DRgrqYxE4ne3zULTs7I/UGmV/GGh0ECwiJyGC5IbBnQ=; b=P8Tt6cCekvAPvSiMRKxEWuUHC75e1Uagb2N6aQyR2G2RzULf3fM8zElseu71xU8ZovYdf5 XFSxoypOWWRU1tJY+bWX0PZzfDLdKHw6PT1fOy+5+BdrUrI5viUbsGq4zxJ0InGbqj3rWJ CMdpGQGsKPAT/BSdZMQQOzTjVQg1zXQ2lJLCtkk97+DuxFmGNPLc/j8STr09ngaD7vnUn6 PcjKQkjSw/90qi8oj1xrg0dbTRjLueUjAPsSxCaElc4/A78PT/TBFYC8nJtbG8F5Zj36qd rHRniLu4KNuDKHoXaADLE+EdOrANtaRWAGliOYrjhQsQg7KUJEdDwONXCezrQQ== Date: Sun, 25 Feb 2024 19:43:50 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240225184350.GO6420@pb2> References: <6374b936-e240-12fb-ec44-72d60656a893@passwd.hu> MIME-Version: 1.0 In-Reply-To: <6374b936-e240-12fb-ec44-72d60656a893@passwd.hu> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] Swresample strangeness 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="===============3026836770123489391==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3026836770123489391== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="u6uCyGr+LkymbHbS" Content-Disposition: inline --u6uCyGr+LkymbHbS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 25, 2024 at 05:38:27PM +0100, Marton Balint wrote: > Hi, >=20 > I am working on a patch to select a better default packet size for the wav > demuxer, since it reads at most 4096 bytes which can cause insanely small > packets for files with high channel count. >=20 > Unfortunately some swresample fate tests blew up, and I wonder if the res= ult > of the resampling should be dependant on size of the audio chunks which a= re > being fed to it. My assumption is that if it causes audible difference in > the output, then it is likely a bug in swresample, but I am not familiar > with its code and its many tunable variables, so if someone could confirm, > (or even better, fix it :)) that would be great. =46rom what you describe, the first thing that comes to mind are timestamps. If you resample with timestamps that mismatch the exact values expected from the sample rate. You will have different resuls when the packet size is cha= nged. Its the same data but at a different point in time and thats different then. I have too many things to do though so i cant really look into this. thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Take away the freedom of one citizen and you will be jailed, take away the freedom of all citizens and you will be congratulated by your peers in Parliament. --u6uCyGr+LkymbHbS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZduKYgAKCRBhHseHBAsP q21UAJwNgJ6vnG/Uq4qjh+1n+KUYpjZDzwCfWiXqGly5aMZkp6a9WznApAozYyg= =0Lig -----END PGP SIGNATURE----- --u6uCyGr+LkymbHbS-- --===============3026836770123489391== 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". --===============3026836770123489391==--