From patchwork Fri Aug 26 09:31:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Liu X-Patchwork-Id: 305 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.134 with SMTP id o128csp255531vsd; Fri, 26 Aug 2016 02:31:40 -0700 (PDT) X-Received: by 10.28.197.129 with SMTP id v123mr2624856wmf.70.1472203897655; Fri, 26 Aug 2016 02:31:37 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id j77si18664565wmd.76.2016.08.26.02.31.35; Fri, 26 Aug 2016 02:31:37 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1B717689A46; Fri, 26 Aug 2016 12:31:31 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 684E8689A46 for ; Fri, 26 Aug 2016 12:31:23 +0300 (EEST) Received: by mail-qk0-f172.google.com with SMTP id t7so70793557qkh.1 for ; Fri, 26 Aug 2016 02:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=KajjghZ0L/lIItE3xqX1BXDL/LLAjk/X479CPuZchEs=; b=POVIT3droognz//OCbvhS2WEqok3JK9k/OKPV1wwJHfzvO7OiWQhGR8tiK9OcX62Wl yOu+TyNrnd+EYTfJ6jTPNMJgF/ofks3fjfA7F/oB79UkV8rW71xV7kfDFDbGIBjk1Slq aLVL5XKoavWL7DRQwbeYdS7ModosbZDKRFgGEeIRQ4/FVvFwzwp5Ci9BPp+fn3LXqpP+ Di+oPug/xHioeXz420B+ZZwLvzhtHSRXLr66foeeOlmb5oU3ruMI9U57MKXjMBQLCmG4 PLvkSp+H27iC9KmA+I0fGXsn3XoyPHWkgtLBsSt/tDuwndTL66M2nwzC7XXv8Q5DygaR UJaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KajjghZ0L/lIItE3xqX1BXDL/LLAjk/X479CPuZchEs=; b=GqdGC++aMUJMBVf+M0DVMHobaQ/cL07+pxK4EZHcIIZvDdMwYImQzatlXTzTU1OR1S JehiR0n8h0kiCK1DWdkUQgNdzHdqGfQAsLOqfY/SiHapSP3/ipj5nNzefqb0WLpPbI0/ FPbNV1bpdRo+cKLcO4Ydf7wwfkLQl1Cg7ncvM50f443QQ16wCUtLod3Rym5rVPFXwHGI 5+vbGgU2GauHDQNaL8trE0FsSFzlJRmChKY4iRF89r/HFvvU+EvTHdgh+O3I40ivfvlY K3di9SR7N0SWJhUwy4TkRA7RYloRDatM+MWetzGccpDDGonB7iA8wm9l6iZJoQZxe/ZO 6/PQ== X-Gm-Message-State: AE9vXwPMQ0K5x17GK5OSHnX3m2rIQnKuMu7xqbHxH5kdB1iv+FfeeXFNRlXogNaNf9I0FjtFSLJt3f0clUAD+g== X-Received: by 10.55.164.199 with SMTP id n190mr2099370qke.17.1472203885045; Fri, 26 Aug 2016 02:31:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.56.42 with HTTP; Fri, 26 Aug 2016 02:31:24 -0700 (PDT) From: Steven Liu Date: Fri, 26 Aug 2016 17:31:24 +0800 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.20 Subject: [FFmpeg-devel] [PATCH 2/2] add option hls_init_time document X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: LiuQi --- doc/muxers.texi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.7.4 (Apple Git-66) diff --git a/doc/muxers.texi b/doc/muxers.texi index 2548aeb..4db3809 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -357,6 +357,13 @@ segmentation. This muxer supports the following options: @table @option +@item hls_init_time @var{seconds} +Set the target segment length in seconds. Default value is @var{0}. +Segment will be cut duration is @code{hls_init_time} value for the +first m3u8 list segments, After update m3u8 to the end of the +first m3u8 list, @command{ffmpeg} will cut segments +at duration equ @code{hls_time}. + @item hls_time @var{seconds} Set the target segment length in seconds. Default value is 2. Segment will be cut on the next key frame after this time has passed.