ffmpeg 覆盖输出文件(如果存在) [英] ffmpeg overwrite output file if exists

查看:266
本文介绍了ffmpeg 覆盖输出文件(如果存在)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我跑了:

ffmpeg -i input.flac output.mp3

这提示:

文件output.mp3"已经存在.覆盖?[是/否] 是

File 'output.mp3' already exists. Overwrite? [y/N] y

如何自动说是"?

推荐答案

使用 -y 选项自动覆盖 [文档]:

Use the -y option to automatically overwrite [docs]:

ffmpeg -y -i input.flac output.mp3

这篇关于ffmpeg 覆盖输出文件(如果存在)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆