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

The Wanderer inverseparadox at comcast.net
Tue Nov 20 03:55:35 CET 2007


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.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.



More information about the MPlayer-dev-eng mailing list