Created
June 11, 2021 02:12
-
-
Save shuiRong/189b44886580d96f0a5ced0920e5f27c to your computer and use it in GitHub Desktop.
shell 脚本 批量 遍历 视频 mp4 ffmpeg 转换 mp3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
i=1 | |
for name in *.mp4; do | |
ffmpeg -i "$name" -vn "mp3/神探狄仁杰OST ${i%.*}.mp3" | |
let "i++" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment