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 5B06C4DBF9 for ; Sat, 3 Jan 2026 00:12:35 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'Tr8PvwHCWPlOIVgxMFGSpz0Wy8yT1e96I1X7wgTJsrY=', expected b'c+xFaAFenYGiOy2szDs56oG1csfZdbAQDcR/cv1WKjY=')) header.d=niedermayer.cc header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1767399128; h=date : to : message-id : references : mime-version : in-reply-to : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : from; bh=/foAaVbPgJaS/VnlhYjTwqee0KKLyw2u5eXtq1g4UP8=; b=BtgXzFh6kpnBbgKU0NxzdsUrp6atHo1+e5/NHdergjQ+IpLx0lcD+3V41AQuyKjzA5Wa8 lOvVADMN6Kl8CNpomTPjR0Lzt9I8lPfSfxi+Sg49Hyhjz7Z1WUMVP/TaoT49Cc9XXvhYPPI ombvUZO+gfrw5P/Z2iXTaKFF2VVpQKj1+4x8oHbEdiawv+QOwY6ldQcxw7w9c85Gf6xKSv9 9Pvcw/Up9fiHOSszFU/isF9/2RLOJWs9AMCSyBk7W4KARe+EVMzlmMQ7PKtjBl1QP0djxVW Icc7lIWF6K71NuiY5JZvBYf7A4JT+WLXsPrGc5bo9gYhCDI35hkbIop5GJpA== Received: from [172.20.0.4] (unknown [172.20.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 8FFB6690D4C; Sat, 3 Jan 2026 02:12:08 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1767399095; b=Lk2S9UIXlmX0Kd3ObavV7gjCkwHyBqv7WP9uJRI7JHZ++SV5kqNBWPx+KE5ca9coi2Dwc 1rQDVU1o9sumZ8KtW8Fidn5dmTbFoKgjZQNZUD/T2ux6swIoZus7HcyjDCZLP8gWEP9H+f0 /eZxP0H/ug1MDKikFmfT9CdlsJP92eNTzt3Y50nOfC2EMKcLHl73bpa3yCw0uU8ViMwnsNG IoVJhD08s4ix64vKPC/aIPQxSRrZBzoBroPwAlc92wGU0iITpUwZX0e//Q/WChXZ7Sy4h0K 35N+yUtsjmPqHnpFX/KExfwhIyzr3cdlJ3pmYhGWrRxxAe89Duv5ShiTrPtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1767399095; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=Tr8PvwHCWPlOIVgxMFGSpz0Wy8yT1e96I1X7wgTJsrY=; b=HnqoH1ARGP32psJaXjuOLiWUAA9P9orFppwWFhA4BB2CaEBMZ9qgU4xOQSnB5UTO1t7MW nRkR4iMWEWB+mZeM6WWTsWEz9utmV9uWg1gJpDhXPVjlqQD8o5NOc7TysNkbRBStpBVacEx 0oKD7ux06jQ2tIAzW+HdJRQ8R8JcPL6LbxeyHAH1Mn7JAYeX3/XbhA6AX/bYfqZiNijEqah 7cF0fgrgQustrP6RWRU2ZLz+13XkDxpB+igKuxJhg8ouX6n4R8l/mAC0QV0VszieD0UVxVi rdLr/6rml0+3rlDHpp3gQlyB8Q6uffc7Yb5QSHDVcwqKDDnICKszKrzM4RiA== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=niedermayer.cc; arc=none; dmarc=none Authentication-Results: ffmpeg.org; dkim=pass header.d=niedermayer.cc; arc=none (Message is not ARC signed); dmarc=none Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 72C8468E72D for ; Sat, 3 Jan 2026 02:11:16 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 3D5F01FCFB for ; Sat, 3 Jan 2026 00:11:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1767399073; 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=c+xFaAFenYGiOy2szDs56oG1csfZdbAQDcR/cv1WKjY=; b=Xf1JalglkPQuxiQIMxGI1vk393sTOeaL1SFubHokk3iQnRMIMkQXYzbITj3es6x4d9Nip/ WC7zcYgizlixcHgAze1h9RnGdn5rrkhbBBA1G3knfP0zAkNONbvrzD4ogSzJxPK2Y2Ifbb qsWaBucEbS2INfURespbiKu5Z1O+6cG18X0Q3n7Cyr+hWmQphEp96hwoV3E7lc1KRieZpv 1qlfjJMmOEvipTIo4jzKoB555eDE2q5WMMWSoHy1qlCNG5wi3lVwAmZZDoMUegEIxK/KTc FEqthXapRi/hLqryv5VAw2wdkXeRjOlvfpF19OB8CPnlx73IMDqiCJVHCTeDeg== Date: Sat, 3 Jan 2026 01:11:12 +0100 To: FFmpeg development discussions and patches Message-ID: References: <20251231130812.100653-1-Jason@zx2c4.com> MIME-Version: 1.0 In-Reply-To: <20251231130812.100653-1-Jason@zx2c4.com> X-GND-Sasl: michael@niedermayer.cc X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdeltddtiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdlfedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeiiedrhedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieeirdehtddphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhqihgupeefffehhfdtudfhvefhuedpmhhouggvpehsmhhtphhouhhtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh Message-ID-Hash: RMHHHPMU7DFIB4XSYP7IB4OGW5VRXOJC X-Message-ID-Hash: RMHHHPMU7DFIB4XSYP7IB4OGW5VRXOJC X-MailFrom: SRS0=G4M/=7I=niedermayer.cc=michael@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] Re: [PATCH v2] avformat/wavenc: use RF64 when needed List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Michael Niedermayer via ffmpeg-devel Cc: Michael Niedermayer Content-Type: multipart/mixed; boundary="===============3311688992309527593==" Archived-At: List-Archive: List-Post: --===============3311688992309527593== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zLkBVOwYjMh3UcKj" Content-Disposition: inline --zLkBVOwYjMh3UcKj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Jason On Wed, Dec 31, 2025 at 02:08:12PM +0100, Jason A. Donenfeld via ffmpeg-dev= el wrote: > Currently if you encode a large wav, ffmpeg will hint after the fact > that the resultant file is corrupted, because traditional wav cannot > handle lengths greater than 32-bits. This isn't very useful; nobody > benefits from getting garbage files. >=20 > You can manually work around this by adding `-rf64 always`, which most > players have support for. Most people don't remember to do this until > after the fact when their file is corrupted, or they don't figure it out > at all and wind up using the w64 container instead. >=20 > And so that's what `-rf64 auto` is for. It uses the larger format when > needed, and if not, uses the traditional wav that is probably more > compatible. The result of using `-rf64 auto` is that you can add it to > every command line -- and should add it to every command line -- to get > either a normal small file, or a non-corrupt large file. >=20 > This is a very sensible default to have on, rather than just producing > corrupt files and having users scrambling for solutions, and then having > to do a potentially expensive reencode after. With `-rf64 auto` on by > default, the user always gets a readable good file. And for users who > sometimes want corrupt files, there still exists `-rf64 never` that can > be enabled. >=20 > The fate changes needed to be regenerated, though, because this does > change the size of the normal non 64-bit RIFF header, because the `-rf64 > auto` code path still makes room for it, even if it doesn't wind up > being used. Though some old buggy players relied on having fixed 44-byte > RIFF headers, those old buggy players actually haven't worked with > ffmpeg's wav files for a long time anyway, even in `-rf64 no` mode, > because ffmpeg adds the ISFT filed for the libavformat version. So this > patch shouldn't make any difference in terms of current compatibility. still breaks some fate tests: make fate-fifo-muxer-wav TEST fifo-muxer-wav --- - 2026-01-03 01:08:49.377174061 +0100 +++ tests/data/fate/fifo-muxer-wav 2026-01-03 01:08:49.371683543 +0100 @@ -1 +1 @@ -4dda5dcc7ecdc2218b0739a152ada802 +c9a1921dfda2531b52b48f268936e0d7 Test fifo-muxer-wav failed. Look at tests/data/fate/fifo-muxer-wav.err for = details. make: *** [tests/Makefile:323: fate-fifo-muxer-wav] Error 1 [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Republics decline into democracies and democracies degenerate into despotisms. -- Aristotle --zLkBVOwYjMh3UcKj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaVhenAAKCRBhHseHBAsP q+a0AJ4iqDmY4bh4X3GGiU5WY0O6F9HgeQCfSXBVny3mRlVlqV99/grVbG91I5Q= =x39T -----END PGP SIGNATURE----- --zLkBVOwYjMh3UcKj-- --===============3311688992309527593== 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 To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org --===============3311688992309527593==--