Am 21.08.24 um 12:48 schrieb Ulf Zibis:
So for 1. it must be additionally:
In case of output file existence 2 additional OS operations are needed and executed: Write a message to system output stream + read and parse users answer from system input stream. As discovered by James Ralston, the current implementation seems not really secure.

And for 2. it must be:
For additional convenience FFmpeg provides option '-y' to prevent the user from manually deal with existing files. This option dependently allows to skip the 2 additional OS operations above.

for the sake of god no - it's the exactly opposite

For convenience ffmpeg saves you from accidently overwrite existing files - in your world the tail wags the dog

[harry@srv-rhsoft:/downloads]$ echo "X" > test.txt
[harry@srv-rhsoft:/downloads]$ cat test.txt
X

[harry@srv-rhsoft:/downloads]$ echo "Y" > test.txt
[harry@srv-rhsoft:/downloads]$ cat test.txt
Y
_______________________________________________
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".

Reply via email to