diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
| commit | f7813a5324be39d13ab536c245d15dfc602a7849 (patch) | |
| tree | fad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/doc/ffprobe.xsd | |
| parent | b7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff) | |
basic type mechanism working
Diffstat (limited to 'ffmpeg/doc/ffprobe.xsd')
| -rw-r--r-- | ffmpeg/doc/ffprobe.xsd | 66 |
1 files changed, 64 insertions, 2 deletions
diff --git a/ffmpeg/doc/ffprobe.xsd b/ffmpeg/doc/ffprobe.xsd index eab97fb..1bc1fb5 100644 --- a/ffmpeg/doc/ffprobe.xsd +++ b/ffmpeg/doc/ffprobe.xsd @@ -11,6 +11,8 @@ <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="programs" type="ffprobe:programsType" 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" /> @@ -26,7 +28,10 @@ <xsd:complexType name="framesType"> <xsd:sequence> - <xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/> + <xsd:choice minOccurs="0" maxOccurs="unbounded"> + <xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/> + <xsd:element name="subtitle" type="ffprobe:subtitleType" minOccurs="0" maxOccurs="unbounded"/> + </xsd:choice> </xsd:sequence> </xsd:complexType> @@ -56,6 +61,8 @@ <xsd:attribute name="pkt_pts_time" type="xsd:float"/> <xsd:attribute name="pkt_dts" type="xsd:long" /> <xsd:attribute name="pkt_dts_time" type="xsd:float"/> + <xsd:attribute name="best_effort_timestamp" type="xsd:long" /> + <xsd:attribute name="best_effort_timestamp_time" type="xsd:float" /> <xsd:attribute name="pkt_duration" type="xsd:long" /> <xsd:attribute name="pkt_duration_time" type="xsd:float"/> <xsd:attribute name="pkt_pos" type="xsd:long" /> @@ -80,12 +87,28 @@ <xsd:attribute name="repeat_pict" type="xsd:int" /> </xsd:complexType> + <xsd:complexType name="subtitleType"> + <xsd:attribute name="media_type" type="xsd:string" fixed="subtitle" use="required"/> + <xsd:attribute name="pts" type="xsd:long" /> + <xsd:attribute name="pts_time" type="xsd:float"/> + <xsd:attribute name="format" type="xsd:int" /> + <xsd:attribute name="start_display_time" type="xsd:int" /> + <xsd:attribute name="end_display_time" type="xsd:int" /> + <xsd:attribute name="num_rects" type="xsd:int" /> + </xsd:complexType> + <xsd:complexType name="streamsType"> <xsd:sequence> <xsd:element name="stream" type="ffprobe:streamType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> + <xsd:complexType name="programsType"> + <xsd:sequence> + <xsd:element name="program" type="ffprobe:programType" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + <xsd:complexType name="streamDispositionType"> <xsd:attribute name="default" type="xsd:int" use="required" /> <xsd:attribute name="dub" type="xsd:int" use="required" /> @@ -102,8 +125,8 @@ <xsd:complexType name="streamType"> <xsd:sequence> - <xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="disposition" type="ffprobe:streamDispositionType" minOccurs="0" maxOccurs="1"/> + <xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="index" type="xsd:int" use="required"/> @@ -130,6 +153,7 @@ <xsd:attribute name="sample_fmt" type="xsd:string"/> <xsd:attribute name="sample_rate" type="xsd:int"/> <xsd:attribute name="channels" type="xsd:int"/> + <xsd:attribute name="channel_layout" type="xsd:string"/> <xsd:attribute name="bits_per_sample" type="xsd:int"/> <xsd:attribute name="id" type="xsd:string"/> @@ -146,6 +170,23 @@ <xsd:attribute name="nb_read_packets" type="xsd:int"/> </xsd:complexType> + <xsd:complexType name="programType"> + <xsd:sequence> + <xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/> + <xsd:element name="streams" type="ffprobe:streamsType" minOccurs="0" maxOccurs="1"/> + </xsd:sequence> + + <xsd:attribute name="program_id" type="xsd:int" use="required"/> + <xsd:attribute name="program_num" type="xsd:int" use="required"/> + <xsd:attribute name="nb_streams" type="xsd:int" use="required"/> + <xsd:attribute name="start_time" type="xsd:float"/> + <xsd:attribute name="start_pts" type="xsd:long"/> + <xsd:attribute name="end_time" type="xsd:float"/> + <xsd:attribute name="end_pts" type="xsd:long"/> + <xsd:attribute name="pmt_pid" type="xsd:int" use="required"/> + <xsd:attribute name="pcr_pid" type="xsd:int" use="required"/> + </xsd:complexType> + <xsd:complexType name="formatType"> <xsd:sequence> <xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/> @@ -153,12 +194,14 @@ <xsd:attribute name="filename" type="xsd:string" use="required"/> <xsd:attribute name="nb_streams" type="xsd:int" use="required"/> + <xsd:attribute name="nb_programs" type="xsd:int" use="required"/> <xsd:attribute name="format_name" type="xsd:string" use="required"/> <xsd:attribute name="format_long_name" type="xsd:string"/> <xsd:attribute name="start_time" type="xsd:float"/> <xsd:attribute name="duration" type="xsd:float"/> <xsd:attribute name="size" type="xsd:long"/> <xsd:attribute name="bit_rate" type="xsd:long"/> + <xsd:attribute name="probe_score" type="xsd:int"/> </xsd:complexType> <xsd:complexType name="tagType"> @@ -181,6 +224,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"/> |
