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 EB0EE4CE66 for ; Fri, 13 Jun 2025 20:28:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id F272A68CAAF; Fri, 13 Jun 2025 23:28:40 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 90A1F68B47A for ; Fri, 13 Jun 2025 23:28:34 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id E4D7DE3A01 for ; Fri, 13 Jun 2025 22:25:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F1EdW2WeshDr for ; Fri, 13 Jun 2025 22:25:35 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id 7D7D5E31B1 for ; Fri, 13 Jun 2025 22:25:35 +0200 (CEST) Date: Fri, 13 Jun 2025 22:25:35 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <53b693320f1cf07ee6094342a60002bc9cfc3d79.1749794067.git.ffmpegagent@gmail.com> Message-ID: References: <53b693320f1cf07ee6094342a60002bc9cfc3d79.1749794067.git.ffmpegagent@gmail.com> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 05/10] doc/muxers: Add documentation for segment_limit option 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 Fri, 13 Jun 2025, softworkz wrote: > From: softworkz > > Signed-off-by: softworkz > --- > doc/muxers.texi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/doc/muxers.texi b/doc/muxers.texi > index 6d5c17b4cc..1cca8da1fb 100644 > --- a/doc/muxers.texi > +++ b/doc/muxers.texi > @@ -3510,6 +3510,13 @@ packet written. Defaults to @code{0}. > Write segments to files with a .tmp extension. Each file is renamed to its > actual name on completion. This can help to prevent segment files from > being accessed before they are complete. Disabled by default (@code{0}). > + > +@item segment_limit @var{number} > +Stops after the specified number of segments has been generated. > +This can be helpful to fill gaps in a range of already generated segments, > +which is difficult to achieve otherwise as it would either cause the last > +segment to be incomplete or to overwrite an existing segment with a partial > +data. Default is @code{0} - no limit. You can merge the documentation patch with the feature patch, there is no need to split. What is not quite clear is that what is going to happen to the surplus data at after the last segment? Is it silently dropped? Because that would be unacceptable IMHO. Regards, Marton _______________________________________________ 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".