Am 16.08.24 um 11:43 schrieb Reindl Harald:
Am 15.08.24 um 23:53 schrieb Ulf Zibis:
Am 15.08.24 um 23:39 schrieb Greg Oliver:
On Thu, Aug 15, 2024 at 12:02 PM Nicolas George <geo...@nsup.org> wrote:
Ulf Zibis (12024-08-14):
But for convenience FFmpeg CLI provides option `-y` for this task
No, it does not. The -y option only disables a very simple, unreliable
but convenient safety measure. It does not delete anything.
It actually will overwrite the output file if it already exists.
Which is exactly what I mean by "delete".
but there is no delete action
You can spin it however you like. The logic around the ‘-y’ option requires an
extra additional OS call, in this case querying the existence of the file,
before it is overwritten.
Even more ... if the option is not set, a console output must be initiated and
the user's input must be parsed too. With the option I suggested, this would
not be necessary.
Some of you argue, that "OS / file system tasks" should not be in the scope of
FFmpeg CLI.
To me, "deleting/overwriting existing files" and "preserving file times from input to
output" are *both* "OS / file system tasks"
what a nonsense - each and every application overwrites files when you press
"save"
When you think of "press", then we are in the GUI world. Most GUI applications
I know, ask explicitly before overwriting.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".