diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2011-12-29 13:24:59 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-01-04 01:06:28 +0100 |
commit | d6da16dca5a64ed7ab2db54710a0c703f179d3ba (patch) | |
tree | db1894ce7e35cc3c9ac6b67d523cbe5a87266655 /doc | |
parent | 55ed19bf3b651c6215a6ffb20b751dbb3dd8568e (diff) | |
download | ffmpeg-d6da16dca5a64ed7ab2db54710a0c703f179d3ba.tar.gz |
ffprobe: add support to option -show_error
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ffprobe.texi | 5 | ||||
-rw-r--r-- | doc/ffprobe.xsd | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 736c7f06c0..002f91e9a7 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -94,6 +94,11 @@ For example for printing the output in JSON format, specify: For more details on the available output printing formats, see the Writers section below. +@item -show_error +Show information about the error found when trying to probe the input. + +The error information is printed within a section with name "ERROR". + @item -show_format Show information about the container format of the input multimedia stream. diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index 92bc2b1b55..93da1d4429 100644 --- a/doc/ffprobe.xsd +++ b/doc/ffprobe.xsd @@ -11,6 +11,7 @@ <xsd:element name="packets" type="ffprobe:packetsType" minOccurs="0" maxOccurs="1" /> <xsd:element name="streams" type="ffprobe:streamsType" minOccurs="0" maxOccurs="1" /> <xsd:element name="format" type="ffprobe:formatType" minOccurs="0" maxOccurs="1" /> + <xsd:element name="error" type="ffprobe:errorType" minOccurs="0" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> @@ -93,4 +94,9 @@ <xsd:attribute name="key" type="xsd:string" use="required"/> <xsd:attribute name="value" type="xsd:string" use="required"/> </xsd:complexType> + + <xsd:complexType name="errorType"> + <xsd:attribute name="code" type="xsd:int" use="required"/> + <xsd:attribute name="string" type="xsd:string" use="required"/> + </xsd:complexType> </xsd:schema> |