如题 有没有可以批量去除视频声音的工具
电脑装有ffmpeg的话,可以试一下我的动作:视频快剪
ffmpeg,让AI写个脚本就行。
import os
import subprocess
folder = r"D:\视频"
for file in os.listdir(folder):
if file.endswith(".mp4"):
input_file = os.path.join(folder, file)
output_file = os.path.join(folder, "无声_" + file)
cmd = [
"ffmpeg",
"-i", input_file,
"-c:v", "copy",
"-an",
output_file
]
subprocess.run(cmd)
print("完成")
电脑装有ffmpeg的话,可以试一下我的动作:视频快剪