Wednesday, July 11, 2018

Batch convert using ffmpeg

Say you have some folder and sub-folders full of .wav files and want to convert them all to .mp3 at a single shot, try the below



  1. Get ffmpeg
  2. Copy the below command from down below and save it in a .bat file
  3. Make sure the ffmpeg path is correct in the command
  4. Make sure the file is saved in the root folder where you want the files to be converted.
  5. Run the bat file you have created

for /R %%g in (*.wav) do start /b /wait "" "C:\ffmpeg-4.0.1-win64-static\bin\ffmpeg" -threads 16 -i "%%g" -acodec libmp3lame "%%~dpng.mp3" && del "%%g"



No comments:

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...