diff options
author | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-13 12:38:17 +0000 |
---|---|---|
committer | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-13 12:38:17 +0000 |
commit | 66abcc42af42d848725974c1a08fd43ce2053f78 (patch) | |
tree | 18626f55f3ae52f1b4af63154b57053047b44fb8 /DOCS/man | |
parent | 0b162b1a83008458f26999f90a14f8fb0a58fff7 (diff) | |
download | mpv-66abcc42af42d848725974c1a08fd43ce2053f78.tar.bz2 mpv-66abcc42af42d848725974c1a08fd43ce2053f78.tar.xz |
Add new audio filter for encoding multi-channel audio into ac3 at runtime.
And if set first parameter of this filter to 1, it will do ac3 passthrough
like hwac3 did.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25385 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/en/mplayer.1 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 673c9b8bdf..e81a442d0a 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -4704,6 +4704,37 @@ cutoff frequency (0.0\-1.0), default set depending upon filter length .PD 1 . .TP +.B lavcac3enc[=tospdif[:bitrate[:minchn]]] +Encode multi-channel audio to AC-3 at runtime using libavcodec. +Supports 16-bit native-endian input format, maximum 6 channels. +The output is big-endian when outputting a raw AC-3 stream, +native-endian when outputting to S/PDIF. +The output sample rate of this filter is same with the input sample rate. +When input sample rate is 48kHz, 44.1kHz, or 32kHz, this filter directly use it. +Otherwise a resampler filter is auto-inserted before this filter to make +the input and output sample rate be 48kHz. +You need to specify '\-channels N' to make the decoder decode audio into +N-channel, then the filter can encode the N-channel input to AC-3. +.br +.PD 0 +.RSs +.IPs <tospdif> +Output raw AC-3 stream if zero or not set, +output to S/PDIF for passthrough when <tospdif> is set non-zero. +.IPs <bitrate> +The bitrate to encode the AC-3 stream. +Set it to either 384 or 384000 to get 384kbits. +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: +1ch: 96, 2ch: 192, 3ch: 224, 4ch: 384, 5ch: 448, 6ch: 448 +.IPs <minchn> +If the input channel number is less than <minchn>, the filter will +detach itself (default: 5). +.RE +.PD 1 +. +.TP .B sweep[=speed] Produces a sine sweep. .PD 0 |