Useful for mimicking the ffmpeg -i FILE syntax.
Unified · Split
| @@ -108,6 +108,9 @@ multimedia stream. · 107 unmodified lines | ||
| 108 | 108 | Each media stream information is printed within a dedicated section |
| 109 | 109 | with name "STREAM". |
| 110 | 110 | |
| 111 | +@item -i @var{input_file} | |
| 112 | +Read @var{input_file}. | |
| 113 | + | |
| 111 | 114 | @end table |
| 112 | 115 | @c man end |
| 113 | 116 | |
| @@ -385,6 +385,7 @@ static const OptionDef options[] = { · 384 unmodified lines | ||
| 385 | 385 | { "show_packets", OPT_BOOL, {(void*)&do_show_packets}, "show packets info" }, |
| 386 | 386 | { "show_streams", OPT_BOOL, {(void*)&do_show_streams}, "show streams info" }, |
| 387 | 387 | { "default", HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" }, |
| 388 | + { "i", HAS_ARG, {(void *)opt_input_file}, "read specified file", "input_file"}, | |
| 388 | 389 | { NULL, }, |
| 389 | 390 | }; |
| 390 | 391 | |