[MPlayer-dev-eng] [PATCH] [TEST AFILTER] Encode ac3 at runtime using lavc

Ulion ulion2002 at gmail.com
Tue Nov 20 04:05:29 CET 2007


2007/11/20, The Wanderer <inverseparadox at comcast.net>:
> Ulion wrote:
>
> > 2007/11/20, Diego Biurrun <diego at biurrun.de>:
> >
> >> On Tue, Nov 20, 2007 at 01:33:00AM +0800, Ulion wrote:
> >>
> >>> Update with man page.
> >>>
> >>> --- DOCS/man/en/mplayer.1     (revision 25106)
> >>> +++ DOCS/man/en/mplayer.1     (working copy)
> >>> @@ -4695,6 +4695,28 @@
> >>>  .TP
> >>> +.B lavcac3enc[=tospdif[:bitrate[:minchn]]]
> >>> +Encode multi-channel audio to ac3 stream with <bitrate> at runtime using lavc.
> >>
> >> AC-3, s/stream//, libavcodec
> >
> > Fixed, but what 's/stream//' mean?
>
> It's an expression in the most common form of the syntax of the 'sed'
> stream-editing program. 's' stands for 'substitute'; you take whatever
> is between the second and third slashes (here, nothing at all) and
> substitute it for anything which matches the regular expression which is
> between the first and second slashes (here, 'stream').
>
> sed is really a phenomenally useful program, particularly if you're
> going to be doing much shell scripting. It's not uncommon to see its
> 's'-expression syntax co-opted for use in other contexts, because it's
> perhaps the most succinct human-readable replacement notation ever
> invented.
>

Oh, I got it.

-- 
Ulion



More information about the MPlayer-dev-eng mailing list