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
108108 Each media stream information is printed within a dedicated section
109109 with name "STREAM".
110110
111+@item -i @var{input_file}
112+Read @var{input_file}.
113+
111114 @end table
112115 @c man end
113116
ffprobe.c+1−0
@@ -385,6 +385,7 @@ static const OptionDef options[] = { · 384 unmodified lines
385385 { "show_packets", OPT_BOOL, {(void*)&do_show_packets}, "show packets info" },
386386 { "show_streams", OPT_BOOL, {(void*)&do_show_streams}, "show streams info" },
387387 { "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"},
388389 { NULL, },
389390 };
390391

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