FFmpeg Command - Audio Trim - overwrite files

   295   1   1
User Avatar
Member
385 posts
Joined: 7月 2018
Offline
i am using ffmpeg encode to trim an audio file, but when i already have a file i get this warning

"File 'F:/myfile.mp3' already exists. Overwrite ? (y/N) Not overwriting - exiting"

can i say Yes somehow instead of exiting?

I am using the custom command set to this:

ffmpeg -ss `chs("../trim_timestamp1")` -i "`chs("../audio")`" -to `chs("../trim_timestamp2")` "`chs("outputfilepath")`"
Edited by papsphilip - 2024年3月20日 06:50:07
User Avatar
スタッフ
586 posts
Joined: 5月 2014
Offline
That's covered by the ffmpeg documentation: https://ffmpeg.org/ffmpeg.html#Main-options [ffmpeg.org]

-y (global) Overwrite output files without asking.
  • Quick Links