Fri 02 May 2008 05:14:51 PM UTC, original submission:
The logic for checking if the input file is of the WMA format is by looking for the word "Microsoft" in the file brief (file -b) (line 455 in the script).
Unfortunately, this particular wave file that i have has a file brief of
"RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz"
This in itself is still not an issue. However, in lines 1272 to 1276 of the script, it checks that if you do not have mplayer installed, and your input file is a WMA file, it pops out a warning and exits.
Well, i do not have mplayer installed, and my file is a wave file wrongly classified as a WMA file, so the script fails for me when it shouldn't.
The workaround for me, since i do not work with WMA files at all, is to comment out lines 1270 to 1281 (checking for mplayer) altogether. (Attached is the script with those lines commented out.)
|