Class PacketType

java.lang.Object
org.ffmpeg.ffprobe436.PacketType

public class PacketType extends Object

Java class for packetType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="packetType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tag" type="{http://www.ffmpeg.org/schema/ffprobe}tagType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="side_data_list" type="{http://www.ffmpeg.org/schema/ffprobe}packetSideDataListType" minOccurs="0"/>
       </sequence>
       <attribute name="codec_type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="stream_index" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="pts" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="pts_time" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="dts" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="dts_time" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="duration_time" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="convergence_duration" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="convergence_duration_time" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="size" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="pos" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="flags" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="data" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="data_hash" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • tag

      protected List<TagType> tag
    • sideDataList

      protected PacketSideDataListType sideDataList
    • codecType

      protected String codecType
    • streamIndex

      protected int streamIndex
    • pts

      protected Long pts
    • ptsTime

      protected Float ptsTime
    • dts

      protected Long dts
    • dtsTime

      protected Float dtsTime
    • duration

      protected Long duration
    • durationTime

      protected Float durationTime
    • convergenceDuration

      protected Long convergenceDuration
    • convergenceDurationTime

      protected Float convergenceDurationTime
    • size

      protected long size
    • pos

      protected Long pos
    • flags

      protected String flags
    • data

      protected String data
    • dataHash

      protected String dataHash
  • Constructor Details

    • PacketType

      public PacketType()
  • Method Details

    • getTag

      public List<TagType> getTag()
      Gets the value of the tag property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the tag property.

      For example, to add a new item, do as follows:

          getTag().add(newItem);
       

      Objects of the following type(s) are allowed in the list TagType

    • getSideDataList

      public PacketSideDataListType getSideDataList()
      Gets the value of the sideDataList property.
      Returns:
      possible object is PacketSideDataListType
    • setSideDataList

      public void setSideDataList(PacketSideDataListType value)
      Sets the value of the sideDataList property.
      Parameters:
      value - allowed object is PacketSideDataListType
    • getCodecType

      public String getCodecType()
      Gets the value of the codecType property.
      Returns:
      possible object is String
    • setCodecType

      public void setCodecType(String value)
      Sets the value of the codecType property.
      Parameters:
      value - allowed object is String
    • getStreamIndex

      public int getStreamIndex()
      Gets the value of the streamIndex property.
    • setStreamIndex

      public void setStreamIndex(int value)
      Sets the value of the streamIndex property.
    • getPts

      public Long getPts()
      Gets the value of the pts property.
      Returns:
      possible object is Long
    • setPts

      public void setPts(Long value)
      Sets the value of the pts property.
      Parameters:
      value - allowed object is Long
    • getPtsTime

      public Float getPtsTime()
      Gets the value of the ptsTime property.
      Returns:
      possible object is Float
    • setPtsTime

      public void setPtsTime(Float value)
      Sets the value of the ptsTime property.
      Parameters:
      value - allowed object is Float
    • getDts

      public Long getDts()
      Gets the value of the dts property.
      Returns:
      possible object is Long
    • setDts

      public void setDts(Long value)
      Sets the value of the dts property.
      Parameters:
      value - allowed object is Long
    • getDtsTime

      public Float getDtsTime()
      Gets the value of the dtsTime property.
      Returns:
      possible object is Float
    • setDtsTime

      public void setDtsTime(Float value)
      Sets the value of the dtsTime property.
      Parameters:
      value - allowed object is Float
    • getDuration

      public Long getDuration()
      Gets the value of the duration property.
      Returns:
      possible object is Long
    • setDuration

      public void setDuration(Long value)
      Sets the value of the duration property.
      Parameters:
      value - allowed object is Long
    • getDurationTime

      public Float getDurationTime()
      Gets the value of the durationTime property.
      Returns:
      possible object is Float
    • setDurationTime

      public void setDurationTime(Float value)
      Sets the value of the durationTime property.
      Parameters:
      value - allowed object is Float
    • getConvergenceDuration

      public Long getConvergenceDuration()
      Gets the value of the convergenceDuration property.
      Returns:
      possible object is Long
    • setConvergenceDuration

      public void setConvergenceDuration(Long value)
      Sets the value of the convergenceDuration property.
      Parameters:
      value - allowed object is Long
    • getConvergenceDurationTime

      public Float getConvergenceDurationTime()
      Gets the value of the convergenceDurationTime property.
      Returns:
      possible object is Float
    • setConvergenceDurationTime

      public void setConvergenceDurationTime(Float value)
      Sets the value of the convergenceDurationTime property.
      Parameters:
      value - allowed object is Float
    • getSize

      public long getSize()
      Gets the value of the size property.
    • setSize

      public void setSize(long value)
      Sets the value of the size property.
    • getPos

      public Long getPos()
      Gets the value of the pos property.
      Returns:
      possible object is Long
    • setPos

      public void setPos(Long value)
      Sets the value of the pos property.
      Parameters:
      value - allowed object is Long
    • getFlags

      public String getFlags()
      Gets the value of the flags property.
      Returns:
      possible object is String
    • setFlags

      public void setFlags(String value)
      Sets the value of the flags property.
      Parameters:
      value - allowed object is String
    • getData

      public String getData()
      Gets the value of the data property.
      Returns:
      possible object is String
    • setData

      public void setData(String value)
      Sets the value of the data property.
      Parameters:
      value - allowed object is String
    • getDataHash

      public String getDataHash()
      Gets the value of the dataHash property.
      Returns:
      possible object is String
    • setDataHash

      public void setDataHash(String value)
      Sets the value of the dataHash property.
      Parameters:
      value - allowed object is String