# HG changeset patch # User reimar # Date 1129387082 0 # Node ID 5afa9bb9daec5a88e663b56cf333aa37a071404d # Parent 82a56c89b54daa618d08f5ab6f8bfdedfe58d13f Another usage example for the %n%str escaping syntax and ao_sgi documentation update diff -r 82a56c89b54d -r 5afa9bb9daec DOCS/man/en/mplayer.1 --- a/DOCS/man/en/mplayer.1 Sat Oct 15 11:51:37 2005 +0000 +++ b/DOCS/man/en/mplayer.1 Sat Oct 15 14:38:02 2005 +0000 @@ -455,9 +455,13 @@ .br %n%string_of_length_n .br -.I EXAMPLE: +.I EXAMPLES: .br mplayer -ao pcm:file=%10%C:test.wav test.avi +.br +Or in a script: +.br +mplayer -ao pcm:file=%`expr length "$NAME"`%"$NAME" test.avi .PP You can put all of the options in configuration files which will be read every time MPlayer/MEncoder is run. @@ -1989,6 +1993,14 @@ .TP .B sgi (SGI only) native SGI audio output driver +.PD 0 +.RSs +.IPs "" +Explicitly choose the output device/\:interface to use +(default: system-wide default). +For example, 'Analog\ Out' or 'Digital\ Out'. +.RE +.PD 1 . .TP .B sun (Sun only)