diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-01-01 17:19:58 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-01-10 18:24:07 +0100 |
commit | 5226be0dd5167581277857fa267c7ad32a1aefaa (patch) | |
tree | 66017bfe1325df66458df5eeb0f65c4961763c64 /doc | |
parent | d3e435164b0d86cf37290be6bbd22610342f936d (diff) | |
download | ffmpeg-5226be0dd5167581277857fa267c7ad32a1aefaa.tar.gz |
ffprobe: add -show_program_version and -show_library_versions options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ffprobe.texi | 17 | ||||
-rw-r--r-- | doc/ffprobe.xsd | 26 |
2 files changed, 43 insertions, 0 deletions
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index a49c3f803c..66e3755118 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -133,6 +133,23 @@ particular shown element. This option is enabled by default, but you may need to disable it for specific uses, for example when creating XSD-compliant XML output. +@item -show_program_version +Show information related to program version. + +Version information is printed within a section with name +"PROGRAM_VERSION". + +@item -show_library_versions +Show information related to library versions. + +Version information for each library is printed within a section with +name "LIBRARY_VERSION". + +@item -show_versions +Show information related to program and library versions. This is the +equivalent of setting both @option{-show_program_version} and +@option{-show_library_versions} options. + @item -i @var{input_file} Read @var{input_file}. diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index d6947649ff..e8269de333 100644 --- a/doc/ffprobe.xsd +++ b/doc/ffprobe.xsd @@ -13,6 +13,8 @@ <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:element name="program_version" type="ffprobe:programVersionType" minOccurs="0" maxOccurs="1" /> + <xsd:element name="library_versions" type="ffprobe:libraryVersionsType" minOccurs="0" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> @@ -131,4 +133,28 @@ <xsd:attribute name="code" type="xsd:int" use="required"/> <xsd:attribute name="string" type="xsd:string" use="required"/> </xsd:complexType> + + <xsd:complexType name="programVersionType"> + <xsd:attribute name="version" type="xsd:string" use="required"/> + <xsd:attribute name="copyright" type="xsd:string" use="required"/> + <xsd:attribute name="build_date" type="xsd:string" use="required"/> + <xsd:attribute name="build_time" type="xsd:string" use="required"/> + <xsd:attribute name="compiler_type" type="xsd:string" use="required"/> + <xsd:attribute name="compiler_version" type="xsd:string" use="required"/> + <xsd:attribute name="configuration" type="xsd:string" use="required"/> + </xsd:complexType> + + <xsd:complexType name="libraryVersionType"> + <xsd:attribute name="name" type="xsd:string" use="required"/> + <xsd:attribute name="major" type="xsd:int" use="required"/> + <xsd:attribute name="minor" type="xsd:int" use="required"/> + <xsd:attribute name="micro" type="xsd:int" use="required"/> + <xsd:attribute name="version" type="xsd:int" use="required"/> + </xsd:complexType> + + <xsd:complexType name="libraryVersionsType"> + <xsd:sequence> + <xsd:element name="library_version" type="ffprobe:libraryVersionType" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> </xsd:schema> |