Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


-> mp3 | 22 comments | Create New Account
Click here to return to the '-> mp3' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
-> mp3
Authored by: englabenny on Feb 12, '03 03:59:36PM

is there a way to "pipe" this on to itunes or something making an mp3-file out of it? It would be a great thing if you could have a shellscript that you gave a batch of wma:s and it gave you mp3:s in the end....



[ Reply to This | # ]
-> mp3
Authored by: englabenny on Feb 12, '03 05:03:20PM
Check me; i found it out myself. I got lame with fink and just modified the script a little:
#!/bin/tcsh

while($#argv != 0)
mplayer "$argv[1]" -ao pcm
  lame audiodump.wav "${argv[1]}.mp3"
  mv audiodump.wav ~/.Trash/
  mv "${argv[1]}" ~/.Trash/
  shift
end
works fine, only i would want it put the temporary file audiodump.waw in /tmp or something instead of the folder of the script.

[ Reply to This | # ]