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 B749348EA3 for ; Sat, 30 Mar 2024 14:49:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6921A68D39F; Sat, 30 Mar 2024 16:49:43 +0200 (EET) Received: from nef.ens.fr (nef2.ens.fr [129.199.96.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9926468D33C for ; Sat, 30 Mar 2024 16:49:36 +0200 (EET) X-ENS-nef-client: 129.199.129.80 ( name = phare.normalesup.org ) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef.ens.fr (8.14.4/1.01.28121999) with ESMTP id 42UEnZ5i027235 for ; Sat, 30 Mar 2024 15:49:35 +0100 Received: by phare.normalesup.org (Postfix, from userid 1001) id 9759429547; Sat, 30 Mar 2024 15:49:35 +0100 (CET) Date: Sat, 30 Mar 2024 15:49:35 +0100 From: Nicolas George To: FFmpeg development discussions and patches Message-ID: References: <6f6d79bb1b7421e409b74e767d5dc07bf18241fe.camel@haerdin.se> <32b802fec68dea20c8744edf2e4aab80d3999f62.camel@haerdin.se> <20240329233557.GS6420@pb2> <87e6b2eaf3c3a2b98b693cbefd2c719403f33a83.camel@haerdin.se> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Sat, 30 Mar 2024 15:49:35 +0100 (CET) Subject: Re: [FFmpeg-devel] [PATCH 2/3] lavf/srtdec: Permit streaming input 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: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Tomas H=E4rdin (12024-03-30): > Players can implement sorting if they wish. API break. > One potential solution is to do this style of parsing when the input is > non-seekable. But then we have the silly situation where streamed and > non-streamed behavior differs considerably. Sure, better break both cases than only one. > Finally I will note that sorting does not happen when subtitles are > muxed in say mkv or avi, so the behavior is not even consistent across > demuxers that support subtitles. AVI or MKV demuxer do not sort their packets because the packets are supposed to be already sorted; ASS demuxer sorts its packets because there is no guarantee the text are sorted in the file. [exploding head emoji] -- = Nicolas George _______________________________________________ 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".