有没有可以批量去除视频声音的工具

动作需求 · 3784 次浏览
用户g8SWW1YrBQA 创建于 2026-07-07 14:29

如题  有没有可以批量去除视频声音的工具


饺子吖 2026-07-07 16:35 :

电脑装有ffmpeg的话,可以试一下我的动作:视频快剪

回复内容
CL 2026-07-07 16:03
#1

ffmpeg,让AI写个脚本就行。

阿泽同学 2026-07-08 09:13
#2

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("完成")

回复主贴