feature proposal - avoid overwriting the input file
Currently it is possible to delete the input file if I specify same
filename in output,
ffmpeg -y -i input input
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.
On 10/11/2017 5:40 AM, Lou wrote:
> On Tue, Oct 10, 2017, at 03:40 PM, Mikhail V wrote:
>> So, it would be nice if ffmpeg compare the output path with all input
>> and exit with an error.
> This is ticket #4655.
Occasionally, a user does this deliberately, when they're trying to just
add or alter some tags. Dedicated tag editors, in general, don't create
a new file. So, we've had a few users who inadvertently destroyed their
input. Implementing this will avoid those cases.