diff options
author | wm4 <wm4@nowhere> | 2013-11-15 00:13:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-15 00:24:03 +0100 |
commit | 7f7e9a9fff8a13cd55d25290102e029892431854 (patch) | |
tree | d2cef2a221d2d873ee7d178652916a6897370b5b /DOCS/man/en | |
parent | 8512a08046adf0bcea501ecbf48d0e9f1b8ba6da (diff) | |
download | mpv-7f7e9a9fff8a13cd55d25290102e029892431854.tar.bz2 mpv-7f7e9a9fff8a13cd55d25290102e029892431854.tar.xz |
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.
Diffstat (limited to 'DOCS/man/en')
-rw-r--r-- | DOCS/man/en/af.rst | 17 |
1 files changed, 9 insertions, 8 deletions
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. - ``<tospdif>`` - Output raw AC-3 stream if zero or not set, output to S/PDIF for - passthrough when ``<tospdif>`` is set non-zero. - ``<bitrate>`` - The bitrate use for the AC-3 stream. Set it to either 384 or 384000 - to get 384 kbps. + ``tospdif=<yes|no>`` + Output raw AC-3 stream if ``no``, output to S/PDIF for + passthrough if ``yes`` (default). + + ``bitrate=<rate>`` + 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>`` + ``minchn=<n>`` If the input channel number is less than ``<minchn>``, the filter will detach itself (default: 5). |