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 66DB545A99 for ; Sun, 14 May 2023 21:59:10 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1CDDB68BF93; Mon, 15 May 2023 00:59:07 +0300 (EEST) Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id ADB1C6806D7 for ; Mon, 15 May 2023 00:59:00 +0300 (EEST) Received: by mail-yb1-f175.google.com with SMTP id 3f1490d57ef6-b9df9f39e11so2145928276.0 for ; Sun, 14 May 2023 14:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684101539; x=1686693539; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vQVs2O+hhb+A1huezVlAqlYaOa/LKtRrpJxtHy4UnyE=; b=cmO9AgE0NmdiaHaOjwl/fw/UFECkxoawddXZ+cn3Gm6cevRmHFlPfozOjOSj9vySn2 GajWA0J9md+AGaQErqMsmj+g6ZXfy3STwlLLTuKC6HaYvgGoSUeItZT7ma+CNuAHUM43 4KPzRsT5jpiDHCzujEumuMBAhkLuzUNN00bj3YaUmrxIObMtsEzMuQKyv69OnwXi5zO9 FUtd8TsTKKuEF0SurqLoirqFjV+0/vOGshhemtFHpB7Yu5zU59wbfPqTm7XJc3Hvvu1T 3nmv0IXcDfOC4kud384nHJOmO90Ja8psyXn0WbSEjov/Muyou4PCALagGvw9dVuIKsop Wo7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684101539; x=1686693539; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vQVs2O+hhb+A1huezVlAqlYaOa/LKtRrpJxtHy4UnyE=; b=JHIpflqHji085bxQiSRWb+hbweKqEKBuIPeFutamzNM5d2Febczcq6wjqItunrlfMP C/4eKIN70ho55pTK16QHgaaL1/12riTmG6Z2SyZFB280qElUvYRi94ZGeCbhOIEL9sr6 7bEzrQWvUkAZB+grtTFx22qcUd2Q8nATA/dPa9Lu1BmecKKdERNim450bOE4qbu8ruWP uxn47tzVGS/9xEr6a9mta/qoGDUohr5DAPe2gala3zsdjIm3eRM3ZBBi6E76rDMSNUWx P0q5RV+9+pd6WrF0I6OkKrPIW/BrEIMBEw7R120T8t+FfumRt5DKqG3+XltwLD3WIron f9kw== X-Gm-Message-State: AC+VfDxeNm76an8rstQs2dymw5v1axI6S2y8Vxzcv/eqyHbX31um2uK2 A1f8XBzYNtJJdh5GIofMoaVhVD1WTVo= X-Google-Smtp-Source: ACHHUZ5BzfMwD/fQv1LlPkYCyrzCVduWhbIPjJca18KRS4w2TicZH9twUoWxX/XW/Iuv4syibKvqQQ== X-Received: by 2002:a25:db01:0:b0:ba7:b66a:e876 with SMTP id g1-20020a25db01000000b00ba7b66ae876mr1686038ybf.6.1684101539270; Sun, 14 May 2023 14:58:59 -0700 (PDT) Received: from [192.168.1.35] (c-98-224-219-15.hsd1.mi.comcast.net. [98.224.219.15]) by smtp.gmail.com with ESMTPSA id j18-20020a25ec12000000b00ba706b5e18esm1928081ybh.43.2023.05.14.14.58.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 May 2023 14:58:58 -0700 (PDT) Message-ID: <45d6caf2-e92f-a787-4972-56aad483ee80@gmail.com> Date: Sun, 14 May 2023 17:58:58 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US-large To: ffmpeg-devel@ffmpeg.org References: <20230514194129.18840-1-anton@khirnov.net> <20230514213944.GK1391451@pb2> From: Leo Izen In-Reply-To: <20230514213944.GK1391451@pb2> 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 5/14/23 17: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. In the first case, the path MUST > end with either .m3u8 or .m3u. In the second, the HTTP Content-Type > MUST be "application/vnd.apple.mpegurl" or "audio/mpegurl". > > Clients SHOULD refuse to parse Playlists that are not so identified. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Except that commit doesn't check the mimetype. Some CDNs such as Azure Media Services, only use mimetype to identify HLS streams, and not file extensions. See: https://learn.microsoft.com/en-us/azure/media-services/latest/encode-dynamic-packaging-concept This commit breaks more than it helps. - Leo Izen (Traneptora / thebombzen) _______________________________________________ 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".