From 66abcc42af42d848725974c1a08fd43ce2053f78 Mon Sep 17 00:00:00 2001 From: ulion Date: Thu, 13 Dec 2007 12:38:17 +0000 Subject: 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 --- DOCS/man/en/mplayer.1 | 31 +++++++++++++++++++++++++++++++ DOCS/tech/wishlist | 2 -- 2 files changed, 31 insertions(+), 2 deletions(-) (limited to 'DOCS') 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 +Output raw AC-3 stream if zero or not set, +output to S/PDIF for passthrough when is set non-zero. +.IPs +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 +If the input channel number is less than , the filter will +detach itself (default: 5). +.RE +.PD 1 +. +.TP .B sweep[=speed] Produces a sine sweep. .PD 0 diff --git a/DOCS/tech/wishlist b/DOCS/tech/wishlist index 0b3871913a..d7058fad3e 100644 --- a/DOCS/tech/wishlist +++ b/DOCS/tech/wishlist @@ -69,8 +69,6 @@ Filters: * insert af volnorm during playback - * encode multi-channel audio into ac3 at runtime and passthrough it to s/pdif - * allow frame insertion & removal in video filters (with timestamps) * xinerama video filter that splits movie to 2 screens (like zr) -- cgit v1.2.3