Changeset 54 for mppenc/branches/zorg/src/mppenc.c
- Timestamp:
- 09/25/06 22:27:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mppenc/branches/zorg/src/mppenc.c
r52 r54 141 141 stderr_printf ( 142 142 "\n" 143 "\033[1m\r usage:\033[0m\n"143 "\033[1m\rUsage:\033[0m\n" 144 144 " mppenc [--options] <Input_File>\n" 145 145 " mppenc [--options] <Input_File> <Output_File>\n" … … 149 149 150 150 stderr_printf ( 151 "\033[1m\rInput_File must be :\033[0m\n"152 " - for stdin(only RIFF WAVE files)\n"153 " /dev/audio for soundcard (OSS only at the moment), 44.1 kHz\n"151 "\033[1m\rInput_File must be of the following:\033[0m\n" 152 " - stdin (only RIFF WAVE files)\n" 153 " /dev/audio soundcard (using OSS, 44.1 kHz)\n" 154 154 " *.wav RIFF WAVE file\n" 155 " *.raw/cdr Raw PCM , 2 channels, 16 bit, 44.1 kHz, little endian\n"156 " *.pac/lpac LPAC file (needs LPAC 1.36+ for Windows)\n"157 " *.fla/flac FLAC file (needs FLAC 1.03+ for Windows)\n"158 " *.ape Monkey's Audio APE file (needs MAC 3.96b2...7)\n"159 " *.rka/rkau RK Audio file (offical binaries do not work)\n"155 " *.raw/cdr Raw PCM (2ch, 16bit, 44.1kHz)\n" 156 " *.pac/lpac LPAC file (Windows Only)\n" 157 " *.fla/flac FLAC file\n" 158 " *.ape Monkey's Audio file (APE extension only)\n" 159 " *.rka/rkau RK Audio file (Windows Only)\n" 160 160 " *.sz SZIP file\n" 161 " *.shn Shorten file (needs Shorten 3.4+ for Windows)\n" 162 " *.ofr OptimFROG file\n" 161 " *.shn Shorten file\n" 162 " *.wv Wavpack File\n" 163 " *.ofr OptimFROG file (Windows Only)\n" 163 164 "\n" 164 " Currently only 32, 37.8, 44.1 and 48 kHz, 1...8 channels, 8...32 bit linear PCM\n"165 " is supported. When using one of the lossless compressed formats, a proper binary\n"166 " must be installed within the system's search path.\n"165 " Currently only 32, 37.8, 44.1 and 48 kHz, 1-8 channels, 8-32 bit linear PCM\n" 166 " is supported. When using one of the lossless compressed formats, a proper\n" 167 " binary must be installed within the system's $PATH.\n" 167 168 "\n" 168 "\033[1m\rOutput_File must be (otherwise file name is generated from Input_File):\033[0m\n"169 " *.mpc Musepack file name\n"170 " *.mp+/mpp old extentions known as MPEGplus\n"171 " - forstdout\n"172 " /dev/null fortrash can\n"169 "\033[1m\rOutput_File must be of the following: (or generated from Input_File)\033[0m\n" 170 " *.mpc Musepack file\n" 171 " *.mp+/mpp MPEGplus file (Deprecated)\n" 172 " - stdout\n" 173 " /dev/null trash can\n" 173 174 "\n" ); 174 175 175 176 stderr_printf ( 176 "\033[1m\rProfile Options (Quality Presets):\033[0m\n" 177 " --telephone lowest quality, (typ. 32... 48 kbps)\n" 178 " --thumb low quality/internet, (typ. 58... 86 kbps)\n" 179 " --radio medium (MP3) quality, (typ. 112...152 kbps)\n" 180 " --standard high quality (dflt), (typ. 142...184 kbps)\n" 181 " --xtreme extreme high quality, (typ. 168...212 kbps)\n" 182 " --insane extreme high quality, (typ. 232...268 kbps)\n" 183 " --braindead extreme high quality, (typ. 232...278 kbps)\n" 177 "\033[1m\rProfiles and Quality Scale:\033[0m\n" 178 "\n" 179 " Option of using a profile (--radio) or mapped quality scale (--quality 4.0).\n" 180 " In addition, quality scale is effective centesimally. (i.e. --quality 4.25)\n" 181 " Available options are as follows:\n" 182 "\n" 183 " below telephone (--quality 0.00) poor quality (~ 20 kbps)\n" 184 " below telephone (--quality 1.00) poor quality (~ 30 kbps)\n" 185 " --telephone (--quality 2.00) low quality (~ 60 kbps)\n" 186 " --thumb (--quality 3.00) good quality (~ 90 kbps)\n" 187 " --radio (--quality 4.00) great quality (~ 130 kbps)\n" 188 " --standard (--quality 5.00) high quality, (dflt) (~ 180 kbps)\n" 189 " (or --normal)\n" 190 " --xtreme (--quality 6.00) excellent quality (~ 210 kbps)\n" 191 " (or --extreme)\n" 192 " --insane (--quality 7.00) excellent quality (~ 240 kbps)\n" 193 " --braindead (--quality 8.00) excellent quality (~ 270 kbps)\n" 194 " above braindead (--quality 9.00) excellent quality (~ 300 kbps)\n" 195 " above braindead (--quality 10.00) excellent quality (~ 350 kbps)\n" 184 196 "\n" ); 185 197 186 198 stderr_printf ( 187 199 "\033[1m\rFile/Message handling:\033[0m\n" 188 " --silent do not write any message to the console\n"189 " --verbose increase verbosity (dflt: off)\n"200 " --silent repress console messages (dflt: off)\n" 201 " --verbose increase verbosity (dflt: off)\n" 190 202 " --longhelp print this help text\n" 191 " --stderr f n append messages to file 'fn'\n"192 " --neveroverwrite never overwrite existing destination file\n"193 " --interactive ask before overwrite existing destination file (dflt)\n"194 " --overwrite overwrite existing destination file\n"195 " --deleteinput delete input file after encoding(dflt: off)\n"203 " --stderr foo append messages to file 'foo'\n" 204 " --neveroverwrite never overwrite existing Output_File (dflt: off)\n" 205 " --interactive ask to overwrite an existing Output_File (dflt: on)\n" 206 " --overwrite overwrite existing Output_File (dflt: off)\n" 207 " --deleteinput delete Input_File after encoding (dflt: off)\n" 196 208 "\n" ); 197 209 … … 291 303 " mppenc inputfile.wav\n" 292 304 " mppenc inputfile.wav outputfile.mpc\n" 293 " mppenc -- xtreme inputfile.pacoutputfile.mpc\n"294 " mppenc --silent --radio --pns 0.25 inputfile. pacoutputfile.mpc\n"295 " mppenc --nmt 12 --tmn 28 inputfile. pacoutputfile.mpc\n"305 " mppenc --radio inputfile.wav outputfile.mpc\n" 306 " mppenc --silent --radio --pns 0.25 inputfile.wav outputfile.mpc\n" 307 " mppenc --nmt 12 --tmn 28 inputfile.wav outputfile.mpc\n" 296 308 "\n" 297 309 "For further information see the file 'MANUAL.TXT'.\n" ); … … 304 316 stderr_printf ( 305 317 "\n" 306 "\033[1m\r usage:\033[0m\n"318 "\033[1m\rUsage:\033[0m\n" 307 319 " mppenc [--options] <Input_File>\n" 308 320 " mppenc [--options] <Input_File> <Output_File>\n" … … 310 322 311 323 "\033[1m\rStandard options:\033[0m\n" 312 " --silent do not write any message to the console(dflt: off)\n"313 " -- deleteinput delete input file after encoding(dflt: off)\n"314 " -- overwrite overwrite existing destination file(dflt: off)\n"315 " -- fade sec fade in and out with 'sec' duration (dflt: 0.0)\n"324 " --silent repress console messages (dflt: off)\n" 325 " --verbose increase verbosity (dflt: off)\n" 326 " --deleteinput delete Input_File after encoding (dflt: off)\n" 327 " --overwrite overwrite existing Output_File (dflt: off)\n" 316 328 "\n" 317 329 318 "\033[1m\rProfile Options (Quality Presets):\033[0m\n"319 " --thumb low quality/internet, (typ. 58... 86kbps)\n"320 " --radio medium (MP3) quality, (typ. 112...152kbps)\n"321 " --standard high quality (dflt), (typ. 142...184kbps)\n"322 " --xtreme extreme high quality, (typ. 168...212kbps)\n"330 "\033[1m\rProfiles and Quality Scale:\033[0m\n" 331 " --thumb (--quality 3.00) good quality (~ 90 kbps)\n" 332 " --radio (--quality 4.00) great quality (~ 130 kbps)\n" 333 " --standard (--quality 5.00) high quality, (dflt) (~ 180 kbps)\n" 334 " --xtreme (--quality 6.00) excellent quality (~ 210 kbps)\n" 323 335 "\n" 324 336 … … 326 338 " mppenc inputfile.wav\n" 327 339 " mppenc inputfile.wav outputfile.mpc\n" 328 " mppenc --xtreme inputfile. pacoutputfile.mpc\n"329 " mppenc --silent --radio inputfile. pacoutputfile.mpc\n"340 " mppenc --xtreme inputfile.wav outputfile.mpc\n" 341 " mppenc --silent --radio inputfile.wav outputfile.mpc\n" 330 342 "\n" 331 343 "For further information see the file 'MANUAL.TXT' or use option --longhelp.\n" );
Note: See TracChangeset
for help on using the changeset viewer.