You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
ffmpeg: add -(no)stdin option.
Allows to disable interaction from standard input. Useful, for example, if ffmpeg is in the background process group. Roughly the same result can be achieved with "ffmpeg ... < /dev/null" but it requires a shell.
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@@ -5878,6 +5878,8 @@ static const OptionDef options[] = {
|
||||
"add timings for each task" },
|
||||
{ "progress", HAS_ARG | OPT_EXPERT, {(void*)opt_progress},
|
||||
"write program-readable progress information", "url" },
|
||||
{ "stdin", OPT_BOOL | OPT_EXPERT, {(void*)&stdin_interaction},
|
||||
"enable or disable interaction on standard input" },
|
||||
{ "timelimit", HAS_ARG, {(void*)opt_timelimit}, "set max runtime in seconds", "limit" },
|
||||
{ "dump", OPT_BOOL | OPT_EXPERT, {(void*)&do_pkt_dump},
|
||||
"dump each input packet" },
|
||||
|
||||
Reference in New Issue
Block a user