From patchwork Sat Jan 6 20:16:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Sabatini X-Patchwork-Id: 45510 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:2449:b0:199:85ec:e0df with SMTP id t9csp218379pzc; Sat, 6 Jan 2024 12:17:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCCLzbzJVifta3yhtk5bdwtPHpKw05e/JsnApfC8mvYIdqkNG/6Rjv9L9B9/kpbV3jQdyn X-Received: by 2002:a17:906:c289:b0:a28:ac22:7575 with SMTP id r9-20020a170906c28900b00a28ac227575mr3801033ejz.4.1704572229986; Sat, 06 Jan 2024 12:17:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704572229; cv=none; d=google.com; s=arc-20160816; b=GM3ThHpC9oLA4DaPUyMDDjDuIOzHD/hueCHb36p45MHqgTPeO4XQDTkB8FyTR5atYs zH8b7z6DnoQWwa1qcxwDDqA4ijpb+Uein+BsQm7U4WLiBNb61u4fM/yn2BTZPF+g9gAu 3MHxVzUsATy8tSqkRznmDUYxL9K6i7uDIuk4ZrGn/YofKt3//QSfmqjh5ZMoWHsbYd0r 3t9zN8IhthomeTJTogiFJfArXdBmRjdfOHNU5qLPURevSx6DJh45kjvUaHoGDynxGlMv Bpkb/g2UutA7GV97mbvdRTk7gU77eWatczmC3P3nP1RGQXVCt5hNHdw1ZHinDSBHuyFp 1luw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=OwKMDbxU/v0bwjsaFKM85lOphGQsANoeGN8cBeew3Ds=; fh=QdWxt2OToL83TTnLQn0lGhLakV7i1QyAJdC8te7qN0E=; b=BArzo72vkuTYsYXIGs1PJKWgQsWjrNfLCwj/0C6OEWZ+wZ2SmKBtXBgLjUy/JkEbxx mmjHjeIyutLjorGtqaMaQyHg0LjSXRExbCP2Bl8FiE+3wFjrdGO+M2gaI8LyGhM+mlq8 4qgPTE6Z9XDHwC8Rq4WjYWY8K0q2hD9Gt3N3RDbKmzoPoBxgU2srVjF89y+Nb4fFMyQW OtCCv0dD5r4AdXh5Q3/xVBf0qt9Dtpblf+4PzCfMy/IYFTWzY0xa1E9w/+ee6Jmthi+t rlIUyM+4Ca5zDizyIOcgtmKmPgKGnYxy44Vw4WzJshMjykh9/KbB2w0en+OlzsiInYa+ p2Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=Z1gmFBie; 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 sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id d25-20020a1709067f1900b00a2318055154si1720545ejr.753.2024.01.06.12.17.09; Sat, 06 Jan 2024 12:17:09 -0800 (PST) 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 header.s=20230601 header.b=Z1gmFBie; 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 sp=QUARANTINE 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 AD8B168CCCF; Sat, 6 Jan 2024 22:17:07 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7FBE068CA72 for ; Sat, 6 Jan 2024 22:17:01 +0200 (EET) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5572a9b3420so2802647a12.1 for ; Sat, 06 Jan 2024 12:17:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704572220; x=1705177020; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=tYlGIyPHhpqKyNF8cKfPtpPg6MNXwxoCkWWpatFuPGc=; b=Z1gmFBie8Dm0yfgtD/io/jVRJVFhB/A5LkhtG7nNMwx9bWVq0j5lIreKvczT9acTyT zA2OM3r/kp+1u9sjc1hj9yeBQFtajezOrkG/OsM7xIgp7oa5m5R/cfcIWtNn1QOLoC3w QEtuIrpw7QxRQdGCZI1nMMiNSRnWNGliC34gkSMI8XyMj9yxPaqSPIswlsZuW1LpoOM6 DB/dhKiYKd5BbzA7Ka4LK4RHz+YQugV164vdjwZvOFDkmFBsqECTw0rJyhTWTGQbPcs5 mSvNH+mZkGVwcNix3QGNQh3h8WJPZrR8W1OawUgWBCh7h10avG8I+97Rt+zFeqXLkHt4 wORA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704572220; x=1705177020; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tYlGIyPHhpqKyNF8cKfPtpPg6MNXwxoCkWWpatFuPGc=; b=YMsehSoLlY5/PrBCU04MXnd9V53Xgo5sSwypqib9JILwMBIfRyKIuw0V642IvRXOgX 32+8wP65mNZv5vkGljQNrRS/9OeIVCtvS5aFj7quYI6TN0Gx2YoxIiXFKbViw9Zvn4w8 D456WDp82m5hXxKldZV/oJNYY4czyKtJYKhT6Ve6+ONNUSVLDE46sy9sGS9wvFv5NbH+ RZ311Neubk7jgm5Owe8wRNyYERG2cyTFX3AvFlfvaaRhIgSwMj838RPf+cZX2gg8ULUS Y7FGgoDmbjIS8aWcFNdvVMy2+e43Km4y1cW7iEP730H1pnGmWfHODAlaUs4g6a3LiHXH rBLA== X-Gm-Message-State: AOJu0YyVWxU6vqYwHtOGE766Sa3WE5jH9n5eudXiiITVI+O52CCo15wY OIR7MemoW1UnMNwsKVPwfn9jnCXrpq8= X-Received: by 2002:a17:907:72c1:b0:a23:690e:48bf with SMTP id du1-20020a17090772c100b00a23690e48bfmr4536121ejc.12.1704572219993; Sat, 06 Jan 2024 12:16:59 -0800 (PST) Received: from mariano (dynamic-adsl-84-220-189-10.clienti.tiscali.it. [84.220.189.10]) by smtp.gmail.com with ESMTPSA id a16-20020a05640233d000b005550192159bsm2422075edc.62.2024.01.06.12.16.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 12:16:59 -0800 (PST) Received: by mariano (Postfix, from userid 1000) id BD5DEBFCDC; Sat, 6 Jan 2024 21:16:58 +0100 (CET) From: Stefano Sabatini To: FFmpeg development discussions and patches Date: Sat, 6 Jan 2024 21:16:58 +0100 Message-Id: <20240106201658.289376-1-stefasab@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] doc/muxers: add apng muxer 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 Cc: Stefano Sabatini Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: pZNDu0z3UHYH --- doc/muxers.texi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 75552f0d03..5608638e89 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -667,6 +667,32 @@ Ubisoft Rayman 2 APM audio muxer. It accepts a single ADPCM IMA APM audio stream. +@section apng +Animated Portable Network Graphics muxer. + +It accepts a single APNG video stream. + +@subsection Options +@table @option +@item final_delay @var{delay} +Force a delay expressed in seconds after the last frame of each +repetition. Default value is @code{0.0}. + +@item plays @var{repetitions} +specify how many times to play the content, @code{0} causes an infinte +loop, with @code{1} there is no loop +@end table + +@subsection Examples +@itemize +@item +Use @command{ffmpeg} to generate an APNG output with 2 repetitions, +and with a delay of half a second after the first repetition: +@example +ffmpeg -i INPUT -final_delay 0.5 -plays 2 out.apng +@end example +@end itemize + @anchor{asf} @section asf