How do you convert an entire directory with ffmpeg?

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

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

26条回答
  •  旧时难觅i
    2020-11-22 04:54

    Also if you want same convertion in subfolders. here is the recursive code.

    for /R "folder_path" %%f in (*.mov,*.mxf,*.mkv,*.webm) do (
        ffmpeg.exe -i "%%~f" "%%~f.mp4"
        )
    

提交回复
热议问题