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

2017-10-16 Thread Carl Eugen Hoyos
2017-10-16 23:34 GMT+02:00 Douglas Marsh : > Should the "-y (global) > Overwrite output files without asking." be enough? Definitely. Discussing this further here makes no sense, feel free to send a patch to the development mailing list that changes the current behaviour. Carl

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

2017-10-16 Thread Douglas Marsh
On 2017-10-11 11:01, DopeLabs wrote: ffmpeg commands are all structured in a specific and standardized way [...] in your example $ ffmpeg -i input.mp4 [...] -yo output.mov ffmpeg -i input.mp4 [..] output.mov works just fine no need to add -y because .mov is a different filename I think

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

2017-10-11 Thread DopeLabs
ffmpeg commands are all structured in a specific and standardized way a few bits from the description on the man page ffmpeg [global_options] {[input_file_options] -i input_url} ... {[output_file_options] output_url} ... ffmpeg reads from an arbitrary number of input "files" (which can be

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

2017-10-11 Thread Douglas Marsh
On 2017-10-10 18:18, Mikhail V wrote: James Girotti wrote: Sure, I am. But anybody can miss the typo, and its not so easy to notice in console or text editor, its just two chars in a pile of chars. Perhaps then add a new switch.. something *like* $ ffmpeg -i input.mp4 [...] -yo output.mov

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

2017-10-10 Thread Gyan Doshi
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 paths and exit with an error. This is ticket #4655. https://trac.ffmpeg.org/ticket/4655 Occasionally, a user does this deliberately,

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

2017-10-10 Thread Mikhail V
James Girotti wrote: > On Tue, Oct 10, 2017 at 4:40 PM, Mikhail V wrote: > > > Currently it is possible to delete the input file if I specify same > > filename in output, > > for example: > > > > ffmpeg -y -i input input > > > > Aren't you specifying that with '-y' you want to "overwrite output

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

2017-10-10 Thread James Girotti
On Tue, Oct 10, 2017 at 4:40 PM, Mikhail V wrote: > Currently it is possible to delete the input file if I specify same > filename in output, > for example: > > ffmpeg -y -i input input > Aren't you specifying that with '-y' you want to "overwrite output file without

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

2017-10-10 Thread Lou
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 > paths > and exit with an error. This is ticket #4655. https://trac.ffmpeg.org/ticket/4655 ___ ffmpeg-user mailing list