[xiph-cvs] cvs commit: vorbis-tools/ogg123 ogg123.1

Stan Seibert volsung at xiph.org
Sun Jul 22 19:34:49 PDT 2001

volsung     01/07/22 19:34:48

  Modified:    ogg123   Tag: volsung_20010721 ogg123.1
  Updated ogg123 documentation to reflect libao changes.

Revision  Changes    Path
No                   revision

No                   revision   +35 -29    vorbis-tools/ogg123/ogg123.1

Index: ogg123.1
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123.1,v
retrieving revision 1.7
retrieving revision
diff -u -r1.7 -r1.7.2.1
--- ogg123.1	2001/07/06 22:11:37	1.7
+++ ogg123.1	2001/07/23 02:34:48
@@ -1,7 +1,7 @@
 .\" Process this file with
 .\" groff -man -Tascii ogg123.1
-.TH ogg123 1 "June 19, 2001" "" "Vorbis Tools"
+.TH ogg123 1 "July 22, 2001" "" "Vorbis Tools"
 ogg123 \- plays Ogg Vorbis files
@@ -18,6 +18,10 @@
 .B -o
 .I option:value
+.B -f
+.I filename
 ] ]
 .I file
 .B ...
@@ -41,6 +45,11 @@
 Specify output device.  See
 section for a list of devices.  Any number of devices may be specified.
+.IP "-f filename, --file filename"
+Specify output file for file devices.  The filename "-" writes to standard
+out.  If the file already exists,
+.B ogg123
+will abort.
 .IP "-h, --help"
 Show command help.
 .IP "-k n, --skip n"
@@ -52,7 +61,7 @@
 .I value
 for the preceding device.  See
-for a list of valid options for each device.  
+for a list of valid options for each device.
 .IP "-q, --quiet"
 Quiet mode.  No messages are displayed.
 .IP "-V, --version"
@@ -66,7 +75,9 @@
 .B ogg123
 supports a variety of audio output devices through libao.  Only those
-devices supported by the target platform will be compiled in.
+devices supported by the target platform will be available.  The
+.B -f
+option may only be used with devices that write to files.
 .IP null
 Null driver.  All audio data is discarded.  (Note: Audio data is not
@@ -130,15 +141,17 @@
+.IP au
+Sun audio file output.  Writes the audio samples in AU format.  The AU
+format supports writing to unseekable files, like standard out.  In
+such circumstances, the AU header will specify the sample format, but
+not the length of the recording.
 .IP raw
 Raw sample output.  Writes raw audio samples to a file.
-.IP file
-Sets the output file.  (Default = "output.raw")
 .IP byteorder
 Choose big endian, little endian, or native byte order.  (Default = "native")
@@ -147,14 +160,9 @@
 .IP wav
 WAV file output.  Writes the sound data to disk in uncompressed form.
 If multiple files are played, all of them will be concatenated into
-the same WAV file.
-.IP file
-Sets the output WAV file.  (Default = "output.wav")
+the same WAV file.  WAV files cannot be written to unseekable files,
+such as standard out.  Use the AU format instead.
@@ -196,19 +204,19 @@
 Listen to a file while you write it to a WAV file:
-.B ogg123 -d oss -d wav -o file:test.wav test.ogg
+.B ogg123 -d oss -d wav -f test.wav test.ogg
 Note that options apply to the device declared to the left:
-.B ogg123 -d oss -o dsp:/dev/mydsp -d wav -o file:test2.wav test.ogg
+.B ogg123 -d oss -o dsp:/dev/mydsp -d raw -f test2.raw -o byteorder:big test.ogg
 Stress test your harddrive:
-.B ogg123 -d oss -d wav -o file:1.wav -d wav -o file:2.wav -d wav -o file:3.wav -d wav -o file:4.wav -d wav -o file:5.wav  test.ogg
+.B ogg123 -d oss -d wav -f 1.wav -d wav -f 2.wav -d wav -f 3.wav -d wav -f 4.wav -d wav -f 5.wav  test.ogg
@@ -236,24 +244,22 @@
-Can be used to set the default output device for 
-.B ogg123.
-See the included file
-.B ogg123rc-example
-for an example.
+Can be used to set the default output device for all libao programs.
 Per-user config file to override the system wide output device settings.
+Note that there are issues with streaming WAV-format audio, so there
+is no way to fix this properly. Use the raw or au output driver if you
+need to use ogg123 in a pipe.
-The WAV driver does not interpret the file "-" as stdout. Note that
-there are issues with streaming WAV-format audio, so there is no way
-to fix this properly. Use the raw output driver if you need to use
-ogg123 in a pipe.
+.BR libao.conf(5)

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the commits mailing list