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

Michael Smith msmith at xiph.org
Sun Jan 27 21:38:17 PST 2002



msmith      02/01/27 21:38:15

  Modified:    oggenc   audio.c encode.c oggenc.c
               oggenc/man oggenc.1
  Log:
  Fix for bug #141

Revision  Changes    Path
1.22      +1 -1      vorbis-tools/oggenc/audio.c

Index: audio.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/audio.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- audio.c	2002/01/27 05:01:10	1.21
+++ audio.c	2002/01/28 05:38:14	1.22
@@ -3,7 +3,7 @@
  ** This program is distributed under the GNU General Public License, version 2.
  ** A copy of this license is included with this source.
  **
- ** Copyright 2000, Michael Smith <msmith at labyrinth.net.au>
+ ** Copyright 2000-2002, Michael Smith <msmith at labyrinth.net.au>
  **
  ** AIFF/AIFC support from OggSquish, (c) 1994-1996 Monty <xiphmont at xiph.org>
  **/

<p><p>1.19      +1 -1      vorbis-tools/oggenc/encode.c

Index: encode.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/encode.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- encode.c	2002/01/27 06:21:48	1.18
+++ encode.c	2002/01/28 05:38:14	1.19
@@ -3,7 +3,7 @@
  ** This program is distributed under the GNU General Public License, version 2.
  ** A copy of this license is included with this source.
  **
- ** Copyright 2000, Michael Smith <msmith at labyrinth.net.au>
+ ** Copyright 2000-2002, Michael Smith <msmith at labyrinth.net.au>
  **
  ** Portions from Vorbize, (c) Kenneth Arnold <kcarnold at yahoo.com>
  ** and libvorbis examples, (c) Monty <monty at xiph.org>

<p><p>1.46      +6 -5      vorbis-tools/oggenc/oggenc.c

Index: oggenc.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/oggenc.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- oggenc.c	2002/01/27 06:24:28	1.45
+++ oggenc.c	2002/01/28 05:38:14	1.46
@@ -3,7 +3,7 @@
  * This program is distributed under the GNU General Public License, version 2.
  * A copy of this license is included with this source.
  *
- * Copyright 2000, Michael Smith <msmith at labyrinth.net.au>
+ * Copyright 2000-2002, Michael Smith <msmith at labyrinth.net.au>
  *
  * Portions from Vorbize, (c) Kenneth Arnold <kcarnold at yahoo.com>
  * and libvorbis examples, (c) Monty <monty at xiph.org>
@@ -25,7 +25,7 @@
 
 
 #define VERSION_STRING "OggEnc v0.9 (libvorbis rc3)\n"
-#define COPYRIGHT "(c) 2001 Michael Smith <msmith at labyrinth.net.au>\n"
+#define COPYRIGHT "(c) 2000-2002 Michael Smith <msmith at labyrinth.net.au>\n"
 
 #define CHUNK 4096 /* We do reads, etc. in multiples of this */
 
@@ -303,7 +303,7 @@
 }
 
 static void print_deprecated_message(void) {
-    fprintf(stderr, "WARNING: Usage of the bitrate options (-b, -m, -M) has been deprecated\n"
+    fprintf(stderr, _("WARNING: Usage of the bitrate options (-b, -m, -M) has been deprecated\n"
                     "To use these, you must specify that you wish to use managed mode, using\n"
                     "the --managed option.\n"
                     "This will cause oggenc to enable the full bitrate management engine.\n"
@@ -312,7 +312,7 @@
                     "Usage of the bitrate management engine will generally decrease quality,\n"
                     "using the normal fully VBR modes (quality specified using -q) is\n"
                     "very highly recommended for most users.\n"
-                    "Usage of the -managed option will become MANDATORY in the next release.\n\n");
+                    "Usage of the -managed option will become MANDATORY in the next release.\n\n"));
 }
 
 static void usage(void)
@@ -339,6 +339,7 @@
                 " -q, --quality        Specify quality between 0 (low) and 10 (high),\n"
                 "                      instead of specifying a particular bitrate.\n"
                 "                      This is the normal mode of operation.\n"
+        "                      Fractional qualities (e.g. 2.75) are permitted\n"
                 " -s, --serial         Specify a serial number for the stream. If encoding\n"
                 "                      multiple files, this will be incremented for each\n"
                 "                      stream after the first.\n"
@@ -504,7 +505,7 @@
                 {
                         case 0:
                 if(!strcmp(long_options[option_index].name, "managed")) {
-                    fprintf(stderr, "Enabling bitrate management engine\n");
+                    fprintf(stderr, _("Enabling bitrate management engine\n"));
                     opt->managed = 1;
                 }
                 else {

<p><p>1.13      +1 -1      vorbis-tools/oggenc/man/oggenc.1

Index: oggenc.1
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/man/oggenc.1,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- oggenc.1	2002/01/27 05:06:06	1.12
+++ oggenc.1	2002/01/28 05:38:15	1.13
@@ -113,7 +113,7 @@
 .IP "-M n, --max-bitrate=n"
 Sets maximum bitrate to n (in kb/s).
 .IP "-q n, --quality=n"
-Sets encoding quality to n, between 0 (low) and 10 (high). This is the default mode of operation.
+Sets encoding quality to n, between 0 (low) and 10 (high). This is the default mode of operation, with a default quality level of 3. Fractional quality levels such as 2.5 are permitted. 
 .IP "-s, --serial"
 Forces a specific serial number in the output stream. This is primarily useful for testing.
 .IP "-o output_file, --output=output_file"

<p><p><p>--- >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