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
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"
- Get ffmpeg
- Copy the below command from down below and save it in a .bat file
- Make sure the ffmpeg path is correct in the command
- Make sure the file is saved in the root folder where you want the files to be converted.
- 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:
Post a Comment