FFmpeg Command - Audio Trim - overwrite files

   416   1   1
User Avatar
Member
385 posts
Joined: July 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 - March 20, 2024 06:50:07
User Avatar
Staff
592 posts
Joined: May 2014
Online
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