From 7f7e9a9fff8a13cd55d25290102e029892431854 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 15 Nov 2013 00:13:04 +0100 Subject: af_lavcac3enc: use option parser This changes option parsing as well as filter defaults slightly. The default is now to encode to spdif (this is way more useful than writing raw AC3 - what was this even useful for, other than writing broken ac3 -in-wav files?). The bitrate parameter is now always in kbps. --- DOCS/man/en/af.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/en/af.rst b/DOCS/man/en/af.rst index 5fe660275a..67110f9b47 100644 --- a/DOCS/man/en/af.rst +++ b/DOCS/man/en/af.rst @@ -64,17 +64,18 @@ Available filters are: outputting to S/PDIF. If the input sample rate is not 48 kHz, 44.1 kHz or 32 kHz, it will be resampled to 48 kHz. - ```` - Output raw AC-3 stream if zero or not set, output to S/PDIF for - passthrough when ```` is set non-zero. - ```` - The bitrate use for the AC-3 stream. Set it to either 384 or 384000 - to get 384 kbps. + ``tospdif=`` + Output raw AC-3 stream if ``no``, output to S/PDIF for + passthrough if ``yes`` (default). + + ``bitrate=`` + The bitrate use for the AC-3 stream. Set it to 384 to get 384 kbps. Valid values: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, 640. - Default bitrate is based on the input channel number: + The special value ``default`` selects a default bitrate based on the + input channel number: :1ch: 96 :2ch: 192 @@ -83,7 +84,7 @@ Available filters are: :5ch: 448 :6ch: 448 - ```` + ``minchn=`` If the input channel number is less than ````, the filter will detach itself (default: 5). -- cgit v1.2.3