Class StreamType


  • public class StreamType
    extends Object

    Java class for streamType complex type.

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

     <complexType name="streamType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="disposition" type="{http://www.ffmpeg.org/schema/ffprobe}streamDispositionType" minOccurs="0"/>
             <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="index" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="codec_name" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="codec_long_name" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="codec_type" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="codec_time_base" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="codec_tag" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="codec_tag_string" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="extradata" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="extradata_hash" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="coded_width" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="coded_height" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="has_b_frames" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="sample_aspect_ratio" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="display_aspect_ratio" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="pix_fmt" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="level" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="color_range" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="color_space" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="color_transfer" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="color_primaries" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="chroma_location" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="field_order" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="timecode" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="refs" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="sample_fmt" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="sample_rate" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="channels" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="channel_layout" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="bits_per_sample" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="r_frame_rate" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="avg_frame_rate" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="time_base" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="start_pts" type="{http://www.w3.org/2001/XMLSchema}long" />
           <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="duration_ts" type="{http://www.w3.org/2001/XMLSchema}long" />
           <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="bit_rate" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="max_bit_rate" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="bits_per_raw_sample" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="nb_frames" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="nb_read_frames" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="nb_read_packets" type="{http://www.w3.org/2001/XMLSchema}int" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • index

        protected int index
      • codecName

        protected String codecName
      • codecLongName

        protected String codecLongName
      • profile

        protected String profile
      • codecType

        protected String codecType
      • codecTimeBase

        protected String codecTimeBase
      • codecTag

        protected String codecTag
      • codecTagString

        protected String codecTagString
      • extradata

        protected String extradata
      • extradataHash

        protected String extradataHash
      • codedWidth

        protected Integer codedWidth
      • codedHeight

        protected Integer codedHeight
      • hasBFrames

        protected Integer hasBFrames
      • sampleAspectRatio

        protected String sampleAspectRatio
      • displayAspectRatio

        protected String displayAspectRatio
      • pixFmt

        protected String pixFmt
      • colorRange

        protected String colorRange
      • colorSpace

        protected String colorSpace
      • colorTransfer

        protected String colorTransfer
      • colorPrimaries

        protected String colorPrimaries
      • chromaLocation

        protected String chromaLocation
      • fieldOrder

        protected String fieldOrder
      • timecode

        protected String timecode
      • sampleFmt

        protected String sampleFmt
      • sampleRate

        protected Integer sampleRate
      • channels

        protected Integer channels
      • channelLayout

        protected String channelLayout
      • bitsPerSample

        protected Integer bitsPerSample
      • rFrameRate

        protected String rFrameRate
      • avgFrameRate

        protected String avgFrameRate
      • timeBase

        protected String timeBase
      • startPts

        protected Long startPts
      • startTime

        protected Float startTime
      • durationTs

        protected Long durationTs
      • duration

        protected Float duration
      • bitRate

        protected Integer bitRate
      • maxBitRate

        protected Integer maxBitRate
      • bitsPerRawSample

        protected Integer bitsPerRawSample
      • nbFrames

        protected Integer nbFrames
      • nbReadFrames

        protected Integer nbReadFrames
      • nbReadPackets

        protected Integer nbReadPackets
    • Constructor Detail

      • StreamType

        public StreamType()
    • Method Detail

      • 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

      • getIndex

        public int getIndex()
        Gets the value of the index property.
      • setIndex

        public void setIndex​(int value)
        Sets the value of the index property.
      • getCodecName

        public String getCodecName()
        Gets the value of the codecName property.
        Returns:
        possible object is String
      • setCodecName

        public void setCodecName​(String value)
        Sets the value of the codecName property.
        Parameters:
        value - allowed object is String
      • getCodecLongName

        public String getCodecLongName()
        Gets the value of the codecLongName property.
        Returns:
        possible object is String
      • setCodecLongName

        public void setCodecLongName​(String value)
        Sets the value of the codecLongName property.
        Parameters:
        value - allowed object is String
      • getProfile

        public String getProfile()
        Gets the value of the profile property.
        Returns:
        possible object is String
      • setProfile

        public void setProfile​(String value)
        Sets the value of the profile property.
        Parameters:
        value - allowed object is String
      • 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
      • getCodecTimeBase

        public String getCodecTimeBase()
        Gets the value of the codecTimeBase property.
        Returns:
        possible object is String
      • setCodecTimeBase

        public void setCodecTimeBase​(String value)
        Sets the value of the codecTimeBase property.
        Parameters:
        value - allowed object is String
      • getCodecTag

        public String getCodecTag()
        Gets the value of the codecTag property.
        Returns:
        possible object is String
      • setCodecTag

        public void setCodecTag​(String value)
        Sets the value of the codecTag property.
        Parameters:
        value - allowed object is String
      • getCodecTagString

        public String getCodecTagString()
        Gets the value of the codecTagString property.
        Returns:
        possible object is String
      • setCodecTagString

        public void setCodecTagString​(String value)
        Sets the value of the codecTagString property.
        Parameters:
        value - allowed object is String
      • getExtradata

        public String getExtradata()
        Gets the value of the extradata property.
        Returns:
        possible object is String
      • setExtradata

        public void setExtradata​(String value)
        Sets the value of the extradata property.
        Parameters:
        value - allowed object is String
      • getExtradataHash

        public String getExtradataHash()
        Gets the value of the extradataHash property.
        Returns:
        possible object is String
      • setExtradataHash

        public void setExtradataHash​(String value)
        Sets the value of the extradataHash property.
        Parameters:
        value - allowed object is String
      • getWidth

        public Integer getWidth()
        Gets the value of the width property.
        Returns:
        possible object is Integer
      • setWidth

        public void setWidth​(Integer value)
        Sets the value of the width property.
        Parameters:
        value - allowed object is Integer
      • getHeight

        public Integer getHeight()
        Gets the value of the height property.
        Returns:
        possible object is Integer
      • setHeight

        public void setHeight​(Integer value)
        Sets the value of the height property.
        Parameters:
        value - allowed object is Integer
      • getCodedWidth

        public Integer getCodedWidth()
        Gets the value of the codedWidth property.
        Returns:
        possible object is Integer
      • setCodedWidth

        public void setCodedWidth​(Integer value)
        Sets the value of the codedWidth property.
        Parameters:
        value - allowed object is Integer
      • getCodedHeight

        public Integer getCodedHeight()
        Gets the value of the codedHeight property.
        Returns:
        possible object is Integer
      • setCodedHeight

        public void setCodedHeight​(Integer value)
        Sets the value of the codedHeight property.
        Parameters:
        value - allowed object is Integer
      • getHasBFrames

        public Integer getHasBFrames()
        Gets the value of the hasBFrames property.
        Returns:
        possible object is Integer
      • setHasBFrames

        public void setHasBFrames​(Integer value)
        Sets the value of the hasBFrames property.
        Parameters:
        value - allowed object is Integer
      • getSampleAspectRatio

        public String getSampleAspectRatio()
        Gets the value of the sampleAspectRatio property.
        Returns:
        possible object is String
      • setSampleAspectRatio

        public void setSampleAspectRatio​(String value)
        Sets the value of the sampleAspectRatio property.
        Parameters:
        value - allowed object is String
      • getDisplayAspectRatio

        public String getDisplayAspectRatio()
        Gets the value of the displayAspectRatio property.
        Returns:
        possible object is String
      • setDisplayAspectRatio

        public void setDisplayAspectRatio​(String value)
        Sets the value of the displayAspectRatio property.
        Parameters:
        value - allowed object is String
      • getPixFmt

        public String getPixFmt()
        Gets the value of the pixFmt property.
        Returns:
        possible object is String
      • setPixFmt

        public void setPixFmt​(String value)
        Sets the value of the pixFmt property.
        Parameters:
        value - allowed object is String
      • getLevel

        public Integer getLevel()
        Gets the value of the level property.
        Returns:
        possible object is Integer
      • setLevel

        public void setLevel​(Integer value)
        Sets the value of the level property.
        Parameters:
        value - allowed object is Integer
      • getColorRange

        public String getColorRange()
        Gets the value of the colorRange property.
        Returns:
        possible object is String
      • setColorRange

        public void setColorRange​(String value)
        Sets the value of the colorRange property.
        Parameters:
        value - allowed object is String
      • getColorSpace

        public String getColorSpace()
        Gets the value of the colorSpace property.
        Returns:
        possible object is String
      • setColorSpace

        public void setColorSpace​(String value)
        Sets the value of the colorSpace property.
        Parameters:
        value - allowed object is String
      • getColorTransfer

        public String getColorTransfer()
        Gets the value of the colorTransfer property.
        Returns:
        possible object is String
      • setColorTransfer

        public void setColorTransfer​(String value)
        Sets the value of the colorTransfer property.
        Parameters:
        value - allowed object is String
      • getColorPrimaries

        public String getColorPrimaries()
        Gets the value of the colorPrimaries property.
        Returns:
        possible object is String
      • setColorPrimaries

        public void setColorPrimaries​(String value)
        Sets the value of the colorPrimaries property.
        Parameters:
        value - allowed object is String
      • getChromaLocation

        public String getChromaLocation()
        Gets the value of the chromaLocation property.
        Returns:
        possible object is String
      • setChromaLocation

        public void setChromaLocation​(String value)
        Sets the value of the chromaLocation property.
        Parameters:
        value - allowed object is String
      • getFieldOrder

        public String getFieldOrder()
        Gets the value of the fieldOrder property.
        Returns:
        possible object is String
      • setFieldOrder

        public void setFieldOrder​(String value)
        Sets the value of the fieldOrder property.
        Parameters:
        value - allowed object is String
      • getTimecode

        public String getTimecode()
        Gets the value of the timecode property.
        Returns:
        possible object is String
      • setTimecode

        public void setTimecode​(String value)
        Sets the value of the timecode property.
        Parameters:
        value - allowed object is String
      • getRefs

        public Integer getRefs()
        Gets the value of the refs property.
        Returns:
        possible object is Integer
      • setRefs

        public void setRefs​(Integer value)
        Sets the value of the refs property.
        Parameters:
        value - allowed object is Integer
      • getSampleFmt

        public String getSampleFmt()
        Gets the value of the sampleFmt property.
        Returns:
        possible object is String
      • setSampleFmt

        public void setSampleFmt​(String value)
        Sets the value of the sampleFmt property.
        Parameters:
        value - allowed object is String
      • getSampleRate

        public Integer getSampleRate()
        Gets the value of the sampleRate property.
        Returns:
        possible object is Integer
      • setSampleRate

        public void setSampleRate​(Integer value)
        Sets the value of the sampleRate property.
        Parameters:
        value - allowed object is Integer
      • getChannels

        public Integer getChannels()
        Gets the value of the channels property.
        Returns:
        possible object is Integer
      • setChannels

        public void setChannels​(Integer value)
        Sets the value of the channels property.
        Parameters:
        value - allowed object is Integer
      • getChannelLayout

        public String getChannelLayout()
        Gets the value of the channelLayout property.
        Returns:
        possible object is String
      • setChannelLayout

        public void setChannelLayout​(String value)
        Sets the value of the channelLayout property.
        Parameters:
        value - allowed object is String
      • getBitsPerSample

        public Integer getBitsPerSample()
        Gets the value of the bitsPerSample property.
        Returns:
        possible object is Integer
      • setBitsPerSample

        public void setBitsPerSample​(Integer value)
        Sets the value of the bitsPerSample property.
        Parameters:
        value - allowed object is Integer
      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • getRFrameRate

        public String getRFrameRate()
        Gets the value of the rFrameRate property.
        Returns:
        possible object is String
      • setRFrameRate

        public void setRFrameRate​(String value)
        Sets the value of the rFrameRate property.
        Parameters:
        value - allowed object is String
      • getAvgFrameRate

        public String getAvgFrameRate()
        Gets the value of the avgFrameRate property.
        Returns:
        possible object is String
      • setAvgFrameRate

        public void setAvgFrameRate​(String value)
        Sets the value of the avgFrameRate property.
        Parameters:
        value - allowed object is String
      • getTimeBase

        public String getTimeBase()
        Gets the value of the timeBase property.
        Returns:
        possible object is String
      • setTimeBase

        public void setTimeBase​(String value)
        Sets the value of the timeBase property.
        Parameters:
        value - allowed object is String
      • getStartPts

        public Long getStartPts()
        Gets the value of the startPts property.
        Returns:
        possible object is Long
      • setStartPts

        public void setStartPts​(Long value)
        Sets the value of the startPts property.
        Parameters:
        value - allowed object is Long
      • 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
      • getDurationTs

        public Long getDurationTs()
        Gets the value of the durationTs property.
        Returns:
        possible object is Long
      • setDurationTs

        public void setDurationTs​(Long value)
        Sets the value of the durationTs property.
        Parameters:
        value - allowed object is Long
      • 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
      • getBitRate

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

        public void setBitRate​(Integer value)
        Sets the value of the bitRate property.
        Parameters:
        value - allowed object is Integer
      • getMaxBitRate

        public Integer getMaxBitRate()
        Gets the value of the maxBitRate property.
        Returns:
        possible object is Integer
      • setMaxBitRate

        public void setMaxBitRate​(Integer value)
        Sets the value of the maxBitRate property.
        Parameters:
        value - allowed object is Integer
      • getBitsPerRawSample

        public Integer getBitsPerRawSample()
        Gets the value of the bitsPerRawSample property.
        Returns:
        possible object is Integer
      • setBitsPerRawSample

        public void setBitsPerRawSample​(Integer value)
        Sets the value of the bitsPerRawSample property.
        Parameters:
        value - allowed object is Integer
      • getNbFrames

        public Integer getNbFrames()
        Gets the value of the nbFrames property.
        Returns:
        possible object is Integer
      • setNbFrames

        public void setNbFrames​(Integer value)
        Sets the value of the nbFrames property.
        Parameters:
        value - allowed object is Integer
      • getNbReadFrames

        public Integer getNbReadFrames()
        Gets the value of the nbReadFrames property.
        Returns:
        possible object is Integer
      • setNbReadFrames

        public void setNbReadFrames​(Integer value)
        Sets the value of the nbReadFrames property.
        Parameters:
        value - allowed object is Integer
      • getNbReadPackets

        public Integer getNbReadPackets()
        Gets the value of the nbReadPackets property.
        Returns:
        possible object is Integer
      • setNbReadPackets

        public void setNbReadPackets​(Integer value)
        Sets the value of the nbReadPackets property.
        Parameters:
        value - allowed object is Integer