Package org.ffmpeg.ffprobe
Class PacketType
java.lang.Object
org.ffmpeg.ffprobe.PacketType
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="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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the codecType property.getData()Gets the value of the data property.Gets the value of the dataHash property.getDts()Gets the value of the dts property.Gets the value of the dtsTime property.Gets the value of the duration property.Gets the value of the durationTime property.getFlags()Gets the value of the flags property.getPos()Gets the value of the pos property.getPts()Gets the value of the pts property.Gets the value of the ptsTime property.Gets the value of the sideDataList property.longgetSize()Gets the value of the size property.intGets the value of the streamIndex property.getTag()Gets the value of the tag property.voidsetCodecType(String value) Sets the value of the codecType property.voidSets the value of the data property.voidsetDataHash(String value) Sets the value of the dataHash property.voidSets the value of the dts property.voidsetDtsTime(Float value) Sets the value of the dtsTime property.voidsetDuration(Long value) Sets the value of the duration property.voidsetDurationTime(Float value) Sets the value of the durationTime property.voidSets the value of the flags property.voidSets the value of the pos property.voidSets the value of the pts property.voidsetPtsTime(Float value) Sets the value of the ptsTime property.voidSets the value of the sideDataList property.voidsetSize(long value) Sets the value of the size property.voidsetStreamIndex(int value) Sets the value of the streamIndex property.
-
Field Details
-
tag
-
sideDataList
-
codecType
-
streamIndex
protected int streamIndex -
pts
-
ptsTime
-
dts
-
dtsTime
-
duration
-
durationTime
-
size
protected long size -
pos
-
flags
-
data
-
dataHash
-
-
Constructor Details
-
PacketType
public PacketType()
-
-
Method Details
-
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
-
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
-
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
Gets the value of the pts property.- Returns:
- possible object is
Long
-
setPts
Sets the value of the pts property.- Parameters:
value- allowed object isLong
-
getPtsTime
Gets the value of the ptsTime property.- Returns:
- possible object is
Float
-
setPtsTime
Sets the value of the ptsTime property.- Parameters:
value- allowed object isFloat
-
getDts
Gets the value of the dts property.- Returns:
- possible object is
Long
-
setDts
Sets the value of the dts property.- Parameters:
value- allowed object isLong
-
getDtsTime
Gets the value of the dtsTime property.- Returns:
- possible object is
Float
-
setDtsTime
Sets the value of the dtsTime property.- Parameters:
value- allowed object isFloat
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
Long
-
setDuration
Sets the value of the duration property.- Parameters:
value- allowed object isLong
-
getDurationTime
Gets the value of the durationTime property.- Returns:
- possible object is
Float
-
setDurationTime
Sets the value of the durationTime property.- Parameters:
value- allowed object isFloat
-
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
Gets the value of the pos property.- Returns:
- possible object is
Long
-
setPos
Sets the value of the pos property.- Parameters:
value- allowed object isLong
-
getFlags
Gets the value of the flags property.- Returns:
- possible object is
String
-
setFlags
Sets the value of the flags property.- Parameters:
value- allowed object isString
-
getData
Gets the value of the data property.- Returns:
- possible object is
String
-
setData
Sets the value of the data property.- Parameters:
value- allowed object isString
-
getDataHash
Gets the value of the dataHash property.- Returns:
- possible object is
String
-
setDataHash
Sets the value of the dataHash property.- Parameters:
value- allowed object isString
-