Miscellaneous > The Lounge
Anyone have a clue why my CD is so slow?
Jenda:
Funny bastards...
KernelPanic@microsuck:-$ oggenc
(processing) [fail]
error: wrong number of arguments
needed: "how to transform more files at the same time?"
needed: "how to specify output filenames?"
someone@microsuck:-$ _
KernelPanic:
Oggenc works on one file at a time and automatically uses the same filename:
$ oggenc -q 7 Jazz.wav
Would create the file Jazz.wav.ogg at Vorbis quality 7.
To perform the same action on all of your WAV files in a directory you would use a shell script.
eg:
--- Code: ---
#!/bin/bash
# wav2ogg
for i in *.wav
do
oggenc -q 7 $i
done
--- End code ---
Again, since you don't appear to have checked the manpage of oggenc, I suggest you try grip for future endeavors.
RTFM, don't expect handholding.
WMD:
Quality 7? Jeez...isn't quality 5 128kbps? With OGG's quality, that should be enough.
WMD:
--- Quote from: WMD ---Quality 7? Jeez...isn't quality 5 128kbps? With OGG's quality, that should be enough.
--- End quote ---
No, quality 5 is 88kbps, quality 7 is 121. Check your facts first!
Jenda:
--- Quote from: WMD ---No, quality 5 is 88kbps, quality 7 is 121. Check your facts first!
--- End quote ---
Huh...
--- Quote ---Oggenc works on one file at a time and automatically uses the same filename:
$ oggenc -q 7 Jazz.wav
Would create the file Jazz.wav.ogg at Vorbis quality 7.
To perform the same action on all of your WAV files in a directory you would use a shell script.
eg:
Code:
#!/bin/bash # wav2ogg for i in *.wav do oggenc -q 7 $i done
--- End quote ---
Ok. Thanks a bunch, KernelPanic.
Now just for the record, is the manpage what comes up when you type
--- Code: ---oggenc --help
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version