[FFmpeg-devel] [PATCH 1/1] fftools/ffmpeg_opt: Exit with non-zero status when destination exists

Marth64 marth64 at proxyid.net
Thu Feb 6 20:21:11 EET 2025


Leo:
> If you do, you should consider not just -nostdin but also if reading
> from stdin like a pipe, e.g. ffmpeg -i - .... foo.mkv
> this will exit with success if foo.mkv exists without asking on stdin
> (as you'd expect it to not, cause it's reading from stdin)

Agreed, that sounds logical.
I'll look into it.


More information about the ffmpeg-devel mailing list