简体   繁体   中英

ffmpeg batch converting audio files in windows

I have a lot of wav files (each with respective names) that need to be converted from wav to mp3 and I have been trying to write a batch file to do this.

I'm using the latest nightly build of ffmpeg on Windows 10 Insider build.

I've looked through the ffmpeg documentation but can't find anything on this.

I'm looking for a very simple and up-to-date ffmpeg script to accomplish this task.

to process files one after the other, a simple for will do:

for %%a in (*.wav) do (
  echo processing %%a
  REM your ffmpeg command; Input file will be: %%a
  REM If you need some output file name: %%~na.mp3
)

see for /? for help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM