Package org.ffmpeg.ffprobe
Class StreamType
java.lang.Object
org.ffmpeg.ffprobe.StreamType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Integerprotected Integerprotected Integerprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StreamDispositionTypeprotected Floatprotected Longprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected Stringprotected intprotected Integerprotected Integerprotected Integerprotected Integerprotected Integerprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected Integerprotected PacketSideDataListTypeprotected Longprotected Floatprotected Stringprotected Stringprotected Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the avgFrameRate property.Gets the value of the bitRate property.Gets the value of the bitsPerRawSample property.Gets the value of the bitsPerSample property.Gets the value of the channelLayout property.Gets the value of the channels property.Gets the value of the chromaLocation property.Gets the value of the codecLongName property.Gets the value of the codecName property.Gets the value of the codecTag property.Gets the value of the codecTagString property.Gets the value of the codecTimeBase property.Gets the value of the codecType property.Gets the value of the codedHeight property.Gets the value of the codedWidth property.Gets the value of the colorPrimaries property.Gets the value of the colorRange property.Gets the value of the colorSpace property.Gets the value of the colorTransfer property.Gets the value of the displayAspectRatio property.Gets the value of the disposition property.Gets the value of the duration property.Gets the value of the durationTs property.Gets the value of the extradata property.Gets the value of the extradataHash property.Gets the value of the fieldOrder property.Gets the value of the hasBFrames property.Gets the value of the height property.getId()Gets the value of the id property.intgetIndex()Gets the value of the index property.getLevel()Gets the value of the level property.Gets the value of the maxBitRate property.Gets the value of the nbFrames property.Gets the value of the nbReadFrames property.Gets the value of the nbReadPackets property.Gets the value of the pixFmt property.Gets the value of the profile property.getRefs()Gets the value of the refs property.Gets the value of the rFrameRate property.Gets the value of the sampleAspectRatio property.Gets the value of the sampleFmt property.Gets the value of the sampleRate property.Gets the value of the sideDataList property.Gets the value of the startPts property.Gets the value of the startTime property.getTag()Gets the value of the tag property.Gets the value of the timeBase property.Gets the value of the timecode property.getWidth()Gets the value of the width property.voidsetAvgFrameRate(String value) Sets the value of the avgFrameRate property.voidsetBitRate(Integer value) Sets the value of the bitRate property.voidsetBitsPerRawSample(Integer value) Sets the value of the bitsPerRawSample property.voidsetBitsPerSample(Integer value) Sets the value of the bitsPerSample property.voidsetChannelLayout(String value) Sets the value of the channelLayout property.voidsetChannels(Integer value) Sets the value of the channels property.voidsetChromaLocation(String value) Sets the value of the chromaLocation property.voidsetCodecLongName(String value) Sets the value of the codecLongName property.voidsetCodecName(String value) Sets the value of the codecName property.voidsetCodecTag(String value) Sets the value of the codecTag property.voidsetCodecTagString(String value) Sets the value of the codecTagString property.voidsetCodecTimeBase(String value) Sets the value of the codecTimeBase property.voidsetCodecType(String value) Sets the value of the codecType property.voidsetCodedHeight(Integer value) Sets the value of the codedHeight property.voidsetCodedWidth(Integer value) Sets the value of the codedWidth property.voidsetColorPrimaries(String value) Sets the value of the colorPrimaries property.voidsetColorRange(String value) Sets the value of the colorRange property.voidsetColorSpace(String value) Sets the value of the colorSpace property.voidsetColorTransfer(String value) Sets the value of the colorTransfer property.voidsetDisplayAspectRatio(String value) Sets the value of the displayAspectRatio property.voidSets the value of the disposition property.voidsetDuration(Float value) Sets the value of the duration property.voidsetDurationTs(Long value) Sets the value of the durationTs property.voidsetExtradata(String value) Sets the value of the extradata property.voidsetExtradataHash(String value) Sets the value of the extradataHash property.voidsetFieldOrder(String value) Sets the value of the fieldOrder property.voidsetHasBFrames(Integer value) Sets the value of the hasBFrames property.voidSets the value of the height property.voidSets the value of the id property.voidsetIndex(int value) Sets the value of the index property.voidSets the value of the level property.voidsetMaxBitRate(Integer value) Sets the value of the maxBitRate property.voidsetNbFrames(Integer value) Sets the value of the nbFrames property.voidsetNbReadFrames(Integer value) Sets the value of the nbReadFrames property.voidsetNbReadPackets(Integer value) Sets the value of the nbReadPackets property.voidSets the value of the pixFmt property.voidsetProfile(String value) Sets the value of the profile property.voidSets the value of the refs property.voidsetRFrameRate(String value) Sets the value of the rFrameRate property.voidsetSampleAspectRatio(String value) Sets the value of the sampleAspectRatio property.voidsetSampleFmt(String value) Sets the value of the sampleFmt property.voidsetSampleRate(Integer value) Sets the value of the sampleRate property.voidSets the value of the sideDataList property.voidsetStartPts(Long value) Sets the value of the startPts property.voidsetStartTime(Float value) Sets the value of the startTime property.voidsetTimeBase(String value) Sets the value of the timeBase property.voidsetTimecode(String value) Sets the value of the timecode property.voidSets the value of the width property.
-
Field Details
-
disposition
-
tag
-
sideDataList
-
index
protected int index -
codecName
-
codecLongName
-
profile
-
codecType
-
codecTimeBase
-
codecTag
-
codecTagString
-
extradata
-
extradataHash
-
width
-
height
-
codedWidth
-
codedHeight
-
hasBFrames
-
sampleAspectRatio
-
displayAspectRatio
-
pixFmt
-
level
-
colorRange
-
colorSpace
-
colorTransfer
-
colorPrimaries
-
chromaLocation
-
fieldOrder
-
timecode
-
refs
-
sampleFmt
-
sampleRate
-
channels
-
channelLayout
-
bitsPerSample
-
id
-
rFrameRate
-
avgFrameRate
-
timeBase
-
startPts
-
startTime
-
durationTs
-
duration
-
bitRate
-
maxBitRate
-
bitsPerRawSample
-
nbFrames
-
nbReadFrames
-
nbReadPackets
-
-
Constructor Details
-
StreamType
public StreamType()
-
-
Method Details
-
getDisposition
Gets the value of the disposition property.- Returns:
- possible object is
StreamDispositionType
-
setDisposition
Sets the value of the disposition property.- Parameters:
value- allowed object isStreamDispositionType
-
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
setmethod 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
Gets the value of the sideDataList property.- Returns:
- possible object is
PacketSideDataListType
-
setSideDataList
Sets the value of the sideDataList property.- Parameters:
value- allowed object isPacketSideDataListType
-
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
Gets the value of the codecName property.- Returns:
- possible object is
String
-
setCodecName
Sets the value of the codecName property.- Parameters:
value- allowed object isString
-
getCodecLongName
Gets the value of the codecLongName property.- Returns:
- possible object is
String
-
setCodecLongName
Sets the value of the codecLongName property.- Parameters:
value- allowed object isString
-
getProfile
Gets the value of the profile property.- Returns:
- possible object is
String
-
setProfile
Sets the value of the profile property.- Parameters:
value- allowed object isString
-
getCodecType
Gets the value of the codecType property.- Returns:
- possible object is
String
-
setCodecType
Sets the value of the codecType property.- Parameters:
value- allowed object isString
-
getCodecTimeBase
Gets the value of the codecTimeBase property.- Returns:
- possible object is
String
-
setCodecTimeBase
Sets the value of the codecTimeBase property.- Parameters:
value- allowed object isString
-
getCodecTag
Gets the value of the codecTag property.- Returns:
- possible object is
String
-
setCodecTag
Sets the value of the codecTag property.- Parameters:
value- allowed object isString
-
getCodecTagString
Gets the value of the codecTagString property.- Returns:
- possible object is
String
-
setCodecTagString
Sets the value of the codecTagString property.- Parameters:
value- allowed object isString
-
getExtradata
Gets the value of the extradata property.- Returns:
- possible object is
String
-
setExtradata
Sets the value of the extradata property.- Parameters:
value- allowed object isString
-
getExtradataHash
Gets the value of the extradataHash property.- Returns:
- possible object is
String
-
setExtradataHash
Sets the value of the extradataHash property.- Parameters:
value- allowed object isString
-
getWidth
Gets the value of the width property.- Returns:
- possible object is
Integer
-
setWidth
Sets the value of the width property.- Parameters:
value- allowed object isInteger
-
getHeight
Gets the value of the height property.- Returns:
- possible object is
Integer
-
setHeight
Sets the value of the height property.- Parameters:
value- allowed object isInteger
-
getCodedWidth
Gets the value of the codedWidth property.- Returns:
- possible object is
Integer
-
setCodedWidth
Sets the value of the codedWidth property.- Parameters:
value- allowed object isInteger
-
getCodedHeight
Gets the value of the codedHeight property.- Returns:
- possible object is
Integer
-
setCodedHeight
Sets the value of the codedHeight property.- Parameters:
value- allowed object isInteger
-
getHasBFrames
Gets the value of the hasBFrames property.- Returns:
- possible object is
Integer
-
setHasBFrames
Sets the value of the hasBFrames property.- Parameters:
value- allowed object isInteger
-
getSampleAspectRatio
Gets the value of the sampleAspectRatio property.- Returns:
- possible object is
String
-
setSampleAspectRatio
Sets the value of the sampleAspectRatio property.- Parameters:
value- allowed object isString
-
getDisplayAspectRatio
Gets the value of the displayAspectRatio property.- Returns:
- possible object is
String
-
setDisplayAspectRatio
Sets the value of the displayAspectRatio property.- Parameters:
value- allowed object isString
-
getPixFmt
Gets the value of the pixFmt property.- Returns:
- possible object is
String
-
setPixFmt
Sets the value of the pixFmt property.- Parameters:
value- allowed object isString
-
getLevel
Gets the value of the level property.- Returns:
- possible object is
Integer
-
setLevel
Sets the value of the level property.- Parameters:
value- allowed object isInteger
-
getColorRange
Gets the value of the colorRange property.- Returns:
- possible object is
String
-
setColorRange
Sets the value of the colorRange property.- Parameters:
value- allowed object isString
-
getColorSpace
Gets the value of the colorSpace property.- Returns:
- possible object is
String
-
setColorSpace
Sets the value of the colorSpace property.- Parameters:
value- allowed object isString
-
getColorTransfer
Gets the value of the colorTransfer property.- Returns:
- possible object is
String
-
setColorTransfer
Sets the value of the colorTransfer property.- Parameters:
value- allowed object isString
-
getColorPrimaries
Gets the value of the colorPrimaries property.- Returns:
- possible object is
String
-
setColorPrimaries
Sets the value of the colorPrimaries property.- Parameters:
value- allowed object isString
-
getChromaLocation
Gets the value of the chromaLocation property.- Returns:
- possible object is
String
-
setChromaLocation
Sets the value of the chromaLocation property.- Parameters:
value- allowed object isString
-
getFieldOrder
Gets the value of the fieldOrder property.- Returns:
- possible object is
String
-
setFieldOrder
Sets the value of the fieldOrder property.- Parameters:
value- allowed object isString
-
getTimecode
Gets the value of the timecode property.- Returns:
- possible object is
String
-
setTimecode
Sets the value of the timecode property.- Parameters:
value- allowed object isString
-
getRefs
Gets the value of the refs property.- Returns:
- possible object is
Integer
-
setRefs
Sets the value of the refs property.- Parameters:
value- allowed object isInteger
-
getSampleFmt
Gets the value of the sampleFmt property.- Returns:
- possible object is
String
-
setSampleFmt
Sets the value of the sampleFmt property.- Parameters:
value- allowed object isString
-
getSampleRate
Gets the value of the sampleRate property.- Returns:
- possible object is
Integer
-
setSampleRate
Sets the value of the sampleRate property.- Parameters:
value- allowed object isInteger
-
getChannels
Gets the value of the channels property.- Returns:
- possible object is
Integer
-
setChannels
Sets the value of the channels property.- Parameters:
value- allowed object isInteger
-
getChannelLayout
Gets the value of the channelLayout property.- Returns:
- possible object is
String
-
setChannelLayout
Sets the value of the channelLayout property.- Parameters:
value- allowed object isString
-
getBitsPerSample
Gets the value of the bitsPerSample property.- Returns:
- possible object is
Integer
-
setBitsPerSample
Sets the value of the bitsPerSample property.- Parameters:
value- allowed object isInteger
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getRFrameRate
Gets the value of the rFrameRate property.- Returns:
- possible object is
String
-
setRFrameRate
Sets the value of the rFrameRate property.- Parameters:
value- allowed object isString
-
getAvgFrameRate
Gets the value of the avgFrameRate property.- Returns:
- possible object is
String
-
setAvgFrameRate
Sets the value of the avgFrameRate property.- Parameters:
value- allowed object isString
-
getTimeBase
Gets the value of the timeBase property.- Returns:
- possible object is
String
-
setTimeBase
Sets the value of the timeBase property.- Parameters:
value- allowed object isString
-
getStartPts
Gets the value of the startPts property.- Returns:
- possible object is
Long
-
setStartPts
Sets the value of the startPts property.- Parameters:
value- allowed object isLong
-
getStartTime
Gets the value of the startTime property.- Returns:
- possible object is
Float
-
setStartTime
Sets the value of the startTime property.- Parameters:
value- allowed object isFloat
-
getDurationTs
Gets the value of the durationTs property.- Returns:
- possible object is
Long
-
setDurationTs
Sets the value of the durationTs property.- Parameters:
value- allowed object isLong
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
Float
-
setDuration
Sets the value of the duration property.- Parameters:
value- allowed object isFloat
-
getBitRate
Gets the value of the bitRate property.- Returns:
- possible object is
Integer
-
setBitRate
Sets the value of the bitRate property.- Parameters:
value- allowed object isInteger
-
getMaxBitRate
Gets the value of the maxBitRate property.- Returns:
- possible object is
Integer
-
setMaxBitRate
Sets the value of the maxBitRate property.- Parameters:
value- allowed object isInteger
-
getBitsPerRawSample
Gets the value of the bitsPerRawSample property.- Returns:
- possible object is
Integer
-
setBitsPerRawSample
Sets the value of the bitsPerRawSample property.- Parameters:
value- allowed object isInteger
-
getNbFrames
Gets the value of the nbFrames property.- Returns:
- possible object is
Integer
-
setNbFrames
Sets the value of the nbFrames property.- Parameters:
value- allowed object isInteger
-
getNbReadFrames
Gets the value of the nbReadFrames property.- Returns:
- possible object is
Integer
-
setNbReadFrames
Sets the value of the nbReadFrames property.- Parameters:
value- allowed object isInteger
-
getNbReadPackets
Gets the value of the nbReadPackets property.- Returns:
- possible object is
Integer
-
setNbReadPackets
Sets the value of the nbReadPackets property.- Parameters:
value- allowed object isInteger
-