diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-06-06 11:54:58 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-06-06 18:49:53 +0400 |
commit | 4da5402256cf01bf130169ff30fdc13d097a0508 (patch) | |
tree | 67409eeb9634a81b07f8c9c49889c43b4c359780 /doc | |
parent | 21d0f75f29ca97b2ca31bd4451f488163a27e24f (diff) |
ffprobe: show chapter and chapter metadata information
Address trac ticket #2636.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ffprobe.texi | 5 | ||||
-rw-r--r-- | doc/ffprobe.xsd | 20 |
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 01e9829148..38517a8890 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -209,6 +209,11 @@ multimedia stream. Each media stream information is printed within a dedicated section with name "STREAM". +@item -show_chapters +Show information about chapters stored in the format. + +Each chapter is printed within a dedicated section with name "CHAPTER". + @item -count_frames Count the number of frames per stream and report it in the corresponding stream section. diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index eab97fb4c4..bd890b1fd0 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="frames" type="ffprobe:framesType" minOccurs="0" maxOccurs="1" /> <xsd:element name="streams" type="ffprobe:streamsType" minOccurs="0" maxOccurs="1" /> + <xsd:element name="chapters" type="ffprobe:chaptersType" 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" /> @@ -181,6 +182,25 @@ <xsd:attribute name="configuration" type="xsd:string" use="required"/> </xsd:complexType> + <xsd:complexType name="chaptersType"> + <xsd:sequence> + <xsd:element name="chapter" type="ffprobe:chapterType" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + + <xsd:complexType name="chapterType"> + <xsd:sequence> + <xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + + <xsd:attribute name="id" type="xsd:int" use="required"/> + <xsd:attribute name="time_base" type="xsd:string" use="required"/> + <xsd:attribute name="start" type="xsd:int" use="required"/> + <xsd:attribute name="start_time" type="xsd:float"/> + <xsd:attribute name="end" type="xsd:int" use="required"/> + <xsd:attribute name="end_time" type="xsd:float" 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"/> |