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 9780345AAB for ; Sun, 14 May 2023 23:06:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3ACD168BFA5; Mon, 15 May 2023 02:06:26 +0300 (EEST) 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 BD8C768BDBC for ; Mon, 15 May 2023 02:06:19 +0300 (EEST) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id EEAE41BF205 for ; Sun, 14 May 2023 23:06:18 +0000 (UTC) Date: Mon, 15 May 2023 01:06:17 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230514230617.GL1391451@pb2> References: <20230514194129.18840-1-anton@khirnov.net> <20230514213944.GK1391451@pb2> MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] Revert "avformat/hls: fail on probing non hls/m3u8 file extensions" 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="===============3419555153161940315==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3419555153161940315== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9H9VVCLI5QJPfUsZ" Content-Disposition: inline --9H9VVCLI5QJPfUsZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 15, 2023 at 12:40:50AM +0200, Kacper Michajlow wrote: > On Sun, 14 May 2023 at 23:39, Michael Niedermayer > wrote: > > > > On Sun, May 14, 2023 at 09:41:29PM +0200, Anton Khirnov wrote: > > > This reverts commit 6b1f68ccb04d791f0250e05687c346a99ff47ea1, which > > > broke many streams in the wild > > > > > > Fixes #10353. > > > > This change violates a SHOULD in rfc8216 4. Playlists > > > > Each Playlist file MUST be identifiable either by the path component > > of its URI or by HTTP Content-Type. >=20 > either/or >=20 > > In the first case, the path MUST > > end with either .m3u8 or .m3u. >=20 > First case, path component with valid extention. >=20 > > In the second, the HTTP Content-Type > > MUST be "application/vnd.apple.mpegurl" or "audio/mpegurl". >=20 > Second (OR) case for URI with Content-Type. >=20 > So current FFmpeg HEAD violate RFC, as it should allow URI with Content-T= ype. yes, code is buggy, i didnt see teh report before today night,=20 and was doing too much non ffmpeg crap last 2-3 days so didnt see it before everyone is upset, noone mailed me, noone posted a good fix, noone reverted ill post something before going to sleep today probably but i likely wont have the time to properly test it before bed (testcases with ffmpeg / ffplay btw makes it easier to test than with links to random webpages) thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Old school: Use the lowest level language in which you can solve the problem conveniently. New school: Use the highest level language in which the latest supercomputer can solve the problem without the user falling asleep waiting. --9H9VVCLI5QJPfUsZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZGFpZQAKCRBhHseHBAsP qxcpAJsG0XqY3fbR2e7bKbTCdOkqLtjDnwCdGb6HqohUQPZkWmRgig+kVTcEC1I= =hlgI -----END PGP SIGNATURE----- --9H9VVCLI5QJPfUsZ-- --===============3419555153161940315== 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". --===============3419555153161940315==--