History

ffprobe: implement -i FILE option

Useful for mimicking the ffmpeg -i FILE syntax.

Stefano Sabatini committed 15 years ago

Commit cea87fb1 parent 9b032c62 files · +4 −0Browse files

Unified · Split

2 files
  1. doc/ffprobe.texi +3 −0
  2. ffprobe.c +1 −0
doc/ffprobe.texi+3−0
@@ -108,6 +108,9 @@ multimedia stream. · 107 unmodified lines
108Each media stream information is printed within a dedicated section108Each media stream information is printed within a dedicated section
109with name "STREAM".109with name "STREAM".
110 110
111@item -i @var{input_file}
112Read @var{input_file}.
113
111@end table114@end table
112@c man end115@c man end
113 116
ffprobe.c+1−0
@@ -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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t