Windows 10 Shortcut Convert to MP3

blksith0

Extraordinary Member
How would I go about creating a shortcut, maybe in the Send To folder, that would take in a FLAC file (or anything preferably) and output a V0 mp3?

ffmpeg can do it with:
ffmpeg -i input.wav -codec:a libmp3lame -qscale:0 2 output.mp3

But how can I make the input file and output file work with any input from a shortcut?
 
You could easily add a right-click menu item to convert them.
  • Open regedit and expand HKEY_CLASSES_ROOT
  • Look for the extension type you want to convert from for example .wav
  • Select the .wav key and look in the default value
  • Navigate to the key with the name of the default value for key .wav
  • Should be WMP11.AssocFile.WAV by default
  • Now expand that key and expand shell
  • Right click on Shell and create a new key. Name it whatever you want it to appear as in the menu
  • Right click on that newly created key and create a sub key called command
  • Select command and edit the default value. Set it to the cmd command used to convert the file replace the .wav file with "%1" this will pass the file you are clicking on.
  • Change the outfile to "%1.mp3" this will output to the same filename but .mp3
convert.png
 
lol I remember when anyone said mp3 online or in person it had a negative connotation to it. Now it's just another computer-tech term.
 
Back
Top