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 ESMTPS id 906B149B8F for ; Tue, 28 Jan 2025 22:24:49 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CE6CB68BAEA; Wed, 29 Jan 2025 00:24:45 +0200 (EET) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 75DE2689F02 for ; Wed, 29 Jan 2025 00:24:39 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id C88854441C for ; Tue, 28 Jan 2025 22:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1738103078; 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=EFPvwWiLqmZp/4yjD/+vC88KksfvrffK88scPvgH5ic=; b=kSsj2prQysRnvaR1Dum/JgG+tj3gP7I+2lGll1DkK1D61WhZTTNPY2GsuyTM1uvnUxzg7M 4UqFzLy90t7O5bHUYDeAl50PJGhDow+C+fAN0AEcvo7f5lgBYDFZKp/t2Br+3+WhieTn9J fp4mKmvPb+i3nAKMny5pKWG96j0fxYLyQeVbmWy7vO+Krz7phBSnD5lh79m8zsTMF1/0Se TvDj7FPQvJj55yQPBltyGkvz0rGdmqGBOdHwt4T0+e1LIJ4iJO4Yu4A+NeAqmZzWtzI42s ILE9DDWVt6RWVoEz2tCxGS49rN4zWJGd9dCwUF30QV36BmMryOQ2WIKxRyT/qw== Date: Tue, 28 Jan 2025 23:24:38 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250128222438.GZ4991@pb2> References: <20250128142421.337241-1-michael@niedermayer.cc> <20250128142421.337241-2-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduvdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeelkeeggfffiedufeejueffjeduhedttdduledtheevveevtdeiueelhfdtuedtkeenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/hls: .ts is always ok even if its a mov/mp4 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="===============7136109309589470644==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============7136109309589470644== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HH1UzF4ObmgpgCiL" Content-Disposition: inline --HH1UzF4ObmgpgCiL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Tue, Jan 28, 2025 at 10:12:30PM +0200, Jan Ekstr=C3=B6m wrote: > On Tue, Jan 28, 2025 at 4:24=E2=80=AFPM Michael Niedermayer > wrote: > > > > Maybe fixes: 11435 > > >=20 > Do I understand correctly that the root issue that's being attempted > to be fixed by the initial patch set is that unusual demuxers were > possible to have been probed and opened through the HLS meta demuxer? > In that case I would say that instead of trying to make very nebulous > and easily breakable extension based checking, maybe this demuxer > should just limit its default usable input formats? >=20 > To my knowledge the officially utilized container formats for HLS are > MPEG-TS, MP4-likes (fragmented mp4) and raw audio formats such as AAC, > MP3 or AC-3. One could check what hls.js or ExoPlayer support, and > that should be a generally mostly encompassing thing that does not > depend on what extensions are in use. Adding an AVOption to add > additional formats without code changes would then allow for some > outliers to be added by users. our allowed_extensions list kind of does this already now because with extension_picky (the default now) the probed format must itself declare an extension thats on allowed_extensions so tty can not be used with hls unless one adds it to allowed_extensions completely independant of what extension the files have also any demuxers not listing any extensions can not be used with extension_picky, excpt mpegts which is added as a special case The idea of extension_picky is that everything has to match its not just a check on the file extension of the file (well at least thats the idea until the next security researcher finds a way around it) thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Breaking DRM is a little like attempting to break through a door even though the window is wide open and the only thing in the house is a bunch of things you dont want and which you would get tomorrow for free anyway --HH1UzF4ObmgpgCiL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ5lZIgAKCRBhHseHBAsP q7CGAJ0Rh+kic7qMwHL+hJ5FhroE/Rx1YQCfe5VyPTWSVeA2Wm0f94t+bmGnPjM= =9zIx -----END PGP SIGNATURE----- --HH1UzF4ObmgpgCiL-- --===============7136109309589470644== 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". --===============7136109309589470644==--