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