2011-10-08 22:24:31 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
|
|
targetNamespace="http://www.ffmpeg.org/schema/ffprobe"
|
|
|
|
xmlns:ffprobe="http://www.ffmpeg.org/schema/ffprobe">
|
|
|
|
|
|
|
|
<xsd:element name="ffprobe" type="ffprobe:ffprobeType"/>
|
|
|
|
|
|
|
|
<xsd:complexType name="ffprobeType">
|
|
|
|
<xsd:sequence>
|
2014-07-02 01:49:11 +00:00
|
|
|
<xsd:element name="program_version" type="ffprobe:programVersionType" minOccurs="0" maxOccurs="1" />
|
|
|
|
<xsd:element name="library_versions" type="ffprobe:libraryVersionsType" minOccurs="0" maxOccurs="1" />
|
2014-09-11 07:16:52 +00:00
|
|
|
<xsd:element name="pixel_formats" type="ffprobe:pixelFormatsType" minOccurs="0" maxOccurs="1" />
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:element name="packets" type="ffprobe:packetsType" minOccurs="0" maxOccurs="1" />
|
2012-01-05 00:04:14 +00:00
|
|
|
<xsd:element name="frames" type="ffprobe:framesType" minOccurs="0" maxOccurs="1" />
|
2014-10-23 13:17:55 +00:00
|
|
|
<xsd:element name="packets_and_frames" type="ffprobe:packetsAndFramesType" minOccurs="0" maxOccurs="1" />
|
2013-07-25 10:55:40 +00:00
|
|
|
<xsd:element name="programs" type="ffprobe:programsType" minOccurs="0" maxOccurs="1" />
|
2014-07-02 01:49:11 +00:00
|
|
|
<xsd:element name="streams" type="ffprobe:streamsType" minOccurs="0" maxOccurs="1" />
|
2013-06-06 07:54:58 +00:00
|
|
|
<xsd:element name="chapters" type="ffprobe:chaptersType" minOccurs="0" maxOccurs="1" />
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:element name="format" type="ffprobe:formatType" minOccurs="0" maxOccurs="1" />
|
2011-12-29 12:24:59 +00:00
|
|
|
<xsd:element name="error" type="ffprobe:errorType" minOccurs="0" maxOccurs="1" />
|
2011-10-08 22:24:31 +00:00
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
<xsd:complexType name="packetsType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="packet" type="ffprobe:packetType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2012-01-05 00:04:14 +00:00
|
|
|
<xsd:complexType name="framesType">
|
|
|
|
<xsd:sequence>
|
2013-11-24 14:09:52 +00:00
|
|
|
<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>
|
2012-01-05 00:04:14 +00:00
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2014-10-23 13:17:55 +00:00
|
|
|
<xsd:complexType name="packetsAndFramesType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
|
|
|
<xsd:element name="packet" type="ffprobe:packetType" 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>
|
|
|
|
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:complexType name="packetType">
|
2015-05-02 22:40:50 +00:00
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
<xsd:element name="side_data_list" type="ffprobe:packetSideDataListType" minOccurs="0" maxOccurs="1" />
|
|
|
|
</xsd:sequence>
|
|
|
|
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="codec_type" type="xsd:string" use="required" />
|
|
|
|
<xsd:attribute name="stream_index" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="pts" type="xsd:long" />
|
|
|
|
<xsd:attribute name="pts_time" type="xsd:float" />
|
|
|
|
<xsd:attribute name="dts" type="xsd:long" />
|
|
|
|
<xsd:attribute name="dts_time" type="xsd:float" />
|
|
|
|
<xsd:attribute name="duration" type="xsd:long" />
|
|
|
|
<xsd:attribute name="duration_time" type="xsd:float" />
|
2012-06-17 15:16:48 +00:00
|
|
|
<xsd:attribute name="convergence_duration" type="xsd:long" />
|
|
|
|
<xsd:attribute name="convergence_duration_time" type="xsd:float" />
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="size" type="xsd:long" use="required" />
|
|
|
|
<xsd:attribute name="pos" type="xsd:long" />
|
|
|
|
<xsd:attribute name="flags" type="xsd:string" use="required" />
|
2012-07-31 09:53:30 +00:00
|
|
|
<xsd:attribute name="data" type="xsd:string" />
|
2014-04-21 15:49:33 +00:00
|
|
|
<xsd:attribute name="data_hash" type="xsd:string" />
|
2011-10-08 22:24:31 +00:00
|
|
|
</xsd:complexType>
|
|
|
|
|
2015-05-02 22:40:50 +00:00
|
|
|
<xsd:complexType name="packetSideDataListType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="side_data" type="ffprobe:packetSideDataType" minOccurs="1" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="packetSideDataType">
|
|
|
|
<xsd:attribute name="side_data_type" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="side_data_size" type="xsd:int" />
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2012-01-05 00:04:14 +00:00
|
|
|
<xsd:complexType name="frameType">
|
2014-07-02 01:49:11 +00:00
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/>
|
2017-03-14 16:59:43 +00:00
|
|
|
<xsd:element name="logs" type="ffprobe:logsType" minOccurs="0" maxOccurs="1"/>
|
2014-01-29 23:54:36 +00:00
|
|
|
<xsd:element name="side_data_list" type="ffprobe:frameSideDataListType" minOccurs="0" maxOccurs="1" />
|
2014-07-02 01:49:11 +00:00
|
|
|
</xsd:sequence>
|
|
|
|
|
2012-01-05 00:04:14 +00:00
|
|
|
<xsd:attribute name="media_type" type="xsd:string" use="required"/>
|
2015-05-26 00:46:12 +00:00
|
|
|
<xsd:attribute name="stream_index" type="xsd:int" />
|
2012-01-05 00:04:14 +00:00
|
|
|
<xsd:attribute name="key_frame" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="pts" type="xsd:long" />
|
|
|
|
<xsd:attribute name="pts_time" type="xsd:float"/>
|
|
|
|
<xsd:attribute name="pkt_pts" type="xsd:long" />
|
|
|
|
<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"/>
|
2013-11-28 10:24:34 +00:00
|
|
|
<xsd:attribute name="best_effort_timestamp" type="xsd:long" />
|
|
|
|
<xsd:attribute name="best_effort_timestamp_time" type="xsd:float" />
|
2012-03-08 14:26:57 +00:00
|
|
|
<xsd:attribute name="pkt_duration" type="xsd:long" />
|
|
|
|
<xsd:attribute name="pkt_duration_time" type="xsd:float"/>
|
2012-01-05 00:04:14 +00:00
|
|
|
<xsd:attribute name="pkt_pos" type="xsd:long" />
|
2012-12-14 10:59:13 +00:00
|
|
|
<xsd:attribute name="pkt_size" type="xsd:int" />
|
2012-01-05 00:04:14 +00:00
|
|
|
|
2012-01-10 21:44:32 +00:00
|
|
|
<!-- audio attributes -->
|
|
|
|
<xsd:attribute name="sample_fmt" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="nb_samples" type="xsd:long" />
|
2012-07-30 13:53:14 +00:00
|
|
|
<xsd:attribute name="channels" type="xsd:int" />
|
|
|
|
<xsd:attribute name="channel_layout" type="xsd:string"/>
|
2012-01-10 21:44:32 +00:00
|
|
|
|
2012-01-05 00:04:14 +00:00
|
|
|
<!-- video attributes -->
|
|
|
|
<xsd:attribute name="width" type="xsd:long" />
|
|
|
|
<xsd:attribute name="height" type="xsd:long" />
|
|
|
|
<xsd:attribute name="pix_fmt" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="sample_aspect_ratio" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="pict_type" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="coded_picture_number" type="xsd:long" />
|
|
|
|
<xsd:attribute name="display_picture_number" type="xsd:long" />
|
|
|
|
<xsd:attribute name="interlaced_frame" type="xsd:int" />
|
|
|
|
<xsd:attribute name="top_field_first" type="xsd:int" />
|
|
|
|
<xsd:attribute name="repeat_pict" type="xsd:int" />
|
2017-07-20 12:37:44 +00:00
|
|
|
<xsd:attribute name="color_range" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="color_space" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="color_primaries" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="color_transfer" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="chroma_location" type="xsd:string"/>
|
2012-01-05 00:04:14 +00:00
|
|
|
</xsd:complexType>
|
|
|
|
|
2017-03-14 16:59:43 +00:00
|
|
|
<xsd:complexType name="logsType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="log" type="ffprobe:logType" minOccurs="1" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="logType">
|
|
|
|
<xsd:attribute name="context" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="level" type="xsd:int" />
|
|
|
|
<xsd:attribute name="category" type="xsd:int" />
|
|
|
|
<xsd:attribute name="parent_context" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="parent_category" type="xsd:int" />
|
|
|
|
<xsd:attribute name="message" type="xsd:string"/>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2014-01-29 23:54:36 +00:00
|
|
|
<xsd:complexType name="frameSideDataListType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="side_data" type="ffprobe:frameSideDataType" minOccurs="1" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="frameSideDataType">
|
2019-05-24 07:46:50 +00:00
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="timecodes" type="ffprobe:frameSideDataTimecodeList" minOccurs="0" maxOccurs="1"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
|
2014-01-29 23:54:36 +00:00
|
|
|
<xsd:attribute name="side_data_type" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="side_data_size" type="xsd:int" />
|
2016-06-07 23:53:40 +00:00
|
|
|
<xsd:attribute name="timecode" type="xsd:string"/>
|
2014-01-29 23:54:36 +00:00
|
|
|
</xsd:complexType>
|
|
|
|
|
2019-05-24 07:46:50 +00:00
|
|
|
<xsd:complexType name="frameSideDataTimecodeList">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="timecode" type="ffprobe:frameSideDataTimecodeType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
<xsd:complexType name="frameSideDataTimecodeType">
|
|
|
|
<xsd:attribute name="value" type="xsd:string"/>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2013-11-24 14:09:52 +00:00
|
|
|
<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>
|
|
|
|
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:complexType name="streamsType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="stream" type="ffprobe:streamType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2013-07-25 10:55:40 +00:00
|
|
|
<xsd:complexType name="programsType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="program" type="ffprobe:programType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2012-09-26 10:30:08 +00:00
|
|
|
<xsd:complexType name="streamDispositionType">
|
|
|
|
<xsd:attribute name="default" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="dub" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="original" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="comment" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="lyrics" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="karaoke" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="forced" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="hearing_impaired" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="visual_impaired" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="clean_effects" type="xsd:int" use="required" />
|
|
|
|
<xsd:attribute name="attached_pic" type="xsd:int" use="required" />
|
2016-10-24 10:47:05 +00:00
|
|
|
<xsd:attribute name="timed_thumbnails" type="xsd:int" use="required" />
|
2012-09-26 10:30:08 +00:00
|
|
|
</xsd:complexType>
|
|
|
|
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:complexType name="streamType">
|
2012-07-31 09:53:30 +00:00
|
|
|
<xsd:sequence>
|
2012-09-26 10:30:08 +00:00
|
|
|
<xsd:element name="disposition" type="ffprobe:streamDispositionType" minOccurs="0" maxOccurs="1"/>
|
2013-07-28 13:54:35 +00:00
|
|
|
<xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/>
|
2015-05-02 22:40:50 +00:00
|
|
|
<xsd:element name="side_data_list" type="ffprobe:packetSideDataListType" minOccurs="0" maxOccurs="1" />
|
|
|
|
</xsd:sequence>
|
2012-07-31 09:53:30 +00:00
|
|
|
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="index" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="codec_name" type="xsd:string" />
|
|
|
|
<xsd:attribute name="codec_long_name" type="xsd:string" />
|
2012-05-25 13:01:59 +00:00
|
|
|
<xsd:attribute name="profile" type="xsd:string" />
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="codec_type" type="xsd:string" />
|
|
|
|
<xsd:attribute name="codec_time_base" type="xsd:string" use="required"/>
|
|
|
|
<xsd:attribute name="codec_tag" type="xsd:string" use="required"/>
|
|
|
|
<xsd:attribute name="codec_tag_string" type="xsd:string" use="required"/>
|
2012-07-31 09:53:30 +00:00
|
|
|
<xsd:attribute name="extradata" type="xsd:string" />
|
2014-04-21 15:49:33 +00:00
|
|
|
<xsd:attribute name="extradata_hash" type="xsd:string" />
|
2011-10-08 22:24:31 +00:00
|
|
|
|
|
|
|
<!-- video attributes -->
|
|
|
|
<xsd:attribute name="width" type="xsd:int"/>
|
|
|
|
<xsd:attribute name="height" type="xsd:int"/>
|
2015-03-08 22:43:40 +00:00
|
|
|
<xsd:attribute name="coded_width" type="xsd:int"/>
|
|
|
|
<xsd:attribute name="coded_height" type="xsd:int"/>
|
2020-04-29 16:14:33 +00:00
|
|
|
<xsd:attribute name="closed_captions" type="xsd:boolean"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="has_b_frames" type="xsd:int"/>
|
|
|
|
<xsd:attribute name="sample_aspect_ratio" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="display_aspect_ratio" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="pix_fmt" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="level" type="xsd:int"/>
|
2014-06-17 07:01:07 +00:00
|
|
|
<xsd:attribute name="color_range" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="color_space" type="xsd:string"/>
|
2014-10-10 02:36:03 +00:00
|
|
|
<xsd:attribute name="color_transfer" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="color_primaries" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="chroma_location" type="xsd:string"/>
|
2016-10-04 04:49:09 +00:00
|
|
|
<xsd:attribute name="field_order" type="xsd:string"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="timecode" type="xsd:string"/>
|
2014-12-29 11:23:02 +00:00
|
|
|
<xsd:attribute name="refs" type="xsd:int"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
|
|
|
|
<!-- audio attributes -->
|
|
|
|
<xsd:attribute name="sample_fmt" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="sample_rate" type="xsd:int"/>
|
|
|
|
<xsd:attribute name="channels" type="xsd:int"/>
|
2013-10-01 21:42:07 +00:00
|
|
|
<xsd:attribute name="channel_layout" type="xsd:string"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="bits_per_sample" type="xsd:int"/>
|
|
|
|
|
|
|
|
<xsd:attribute name="id" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="r_frame_rate" type="xsd:string" use="required"/>
|
|
|
|
<xsd:attribute name="avg_frame_rate" type="xsd:string" use="required"/>
|
|
|
|
<xsd:attribute name="time_base" type="xsd:string" use="required"/>
|
2012-09-08 11:00:13 +00:00
|
|
|
<xsd:attribute name="start_pts" type="xsd:long"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="start_time" type="xsd:float"/>
|
2012-09-08 11:00:13 +00:00
|
|
|
<xsd:attribute name="duration_ts" type="xsd:long"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="duration" type="xsd:float"/>
|
2012-02-06 10:58:14 +00:00
|
|
|
<xsd:attribute name="bit_rate" type="xsd:int"/>
|
2014-06-01 16:36:36 +00:00
|
|
|
<xsd:attribute name="max_bit_rate" type="xsd:int"/>
|
2014-09-08 15:45:57 +00:00
|
|
|
<xsd:attribute name="bits_per_raw_sample" type="xsd:int"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="nb_frames" type="xsd:int"/>
|
2012-02-01 15:23:53 +00:00
|
|
|
<xsd:attribute name="nb_read_frames" type="xsd:int"/>
|
|
|
|
<xsd:attribute name="nb_read_packets" type="xsd:int"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
</xsd:complexType>
|
|
|
|
|
2013-07-25 10:55:40 +00:00
|
|
|
<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>
|
|
|
|
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:complexType name="formatType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
|
|
|
|
<xsd:attribute name="filename" type="xsd:string" use="required"/>
|
|
|
|
<xsd:attribute name="nb_streams" type="xsd:int" use="required"/>
|
2013-09-01 09:28:56 +00:00
|
|
|
<xsd:attribute name="nb_programs" type="xsd:int" use="required"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
<xsd:attribute name="format_name" type="xsd:string" use="required"/>
|
2012-09-21 23:42:29 +00:00
|
|
|
<xsd:attribute name="format_long_name" type="xsd:string"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
<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"/>
|
2013-08-28 22:28:26 +00:00
|
|
|
<xsd:attribute name="probe_score" type="xsd:int"/>
|
2011-10-08 22:24:31 +00:00
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
<xsd:complexType name="tagType">
|
|
|
|
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
|
|
<xsd:attribute name="value" type="xsd:string" use="required"/>
|
|
|
|
</xsd:complexType>
|
2011-12-29 12:24:59 +00:00
|
|
|
|
|
|
|
<xsd:complexType name="errorType">
|
|
|
|
<xsd:attribute name="code" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="string" type="xsd:string" use="required"/>
|
|
|
|
</xsd:complexType>
|
2012-01-01 16:19:58 +00:00
|
|
|
|
|
|
|
<xsd:complexType name="programVersionType">
|
|
|
|
<xsd:attribute name="version" type="xsd:string" use="required"/>
|
|
|
|
<xsd:attribute name="copyright" type="xsd:string" use="required"/>
|
2015-05-12 20:52:55 +00:00
|
|
|
<xsd:attribute name="build_date" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="build_time" type="xsd:string"/>
|
2014-07-02 01:49:11 +00:00
|
|
|
<xsd:attribute name="compiler_ident" type="xsd:string" use="required"/>
|
2012-01-01 16:19:58 +00:00
|
|
|
<xsd:attribute name="configuration" type="xsd:string" use="required"/>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2013-06-06 07:54:58 +00:00
|
|
|
<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>
|
|
|
|
|
2012-01-01 16:19:58 +00:00
|
|
|
<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"/>
|
2012-09-28 18:05:18 +00:00
|
|
|
<xsd:attribute name="ident" type="xsd:string" use="required"/>
|
2012-01-01 16:19:58 +00:00
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
<xsd:complexType name="libraryVersionsType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="library_version" type="ffprobe:libraryVersionType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
2014-09-11 07:16:52 +00:00
|
|
|
|
2014-09-15 15:15:17 +00:00
|
|
|
<xsd:complexType name="pixelFormatFlagsType">
|
|
|
|
<xsd:attribute name="big_endian" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="palette" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="bitstream" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="hwaccel" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="planar" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="rgb" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="pseudopal" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="alpha" type="xsd:int" use="required"/>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2014-09-15 15:15:42 +00:00
|
|
|
<xsd:complexType name="pixelFormatComponentType">
|
|
|
|
<xsd:attribute name="index" type="xsd:int" use="required"/>
|
|
|
|
<xsd:attribute name="bit_depth" type="xsd:int" use="required"/>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
<xsd:complexType name="pixelFormatComponentsType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="component" type="ffprobe:pixelFormatComponentType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2014-09-11 07:16:52 +00:00
|
|
|
<xsd:complexType name="pixelFormatType">
|
2014-09-15 15:15:17 +00:00
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="flags" type="ffprobe:pixelFormatFlagsType" minOccurs="0" maxOccurs="1"/>
|
2014-09-15 15:15:42 +00:00
|
|
|
<xsd:element name="components" type="ffprobe:pixelFormatComponentsType" minOccurs="0" maxOccurs="1"/>
|
2014-09-15 15:15:17 +00:00
|
|
|
</xsd:sequence>
|
|
|
|
|
2014-09-11 07:16:52 +00:00
|
|
|
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
|
|
<xsd:attribute name="nb_components" type="xsd:int" use="required"/>
|
2014-09-15 15:16:03 +00:00
|
|
|
<xsd:attribute name="log2_chroma_w" type="xsd:int"/>
|
|
|
|
<xsd:attribute name="log2_chroma_h" type="xsd:int"/>
|
2014-09-11 07:16:52 +00:00
|
|
|
<xsd:attribute name="bits_per_pixel" type="xsd:int"/>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
<xsd:complexType name="pixelFormatsType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="pixel_format" type="ffprobe:pixelFormatType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
2011-10-08 22:24:31 +00:00
|
|
|
</xsd:schema>
|