Bug 77295 - incorrect error message
incorrect error message
Product: Red Hat Linux
Classification: Retired
Component: vorbis-tools (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Colin Walters
Depends On:
  Show dependency treegraph
Reported: 2002-11-04 14:20 EST by Chris Ricker
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-13 16:06:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Ricker 2002-11-04 14:20:04 EST
Running oggenc with the -b option (to specify bitrate) and forgetting the
bitrate results in a bogus error message.  Rather than something like:

ERROR:  No bitrate specified.  Use -h for help.

it responds with an incorrect "No input files specified".  For example:

[kaboom@verdande wav]$ oggenc -b 10_exit.wav 
OggEnc v1.0 (libvorbis 1.0)
(c) 2000-2002 Michael Smith <msmith@labyrinth.net.au>

ERROR: No input files specified. Use -h for help.
[kaboom@verdande wav]$ 

Compare that with the correct command line, below:

[kaboom@verdande wav]$ oggenc -b 320 10_exit.wav 
Opening with wav module: WAV file reader
Encoding "10_exit.wav" to 
at approximate bitrate 320 kbps (VBR encoding enabled)
        [100.0%] [ 0m00s remaining] \


it's the bitrate that's missing, not the input file....
Comment 1 Colin Walters 2004-05-13 16:06:39 EDT
A warning is now output that the specified bitrate is not recognized,

walters@nexus> oggenc -b /usr/share/sounds/question.wav              
Warning: nominal bitrate "/usr/share/sounds/question.wav" not recognised
OggEnc v1.0.1 (libvorbis 1.0.1)
(c) 2000-2003 Michael Smith <msmith@xiph.org>
ERROR: No input files specified. Use -h for help.

Note You need to log in before you can comment on or make changes to this bug.