3
3
* This program is distributed under the GNU General Public License, version 2.
4
4
* A copy of this license is included with this source.
6
* Copyright 2000-2002, Michael Smith <msmith@xiph.org>
6
* Copyright 2000-2005, Michael Smith <msmith@xiph.org>
8
* Portions from Vorbize, (c) Kenneth Arnold <kcarnold@yahoo.com>
8
* Portions from Vorbize, (c) Kenneth Arnold <kcarnold-xiph@arnoldnet.net>
9
9
* and libvorbis examples, (c) Monty <monty@xiph.org>
319
326
fprintf(stderr, _("Downmixing stereo to mono\n"));
322
fprintf(stderr, _("ERROR: Can't downmix except from stereo to mono\n"));
324
if(opt.resamplefreq && opt.resamplefreq != enc_opts.rate)
325
clear_resample(&enc_opts);
329
fprintf(stderr, _("WARNING: Can't downmix except from stereo to mono\n"));
378
"Usage: oggenc [options] inputfile [...]\n"
382
"Usage: oggenc [options] input.wav [...]\n"
382
386
" -Q, --quiet Produce no output to stderr\n"
383
387
" -h, --help Print this help text\n"
388
" -v, --version Print the version number\n"
384
389
" -r, --raw Raw mode. Input files are read directly as PCM data\n"
385
390
" -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n"
386
391
" -C, --raw-chan=n Set number of channels for raw input. Default is 2\n"
388
393
" --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n"
389
394
" -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n"
390
395
" to encode at a bitrate averaging this. Takes an\n"
391
" argument in kbps. This uses the bitrate management\n"
392
" engine, and is not recommended for most users.\n"
393
" See -q, --quality for a better alternative.\n"
396
" argument in kbps. By default, this produces a VBR\n"
397
" encoding, equivalent to using -q or --quality.\n"
398
" See the --managed option to use a managed bitrate\n"
399
" targetting the selected bitrate.\n"
400
" --managed Enable the bitrate management engine. This will allow\n"
401
" much greater control over the precise bitrate(s) used,\n"
402
" but encoding will be much slower. Don't use it unless\n"
403
" you have a strong need for detailed control over\n"
404
" bitrate, such as for streaming.\n"
394
405
" -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n"
395
" encoding for a fixed-size channel.\n"
406
" encoding for a fixed-size channel. Using this will\n"
407
" automatically enable managed bitrate mode (see\n"
396
409
" -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n"
397
" streaming applications.\n"
398
" -q, --quality Specify quality between 0 (low) and 10 (high),\n"
399
" instead of specifying a particular bitrate.\n"
410
" streaming applications. Using this will automatically\n"
411
" enable managed bitrate mode (see --managed).\n"
412
" --advanced-encode-option option=value\n"
413
" Sets an advanced encoder option to the given value.\n"
414
" The valid options (and their values) are documented\n"
415
" in the man page supplied with this program. They are\n"
416
" for advanced users only, and should be used with\n"
418
" -q, --quality Specify quality, between -1 (very low) and 10 (very\n"
419
" high), instead of specifying a particular bitrate.\n"
400
420
" This is the normal mode of operation.\n"
401
421
" Fractional qualities (e.g. 2.75) are permitted\n"
402
" Quality -1 is also possible, but may not be of\n"
403
" acceptable quality.\n"
422
" The default quality level is 3.\n"
404
423
" --resample n Resample input data to sampling rate n (Hz)\n"
405
424
" --downmix Downmix stereo to mono. Only allowed on stereo\n"