From patchwork Fri Dec 7 11:56:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Zhao X-Patchwork-Id: 11329 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 E166244DC00 for ; Fri, 7 Dec 2018 13:56:27 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 26AFA68A8D5; Fri, 7 Dec 2018 13:56:18 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F162D68A8D2 for ; Fri, 7 Dec 2018 13:56:10 +0200 (EET) Received: by mail-pf1-f181.google.com with SMTP id h3so1865705pfg.1 for ; Fri, 07 Dec 2018 03:56:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BOoiYBOKOEtNa9bovd0KJjkxvMUHJOxj9Sv1lGB4TnM=; b=gaDNHFExi/AuTsQIwaq8ds93lt43WDatIVERancZPV5YzpXSKHsqz8vYqplnO/6+p3 tuVrdPlKA/AQK6JAM4JNtcbVAQkrUWV8y3sNDNppMky2Xi61gLPXuN2ZSVJSZ+EiY5f0 aJ/blInhzg0ZbsPPvU7pNYjkR1hLMNGvnYBIk1VZEj8+dEBi9bidtkhgtvubbQmK5oJe kkSMi8JVBGj6jVGScIk6321d6XoQFioWkOp5ay9GtB/aaXKHAeYzYHCZwv/JeUwEVGUC aL2JxI7raa6gA1WphnqVms7W66MNaU6wA74JmrdtgvHEQFLdEbQuE8sdK7eM1asJcoC8 MAgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BOoiYBOKOEtNa9bovd0KJjkxvMUHJOxj9Sv1lGB4TnM=; b=okah65QSoTmt1hMKiG2XNK9RP5QRXPtW8OQipHzmz6UeFjjz2srrxGyVSh9I2r7D7R saa1o8BXxihG7XG26CGLLTaFCY+ELiPYrYGBOxmhccEsaKwXFQHXTudl5/Hr/RCJwcQu j9zZuBLY5NgGkTxNa0LahgIHELUrbfdkp4G84Gpw/tPCsMfrLHiA6uCzjNwzL2vteUl3 rLjT/+KEPiON97TIvIaWJB9J2csLDSkaz4z2b1nKklbX97BK0vcIgevJavQdY45KiuRf Bz6vhO9c4Rw+UaNEM+It9g8720SZT5IQgVy05v1eCFELNM+ZJR0aJ+toRXkMd9Ytmp7c 0Opg== X-Gm-Message-State: AA+aEWaeTh3v7grNxUar9uCbqpeK2GSJVOIGBskaD3li+RFNBJTuXxcu XUPs+MzJHXAQ636YXh09SN97+skE0ag= X-Google-Smtp-Source: AFSGD/Uts06AmEwS6cz3MJfMajkHJkcqF9RkXAWslFX0UKaIHEXgNL1LBpkxQz9Gczhv0sXr8fe6+w== X-Received: by 2002:a63:9a09:: with SMTP id o9mr1625598pge.94.1544183778752; Fri, 07 Dec 2018 03:56:18 -0800 (PST) Received: from localhost.localdomain ([47.90.47.25]) by smtp.gmail.com with ESMTPSA id k26sm7227029pgf.65.2018.12.07.03.56.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 03:56:18 -0800 (PST) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Fri, 7 Dec 2018 19:56:01 +0800 Message-Id: <1544183761-31287-3-git-send-email-mypopydev@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1544183761-31287-1-git-send-email-mypopydev@gmail.com> References: <1544183761-31287-1-git-send-email-mypopydev@gmail.com> Subject: [FFmpeg-devel] [PATCH V3 2/2] doc: Add libsvt_hevc encoder docs 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 Cc: "Huang, Zhengxu" , hassene , Jun Zhao , Jun Zhao MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Jun Zhao Signed-off-by: Huang, Zhengxu Signed-off-by: hassene --- doc/encoders.texi | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/general.texi | 8 ++++ 2 files changed, 106 insertions(+), 0 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 4db7764..33efbef 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -1566,6 +1566,104 @@ Set maximum NAL size in bytes. Allow skipping frames to hit the target bitrate if set to 1. @end table +@section libsvt_hevc + +Intel Scalable Video Technology HEVC encoder wrapper. + +This encoder requires the presence of the headers and +library during configuration. You need to explicitly configure the +build with @code{--enable-libsvt}. The library is detected using +@command{pkg-config}. + +For more information about the library see +@url{https://github.com/intel/SVT-HEVC.git}. + +@subsection Options + +The following FFmpeg global options affect the configurations of the +libsvt_hevc encoder. + +@table @option +@item vui +Enables or disables the vui structure in the HEVC elementary +bitstream. 0 = Off, 1 = On + +@item hielevel +Set hierarchical levels. Can assume one of the following possible values: + +@table @samp +@item flat +none hierarchy level +@item 2level +2-level hierarchy +@item 3level +3-level hierarchy +@item 4level +4-level hierarchy +@end table + +@item la_depth +Set look-ahead depth, depending on bit rate control mode @option{rc}, When +bit rate control mode is set to vbr it's best to set this parameter to be +equal to the Intra period value (such is the default set by the encoder), +when cqp is chosen, then a look ahead is recommended. + +@item intra_ref_type +Set intra refesh type. Can assume one of the following possible values: + +@table @samp +@item cra +open group of pictures +@item idr +closed group of pictures +@end table + +@item preset +A preset defining the quality vs density tradeoff point that the +encoding is to be performed at.(e.g. 0 is the highest quality mode, +12 is the highest density mode). + +@item profile (@emph{profile}) +Set profile restrictions. Can assume one of the following possible values: + +@table @samp +@item main +main profile +@item main10 +main10 profile +@end table + +@item rc +Set bit rate control mode. Can assume one of the following possible values: + +@table @samp +@item cqp +cqp mode +@item vbr +vbr mode +@end table + +@item qp +Initial quantization parameter for the intra pictures used when +@option{rc} is cqp mode. + +@item sc_detection +Enables or disables the scene change detection algorithm. + +@item tune +Set quality mode. Can assume one of the following possible values: + +@table @samp +@item sq +subjective quality mode +@item oq +objective quality mode +@end table + +@item bl_mode +Enables or disables Random Access Prediction. +@end table + @section libtheora libtheora Theora encoder wrapper. diff --git a/doc/general.texi b/doc/general.texi index d883240..a071bfd 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -196,6 +196,14 @@ constrained baseline profile and CABAC.) Using it is mostly useful for testing and for taking advantage of Cisco's patent portfolio license (@url{http://www.openh264.org/BINARY_LICENSE.txt}). +@section SVT-HEVC + +FFmpeg can make use of the SVT-HEVC library for HEVC encoding. + +Go to @url{https://github.com/intel/SVT-HEVC.git} and follow the instructions +for installing the library. Then pass @code{--enable-libsvt} to configure to +enable it. + @section x264 FFmpeg can make use of the x264 library for H.264 encoding.