Class FormatType

java.lang.Object
org.ffmpeg.ffprobe.FormatType

public class FormatType extends Object

Java class for formatType complex type.

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

 <complexType name="formatType">
   <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"/>
       </sequence>
       <attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="nb_streams" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="nb_programs" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="format_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="format_long_name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="bit_rate" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="probe_score" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • tag

      protected List<TagType> tag
    • filename

      protected String filename
    • nbStreams

      protected int nbStreams
    • nbPrograms

      protected int nbPrograms
    • formatName

      protected String formatName
    • formatLongName

      protected String formatLongName
    • startTime

      protected Float startTime
    • duration

      protected Float duration
    • size

      protected Long size
    • bitRate

      protected Long bitRate
    • probeScore

      protected Integer probeScore
  • Constructor Details

    • FormatType

      public FormatType()
  • 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

    • getFilename

      public String getFilename()
      Gets the value of the filename property.
      Returns:
      possible object is String
    • setFilename

      public void setFilename(String value)
      Sets the value of the filename property.
      Parameters:
      value - allowed object is String
    • getNbStreams

      public int getNbStreams()
      Gets the value of the nbStreams property.
    • setNbStreams

      public void setNbStreams(int value)
      Sets the value of the nbStreams property.
    • getNbPrograms

      public int getNbPrograms()
      Gets the value of the nbPrograms property.
    • setNbPrograms

      public void setNbPrograms(int value)
      Sets the value of the nbPrograms property.
    • getFormatName

      public String getFormatName()
      Gets the value of the formatName property.
      Returns:
      possible object is String
    • setFormatName

      public void setFormatName(String value)
      Sets the value of the formatName property.
      Parameters:
      value - allowed object is String
    • getFormatLongName

      public String getFormatLongName()
      Gets the value of the formatLongName property.
      Returns:
      possible object is String
    • setFormatLongName

      public void setFormatLongName(String value)
      Sets the value of the formatLongName property.
      Parameters:
      value - allowed object is String
    • getStartTime

      public Float getStartTime()
      Gets the value of the startTime property.
      Returns:
      possible object is Float
    • setStartTime

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

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

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

      public Long getSize()
      Gets the value of the size property.
      Returns:
      possible object is Long
    • setSize

      public void setSize(Long value)
      Sets the value of the size property.
      Parameters:
      value - allowed object is Long
    • getBitRate

      public Long getBitRate()
      Gets the value of the bitRate property.
      Returns:
      possible object is Long
    • setBitRate

      public void setBitRate(Long value)
      Sets the value of the bitRate property.
      Parameters:
      value - allowed object is Long
    • getProbeScore

      public Integer getProbeScore()
      Gets the value of the probeScore property.
      Returns:
      possible object is Integer
    • setProbeScore

      public void setProbeScore(Integer value)
      Sets the value of the probeScore property.
      Parameters:
      value - allowed object is Integer