[FFmpeg-trac] #4254(ffmpeg:new): Smarter FFmpeg — abort and do not write output when no input is supplied
FFmpeg
trac at avcodec.org
Tue Jan 13 08:52:09 CET 2015
#4254: Smarter FFmpeg — abort and do not write output when no input is supplied
-------------------------------------+----------------------------------
Reporter: zmwangx | Owner:
Type: enhancement | Status: new
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+----------------------------------
Comment (by zmwangx):
Replying to [comment:1 Timothy_Gu]:
> Well it was you the user who typed `-y`.
It makes sense, especially when you are testing something over and over
again, and don't want to confirm each time. And it is especially easy to
make mistakes (e.g., accidentally deleting an `-i` from a long command
line) after you've tested over and over again. After all, in no case —
whether or not `-y` is present — should output be written when no input is
supplied. No one willfully empties a file with `ffmpeg -y`, when there are
much simpler and unambiguous ways like `cat /dev/null >`.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4254#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list