[FFmpeg-user] feature proposal - avoid overwriting the input file

Mikhail V mikhailwas at gmail.com
Wed Oct 11 02:40:23 EEST 2017


Currently it is possible to delete the input file if I specify same
filename in output,
for example:

ffmpeg -y -i input input

or simply:
ffmpeg -i input input
(this will promt y/n)

So this will immideately destroy the input file.
It did not happened with me often, but still happened a pair of times.
Was quite funny actually :) Funniest thing that I could not recover the file
because it is same name.

So, it would be nice if ffmpeg compare the output path with all input paths
and exit with an error.


Mikhail


More information about the ffmpeg-user mailing list