How do you convert an entire directory with ffmpeg?

前端 未结 26 2480
长发绾君心
长发绾君心 2020-11-22 04:33

How do you convert an entire directory/folder with ffmpeg via command line or with a batch script?

26条回答
  •  孤城傲影
    2020-11-22 05:07

    And on Windows:

    FOR /F "tokens=*" %G IN ('dir /b *.flac') DO ffmpeg -i "%G" -acodec mp3 "%~nG.mp3"
    

提交回复
热议问题