-
Drag and Drop MP3
Would you like to have a desktop icon that you could drag and drop virtually any file that has audio in it upon and it would convert it to an MP3? I did this in Windows (7 - probably works in other recent versions), I'm sure it's similar in other OS's. First, you need FFMPEG the free audio/video command line utility and an MP3 codec (libmp3lame) for it. (some versions have it already as a part of the executable, for others, it's a separate free dll download).
Then you need to (using a plain text editor) make a file, call it - say, any_audio_to_mp3.bat - here's what you can put there:
Code:
@echo off
set filename=%1
c:\path to ffmpeg exe\ffmpeg.exe -i %filename% -acodec libmp3lame %filename:~0,-5%.mp3
del /P %filename%
Then make a shortcut to this file on your desktop.
When you drag and drop an audio containing file on it, it will pop up a command prompt window that will automatically convert it to original_filename.mp3 into the same folder where the file currently is. Once finished (takes awhile for long files, not much time for the average 3-5 minute audio piece), it will then prompt you to delete the original file, to which you can respond y or n then hit enter to execute your choice. Then the window will close.
This can be tweaked to suit easily enough if you know and/or are willing to research a little about batch files and/or how ffmpeg works - all of which is easy to find via Google.
-
Oh, you can drag and drop videos on it as well, it will convert their audio to mp3. Most formats supported. Also converts from other audio to mp3. Max output quality is 320 k bits per second, but that's overkill for most things. I like to play with the output quality to match the input when possible. Most folks will be happy with the default (128k). There is a two pass method. It might work for determining input quality and matching that for output up to the max. I haven't looked too deeply into that yet. If not, I bet I can get it to read the quality, and then use that on the batch side of the equation. Let me know if any of you have done either of those. Save us all some time and storage space.