From patchwork Fri Dec 30 17:08:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moritz Barsnick X-Patchwork-Id: 1992 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.89.21 with SMTP id n21csp2935231vsb; Fri, 30 Dec 2016 09:08:54 -0800 (PST) X-Received: by 10.194.41.193 with SMTP id h1mr32231676wjl.181.1483117734005; Fri, 30 Dec 2016 09:08:54 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id c63si59280701wmf.97.2016.12.30.09.08.53; Fri, 30 Dec 2016 09:08:53 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0A74C689751; Fri, 30 Dec 2016 19:08:42 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D7DFD68045C for ; Fri, 30 Dec 2016 19:08:35 +0200 (EET) Received: from paradise.fritz.box.fritz.box ([80.144.11.60]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LeeNW-1csF9m0wv8-00qQei; Fri, 30 Dec 2016 18:08:36 +0100 From: Moritz Barsnick To: FFmpeg development discussions and patches Date: Fri, 30 Dec 2016 18:08:14 +0100 Message-Id: <29dcc737048bd133618c9ac16e7ad0f9665c808a.1483105395.git.barsnick@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: X-Provags-ID: V03:K0:frL22fKdOUmKdLUJMJ9fYfWcrdoX40NBG1rflq7DjQSMgodRLEE M8P3dcQzJL9Z0DdCUexK7PH7HqRNQivfBw8nnAj9Vj3hKX51gtKMHFkf7z6ixqFi43KLYw+ duhiGUlxH2bnS3y6qb0H3+qQUTgvcFB4Tpst2FF/rPzunmZm4tJWBiv6AEC6zL+vaT71ier RfDwEmzzncf/8R2y2RpwA== X-UI-Out-Filterresults: notjunk:1; V01:K0:U0wTpjhT0iM=:VEMIAmxQ22EdzxjRuK0q8d u52eeQ/1EjntoMjj5iKbqeO+TG6SrJIHXMsOfID+29BgEo/hdZ33LGQdn9+oWPS39Og9ocWRd Ww3zZhjoeu3uXmwKeYnjKzPXruyLEJfcHDoLcxhjiBqmMx3ZX6ratKt4XvHTtCR/NBctt57oQ 9fRCVoH/uKSiSeKAXYutFnDwG49ga/IJnYq2N9+ho1S8RuiZ5JhAucu5hvUb3HkKzPWsNR+8R ARZPWXYLy1hrDuNXK/TrQw6MDOkzK1RL59gdxDS//h9ONVKkqskEqMjp+qVYofdFR+im0NXrS HMzbrNhFhumSIFyM94P5SgSEx7QtSr6/v60ijpPD4i7POEpvigDR/CY2lqBWUo6qYK3WsRfqS c2rdNaL20Ua8ZJhiEyJTYzo3P/XyoxaYa+lcGpQ0pFvYWQq/C/q0J7MV00jL4rDu1zus4suKZ KFDFE+qU83nAPBTkG+qk3yhQwBnMsiipFO/pqWKfCaysyCj97B9p4WcHYI7ZQJ8xZ342M3GP2 CRBq+fkXCS37BS7BoAM+Pfn2yQakIDk10Sbk5VNmVDTgyMgAZl1sKKWOmOhKnXGg00r1Znx1J uM2/UqCyM9yKxWNOPGtCVsWVKNV96erUuxI5QuJhBBTq65xePC9DFpCithJfbAL6f4k+sIjgh j9SjrM2H9sfPz3kpsRzbRLeizDgTRInP9oe8cE9ofmBShHgRDnuOUPkCfQsLbEELilgmzU6rt cp6Sqm6axFHXemAbfjwvKDVzQAz+jqVCj9EntmoJJ4Mv0sXS+2bSc4uA27oTPOzCO2uksHTmD GmnXCy1CZ+LJgTg71JDBJUte5agpnxW/o6Jlk1N2OD2HCCbwX/U5t7QCv4HFcSbLG+fOftg3k 5MNje7GzrOpQPwIH3Fu29818gBPgU/60nO5tBbjMSjioxwZjs03nPQujSQw3WuBNBCTPIgk9G oa3W3hYM9yc6X4FQKArPNVT6dTwpby0xqNM+kaAoFAX2UOx3bsnEf7zc6oSdMdTl7Njus0vp1 TQ== Subject: [FFmpeg-devel] [PATCH 2/2] doc: document cutoff option to ac3 and adjust the option's global documentation 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: Moritz Barsnick MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" cutoff is implemented as an option global to lavc, but supported only by a few encoders. This fact is now reflected in its documentation. ac3's support of this option is added for completeness. Signed-off-by: Moritz Barsnick --- doc/codecs.texi | 3 ++- doc/encoders.texi | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/codecs.texi b/doc/codecs.texi index 9a3a56d..6093605 100644 --- a/doc/codecs.texi +++ b/doc/codecs.texi @@ -138,7 +138,8 @@ Set audio sampling rate (in Hz). Set number of audio channels. @item cutoff @var{integer} (@emph{encoding,audio}) -Set cutoff bandwidth. +Set cutoff bandwidth. (Supported only by selected encoders, see +their respective documentation sections.) @item frame_size @var{integer} (@emph{encoding,audio}) Set audio frame size. diff --git a/doc/encoders.texi b/doc/encoders.texi index 5e311cb..8137465 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -488,6 +488,10 @@ is an optional AC-3 feature that increases quality by selectively encoding the left/right channels as mid/side. This option is enabled by default, and it is highly recommended that it be left as enabled except for testing purposes. +@item cutoff @var{frequency} +Set lowpass cutoff frequency. If unspecified, the encoder selects a default +determined by various other encoding parameters. + @end table @subsection Floating-Point-Only AC-3 Encoding Options