2011-10-09 00:24:31 +02: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>
|
|
|
|
<xsd:element name="packets" type="ffprobe:packetsType" minOccurs="0" maxOccurs="1" />
|
2012-01-05 01:04:14 +01:00
|
|
|
<xsd:element name="frames" type="ffprobe:framesType" minOccurs="0" maxOccurs="1" />
|
2011-10-09 00:24:31 +02:00
|
|
|
<xsd:element name="streams" type="ffprobe:streamsType" minOccurs="0" maxOccurs="1" />
|
|
|
|
<xsd:element name="format" type="ffprobe:formatType" minOccurs="0" maxOccurs="1" />
|
2011-12-29 13:24:59 +01:00
|
|
|
<xsd:element name="error" type="ffprobe:errorType" minOccurs="0" maxOccurs="1" />
|
2012-01-01 17:19:58 +01: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" />
|
2011-10-09 00:24:31 +02: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 01:04:14 +01:00
|
|
|
<xsd:complexType name="framesType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2011-10-09 00:24:31 +02:00
|
|
|
<xsd:complexType name="packetType">
|
|
|
|
<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 17:16:48 +02:00
|
|
|
<xsd:attribute name="convergence_duration" type="xsd:long" />
|
|
|
|
<xsd:attribute name="convergence_duration_time" type="xsd:float" />
|
2011-10-09 00:24:31 +02: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 11:53:30 +02:00
|
|
|
<xsd:attribute name="data" type="xsd:string" />
|
2011-10-09 00:24:31 +02:00
|
|
|
</xsd:complexType>
|
|
|
|
|
2012-01-05 01:04:14 +01:00
|
|
|
<xsd:complexType name="frameType">
|
|
|
|
<xsd:attribute name="media_type" type="xsd:string" use="required"/>
|
|
|
|
<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"/>
|
2012-03-08 15:26:57 +01:00
|
|
|
<xsd:attribute name="pkt_duration" type="xsd:long" />
|
|
|
|
<xsd:attribute name="pkt_duration_time" type="xsd:float"/>
|
2012-01-05 01:04:14 +01:00
|
|
|
<xsd:attribute name="pkt_pos" type="xsd:long" />
|
2012-12-14 11:59:13 +01:00
|
|
|
<xsd:attribute name="pkt_size" type="xsd:int" />
|
2012-01-05 01:04:14 +01:00
|
|
|
|
2012-01-10 22:44:32 +01:00
|
|
|
<!-- audio attributes -->
|
|
|
|
<xsd:attribute name="sample_fmt" type="xsd:string"/>
|
|
|
|
<xsd:attribute name="nb_samples" type="xsd:long" />
|
2012-07-30 15:53:14 +02:00
|
|
|
<xsd:attribute name="channels" type="xsd:int" />
|
|
|
|
<xsd:attribute name="channel_layout" type="xsd:string"/>
|
2012-01-10 22:44:32 +01:00
|
|
|
|
2012-01-05 01:04:14 +01: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" />
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2011-10-09 00:24:31 +02:00
|
|
|
<xsd:complexType name="streamsType">
|
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="stream" type="ffprobe:streamType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
</xsd:sequence>
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2012-09-26 12:30:08 +02: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" />
|
|
|
|
</xsd:complexType>
|
|
|
|
|
2011-10-09 00:24:31 +02:00
|
|
|
<xsd:complexType name="streamType">
|
2012-07-31 11:53:30 +02:00
|
|
|
<xsd:sequence>
|
|
|
|
<xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/>
|
2012-09-26 12:30:08 +02:00
|
|
|
<xsd:element name="disposition" type="ffprobe:streamDispositionType" minOccurs="0" maxOccurs="1"/>
|
2012-07-31 11:53:30 +02:00
|
|
|
</xsd:sequence>
|
|
|
|
|
2011-10-09 00:24:31 +02: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 15:01:59 +02:00
|
|
|
<xsd:attribute name="profile" type="xsd:string" />
|
2011-10-09 00:24:31 +02: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 11:53:30 +02:00
|
|
|
<xsd:attribute name="extradata" type="xsd:string" />
|
2011-10-09 00:24:31 +02:00
|
|
|
|
|
|
|
<!-- video attributes -->
|
|
|
|
<xsd:attribute name="width" type="xsd:int"/>
|
|
|
|
<xsd:attribute name="height" type="xsd:int"/>
|
|
|
|
<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"/>
|
|
|
|
<xsd:attribute name="timecode" type="xsd:string"/>
|
|
|
|
|
|
|
|
<!-- 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"/>
|
|
|
|
<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 13:00:13 +02:00
|
|
|
<xsd:attribute name="start_pts" type="xsd:long"/>
|
2011-10-09 00:24:31 +02:00
|
|
|
<xsd:attribute name="start_time" type="xsd:float"/>
|
2012-09-08 13:00:13 +02:00
|
|
|
<xsd:attribute name="duration_ts" type="xsd:long"/>
|
2011-10-09 00:24:31 +02:00
|
|
|
<xsd:attribute name="duration" type="xsd:float"/>
|
2012-02-06 11:58:14 +01:00
|
|
|
<xsd:attribute name="bit_rate" type="xsd:int"/>
|
2011-10-09 00:24:31 +02:00
|
|
|
<xsd:attribute name="nb_frames" type="xsd:int"/>
|
2012-02-01 16:23:53 +01:00
|
|
|
<xsd:attribute name="nb_read_frames" type="xsd:int"/>
|
|
|
|
<xsd:attribute name="nb_read_packets" type="xsd:int"/>
|
2011-10-09 00:24:31 +02:00
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
<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"/>
|
|
|
|
<xsd:attribute name="format_name" type="xsd:string" use="required"/>
|
2012-09-22 01:42:29 +02:00
|
|
|
<xsd:attribute name="format_long_name" type="xsd:string"/>
|
2011-10-09 00:24:31 +02: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"/>
|
|
|
|
</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 13:24:59 +01: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 17:19:58 +01:00
|
|
|
|
|
|
|
<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"/>
|
2012-09-28 20:05:18 +02:00
|
|
|
<xsd:attribute name="ident" type="xsd:string" use="required"/>
|
2012-01-01 17:19:58 +01: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>
|
2011-10-09 00:24:31 +02:00
|
|
|
</xsd:schema>
|