00000050
 ?÷     <?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="program_version"  type="ffprobe:programVersionType"  minOccurs="0" maxOccurs="1" />
            <xsd:element name="library_versions" type="ffprobe:libraryVersionsType" minOccurs="0" maxOccurs="1" />
            <xsd:element name="pixel_formats"    type="ffprobe:pixelFormatsType"    minOccurs="0" maxOccurs="1" />
            <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="packets_and_frames" type="ffprobe:packetsAndFramesType" minOccurs="0" maxOccurs="1" />
            <xsd:element name="programs" type="ffprobe:programsType" 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:sequence>
    </xsd:complexType>

    <xsd:complexType name="packetsType">
        <xsd:sequence>
            <xsd:element name="packet" type="ffprobe:packetType" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="framesType">
        <xsd:choice minOccurs="0" maxOccurs="unbounded">
            <xsd:element name="frame"    type="ffprobe:frameType"/>
            <xsd:element name="subtitle" type="ffprobe:subtitleType"/>
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="packetsAndFramesType">
        <xsd:choice minOccurs="0" maxOccurs="unbounded">
            <xsd:element name="packet"   type="ffprobe:packetType"/>
            <xsd:element name="frame"    type="ffprobe:frameType"/>
            <xsd:element name="subtitle" type="ffprobe:subtitleType"/>
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="packetType">
      <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>

      <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" />
      <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" />
      <xsd:attribute name="data"          type="xsd:string" />
      <xsd:attribute name="data_hash"     type="xsd:string" />
    </xsd:complexType>

    <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>

    <xsd:complexType name="