public class Packet 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>
Modifier and Type | Field | Description |
---|---|---|
protected String |
codecType |
|
protected Long |
convergenceDuration |
|
protected Float |
convergenceDurationTime |
|
protected String |
data |
|
protected String |
dataHash |
|
protected Long |
dts |
|
protected Float |
dtsTime |
|
protected Long |
duration |
|
protected Float |
durationTime |
|
protected String |
flags |
|
protected Long |
pos |
|
protected Long |
pts |
|
protected Float |
ptsTime |
|
protected List<PacketSideData> |
sideDataList |
|
protected long |
size |
|
protected int |
streamIndex |
|
protected List<Tag> |
tag |
Constructor | Description |
---|---|
Packet() |
Modifier and Type | Method | Description |
---|---|---|
String |
getCodecType() |
Gets the value of the codecType property.
|
Long |
getConvergenceDuration() |
Gets the value of the convergenceDuration property.
|
Float |
getConvergenceDurationTime() |
Gets the value of the convergenceDurationTime property.
|
String |
getData() |
Gets the value of the data property.
|
String |
getDataHash() |
Gets the value of the dataHash property.
|
Long |
getDts() |
Gets the value of the dts property.
|
Float |
getDtsTime() |
Gets the value of the dtsTime property.
|
Long |
getDuration() |
Gets the value of the duration property.
|
Float |
getDurationTime() |
Gets the value of the durationTime property.
|
String |
getFlags() |
Gets the value of the flags property.
|
Long |
getPos() |
Gets the value of the pos property.
|
Long |
getPts() |
Gets the value of the pts property.
|
Float |
getPtsTime() |
Gets the value of the ptsTime property.
|
List<PacketSideData> |
getSideDataList() |
|
long |
getSize() |
Gets the value of the size property.
|
int |
getStreamIndex() |
Gets the value of the streamIndex property.
|
List<Tag> |
getTag() |
Gets the value of the tag property.
|
void |
setCodecType(String value) |
Sets the value of the codecType property.
|
void |
setConvergenceDuration(Long value) |
Sets the value of the convergenceDuration property.
|
void |
setConvergenceDurationTime(Float value) |
Sets the value of the convergenceDurationTime property.
|
void |
setData(String value) |
Sets the value of the data property.
|
void |
setDataHash(String value) |
Sets the value of the dataHash property.
|
void |
setDts(Long value) |
Sets the value of the dts property.
|
void |
setDtsTime(Float value) |
Sets the value of the dtsTime property.
|
void |
setDuration(Long value) |
Sets the value of the duration property.
|
void |
setDurationTime(Float value) |
Sets the value of the durationTime property.
|
void |
setFlags(String value) |
Sets the value of the flags property.
|
void |
setPos(Long value) |
Sets the value of the pos property.
|
void |
setPts(Long value) |
Sets the value of the pts property.
|
void |
setPtsTime(Float value) |
Sets the value of the ptsTime property.
|
void |
setSideDataList(List<PacketSideData> sideDataList) |
|
void |
setSize(long value) |
Sets the value of the size property.
|
void |
setStreamIndex(int value) |
Sets the value of the streamIndex property.
|
protected List<PacketSideData> sideDataList
protected String codecType
protected int streamIndex
protected Long pts
protected Float ptsTime
protected Long dts
protected Float dtsTime
protected Long duration
protected Float durationTime
protected Long convergenceDuration
protected Float convergenceDurationTime
protected long size
protected Long pos
protected String flags
protected String data
protected String dataHash
public List<Tag> getTag()
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
Tag
public String getCodecType()
String
public void setCodecType(String value)
value
- allowed object is
String
public int getStreamIndex()
public void setStreamIndex(int value)
public void setPts(Long value)
value
- allowed object is
Long
public Float getPtsTime()
Float
public void setPtsTime(Float value)
value
- allowed object is
Float
public void setDts(Long value)
value
- allowed object is
Long
public Float getDtsTime()
Float
public void setDtsTime(Float value)
value
- allowed object is
Float
public Long getDuration()
Long
public void setDuration(Long value)
value
- allowed object is
Long
public Float getDurationTime()
Float
public void setDurationTime(Float value)
value
- allowed object is
Float
public Long getConvergenceDuration()
Long
public void setConvergenceDuration(Long value)
value
- allowed object is
Long
public Float getConvergenceDurationTime()
Float
public void setConvergenceDurationTime(Float value)
value
- allowed object is
Float
public long getSize()
public void setSize(long value)
public void setPos(Long value)
value
- allowed object is
Long
public String getFlags()
String
public void setFlags(String value)
value
- allowed object is
String
public String getData()
String
public void setData(String value)
value
- allowed object is
String
public String getDataHash()
String
public void setDataHash(String value)
value
- allowed object is
String
public List<PacketSideData> getSideDataList()
public void setSideDataList(List<PacketSideData> sideDataList)
Copyright © 2018. All rights reserved.