FFMPEG - Batch convert subfolders

后端 未结 2 550
[愿得一人]
[愿得一人] 2021-01-03 01:21

I am trying to set up a Windows batch file to convert a number of MP4 files using FFMPEG. There are a number of files in multiple subfolders, therefore I need the script to

2条回答
  •  独厮守ぢ
    2021-01-03 02:05

    Try this:

    @echo off & setlocal
    FOR /r %%i in (*.mp4) DO ffmpeg32 -i "%%~fi" -map 0:0 -map 0:1 -map 0:1 -c:v copy -c:a:0 aac -b:a 128k -ac 2 -strict -2 -cutoff 15000 -c:a:1 copy "%%~dpni(2)%%~xi"
    

提交回复
热议问题