From patchwork Mon Nov 5 14:52:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Thompson X-Patchwork-Id: 10934 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id E01CD44C9AA for ; Mon, 5 Nov 2018 16:52:55 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4FB0668A875; Mon, 5 Nov 2018 16:52:27 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0311068A533 for ; Mon, 5 Nov 2018 16:52:21 +0200 (EET) Received: by mail-wm1-f67.google.com with SMTP id a8-v6so8329269wmf.1 for ; Mon, 05 Nov 2018 06:52:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jkqxz-net.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=L94uxVF7oIDMsVTWvUEjAOiQypUVFJ7hv5tlpoa3+JQ=; b=uE9PLVsVPlThwH0ZyvimNwMJMV4GYxJrsmrHpEbLcQUagQBEX9vALgOSdkZ6XRRU1v fgYqbv4V6koRNkRdcAcM11O+gk6jTn+V1QtXmxzvXhev7oJqn7fpl4oGH087gF4rG5Rn UTINsXDg5p4Uq2pgQq6xK7nrToEo9qn6IUd5wxSo2KZc6dU3g4E/g5U8eB0Jzd4L1es6 GWM6TbeaC47MtEf0JRa0ixj4XF684Kho/6TeyHOZ1133veiatOkmNQRdIpiNtQzif6RE jTTz61HqmGnckl4brxHX7scdJAR4o0qXVQbm52m/QYv14Tz0/Y+fXuj87ZlXV6fLyt6o cnvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=L94uxVF7oIDMsVTWvUEjAOiQypUVFJ7hv5tlpoa3+JQ=; b=Tk0+mfz2MBmHDelHhkpb07P8/fjJGRo3c5txX8tScakje/EZVPKb3ueIzYKwTXnykz Jd7UtWUuBctx4VJzHAuzzpmn5PkuwdaX85jbQMFdF/YZSYzZ0yHCUDIKdepxs8JI67FX 0CJ9l4uzTi+k5QoVPNsPDRwm9w1njwhtdMs/oOPCPFagiOXQJQG/lsVhTZF5ES7xf79q gqwJmvU1C4Xz4XdOG6WQR74HRrHp9UHlJ0nsC2gtkEQhkbf3KIRMlVkjjy6sTZ5DOhSi cdO8o0t9vmKp/jwpUtYxMmwxSxSBAIv9CDheSQGdfy97ccPpCyO6NoLrhITjQ/G5TbM9 L/fA== X-Gm-Message-State: AGRZ1gKwrWq6A+EpYXWkmpXkz2J/gTeSWKlF7w2Gyis6JdfUcXJlJo// Fojbe4owWFHmUgXokOiAsb/WPwzGx10= X-Google-Smtp-Source: AJdET5d0ROmU4ZKzSjLa1qWD0DOS0+HL7xQimhqeF7cSydFVDoFBpV2US/zgj48TzMlUQq85QiCMcw== X-Received: by 2002:a1c:7dd7:: with SMTP id y206-v6mr6865521wmc.78.1541429574196; Mon, 05 Nov 2018 06:52:54 -0800 (PST) Received: from rywe.jkqxz.net (cpc91242-cmbg18-2-0-cust650.5-4.cable.virginm.net. [82.8.130.139]) by smtp.gmail.com with ESMTPSA id j189-v6sm3066847wmf.18.2018.11.05.06.52.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 06:52:53 -0800 (PST) From: Mark Thompson To: ffmpeg-devel@ffmpeg.org Date: Mon, 5 Nov 2018 14:52:45 +0000 Message-Id: <20181105145246.1157-2-sw@jkqxz.net> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181105145246.1157-1-sw@jkqxz.net> References: <20181105145246.1157-1-sw@jkqxz.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/3] doc/encoders: Add libaom-av1 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" --- Updated to add some more explanation of the rate control mode selection. doc/encoders.texi | 108 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 1ca0ef1543..f2e4199017 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -1370,6 +1370,114 @@ makes it possible to store non-rgb pix_fmts. @end table +@section libaom-av1 + +libaom AV1 encoder wrapper. + +Requires the presence of the libaom headers and library during +configuration. You need to explicitly configure the build with +@code{--enable-libaom}. + +@subsection Options + +The wrapper supports the following standard libavcodec options: + +@table @option + +@item b +Set bitrate target in bits/second. By default this will use +variable-bitrate mode. If @option{maxrate} and @option{minrate} are +also set to the same value then it will use constant-bitrate mode, +otherwise if @option{crf} is set as well then it will use +constrained-quality mode. + +@item g +Set GOP size (maximum distance between key frames). + +@item qmin qmax +Set minimum/maximum quantisation values. Valid range is from 0 to 63 +(warning: this does not match the quantiser values actually used by AV1 +- divide by four to map real quantiser values to this range). Defaults +to min/max (no constraint). + +@item minrate maxrate bufsize rc_init_occupancy +Set rate control buffering parameters. Not used if not set - defaults +to unconstrained variable bitrate. + +@item threads +Set the number of threads to use while encoding. This may require the +@option{tiles} option to also be set to actually use the specified +number of threads fully. Defaults to the number of hardware threads +supported by the host machine. + +@item profile +Set the encoding profile. Defaults to using the profile which matches +the bit depth and chroma subsampling of the input. + +@item color_range color_primaries colorspace color_trc +Set colour properties. Defaults to using the properties from the input, +if available. + +@end table + +The wrapper also has some specific options: + +@table @option + +@item cpu-used +Set the quality/encoding speed tradeoff. Valid range is from 0 to 8, +higher numbers indicating greater speed and lower quality. The default +value is 1, which will be slow and high quality. + +@item auto-alt-ref +Enable use of alternate reference frames. Defaults to the internal +default of the library. + +@item lag-in-frames +Set the maximum number of frames which the encoder may keep in flight +at any one time for lookahead purposes. Defaults to the internal +default of the library. + +@item error-resilience +Enable error resilience features: +@table @option +@item default +Improve resilience against losses of whole frames. +@end table +Not enabled by default. + +@item crf +Set the quality/size tradeoff for constant-quality (no bitrate target) +and constrained-quality (with maximum bitrate target) modes. Valid +range is 0 to 63, higher numbers indicating lower quality and smaller +output size. Only used if set; by default only the bitrate target is +used. + +@item static-thresh +Set a change threshold on blocks below which they will be skipped by +the encoder. Defined in arbitrary units as a nonnegative integer, +defaulting to zero (no blocks are skipped). + +@item drop-threshold +Set a threshold for dropping frames when close to rate control bounds. +Defined as a percentage of the target buffer - when the rate control +buffer falls below this percentage, frames will be dropped until it +has refilled above the threshold. Defaults to zero (no frames are +dropped). + +@item tiles +Set the number of tiles to encode the input video with, as colums x +rows. Larger numbers allow greater parallelism in both encoding and +decoding, but may decrease coding efficiency. Defaults to the minimum +number of tiles required by the size of the input video (this is 1x1 +(that is, a single tile) for sizes up to and including 4K). + +@item tile-columns tile-rows +Set the number of tiles as log2 of the number of tile rows and columns. +Provided for compatibility with libvpx/VP9. + +@end table + @section libkvazaar Kvazaar H.265/HEVC encoder.