Package org.ffmpeg.ffprobe
Class PacketType
- java.lang.Object
-
- org.ffmpeg.ffprobe.PacketType
-
public class PacketType 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcodecTypeprotected LongconvergenceDurationprotected FloatconvergenceDurationTimeprotected Stringdataprotected StringdataHashprotected Longdtsprotected FloatdtsTimeprotected Longdurationprotected FloatdurationTimeprotected Stringflagsprotected Longposprotected Longptsprotected FloatptsTimeprotected PacketSideDataListTypesideDataListprotected longsizeprotected intstreamIndexprotected List<TagType>tag
-
Constructor Summary
Constructors Constructor Description PacketType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCodecType()Gets the value of the codecType property.LonggetConvergenceDuration()Gets the value of the convergenceDuration property.FloatgetConvergenceDurationTime()Gets the value of the convergenceDurationTime property.StringgetData()Gets the value of the data property.StringgetDataHash()Gets the value of the dataHash property.LonggetDts()Gets the value of the dts property.FloatgetDtsTime()Gets the value of the dtsTime property.LonggetDuration()Gets the value of the duration property.FloatgetDurationTime()Gets the value of the durationTime property.StringgetFlags()Gets the value of the flags property.LonggetPos()Gets the value of the pos property.LonggetPts()Gets the value of the pts property.FloatgetPtsTime()Gets the value of the ptsTime property.PacketSideDataListTypegetSideDataList()Gets the value of the sideDataList property.longgetSize()Gets the value of the size property.intgetStreamIndex()Gets the value of the streamIndex property.List<TagType>getTag()Gets the value of the tag property.voidsetCodecType(String value)Sets the value of the codecType property.voidsetConvergenceDuration(Long value)Sets the value of the convergenceDuration property.voidsetConvergenceDurationTime(Float value)Sets the value of the convergenceDurationTime property.voidsetData(String value)Sets the value of the data property.voidsetDataHash(String value)Sets the value of the dataHash property.voidsetDts(Long value)Sets 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.voidsetFlags(String value)Sets the value of the flags property.voidsetPos(Long value)Sets the value of the pos property.voidsetPts(Long value)Sets the value of the pts property.voidsetPtsTime(Float value)Sets the value of the ptsTime property.voidsetSideDataList(PacketSideDataListType value)Sets 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 Detail
-
sideDataList
protected PacketSideDataListType sideDataList
-
codecType
protected String codecType
-
streamIndex
protected int streamIndex
-
pts
protected Long pts
-
ptsTime
protected Float ptsTime
-
dts
protected Long dts
-
dtsTime
protected Float dtsTime
-
duration
protected Long duration
-
durationTime
protected Float durationTime
-
convergenceDuration
protected Long convergenceDuration
-
convergenceDurationTime
protected Float convergenceDurationTime
-
size
protected long size
-
pos
protected Long pos
-
flags
protected String flags
-
data
protected String data
-
dataHash
protected String dataHash
-
-
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
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
public PacketSideDataListType getSideDataList()
Gets the value of the sideDataList property.- Returns:
- possible object is
PacketSideDataListType
-
setSideDataList
public void setSideDataList(PacketSideDataListType value)
Sets the value of the sideDataList property.- Parameters:
value- allowed object isPacketSideDataListType
-
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 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.
-
setPts
public void setPts(Long value)
Sets the value of the pts property.- Parameters:
value- allowed object isLong
-
getPtsTime
public Float getPtsTime()
Gets the value of the ptsTime property.- Returns:
- possible object is
Float
-
setPtsTime
public void setPtsTime(Float value)
Sets the value of the ptsTime property.- Parameters:
value- allowed object isFloat
-
setDts
public void setDts(Long value)
Sets the value of the dts property.- Parameters:
value- allowed object isLong
-
getDtsTime
public Float getDtsTime()
Gets the value of the dtsTime property.- Returns:
- possible object is
Float
-
setDtsTime
public void setDtsTime(Float value)
Sets the value of the dtsTime property.- Parameters:
value- allowed object isFloat
-
getDuration
public Long getDuration()
Gets the value of the duration property.- Returns:
- possible object is
Long
-
setDuration
public void setDuration(Long value)
Sets the value of the duration property.- Parameters:
value- allowed object isLong
-
getDurationTime
public Float getDurationTime()
Gets the value of the durationTime property.- Returns:
- possible object is
Float
-
setDurationTime
public void setDurationTime(Float value)
Sets the value of the durationTime property.- Parameters:
value- allowed object isFloat
-
getConvergenceDuration
public Long getConvergenceDuration()
Gets the value of the convergenceDuration property.- Returns:
- possible object is
Long
-
setConvergenceDuration
public void setConvergenceDuration(Long value)
Sets the value of the convergenceDuration property.- Parameters:
value- allowed object isLong
-
getConvergenceDurationTime
public Float getConvergenceDurationTime()
Gets the value of the convergenceDurationTime property.- Returns:
- possible object is
Float
-
setConvergenceDurationTime
public void setConvergenceDurationTime(Float value)
Sets the value of the convergenceDurationTime 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.
-
setPos
public void setPos(Long value)
Sets the value of the pos property.- Parameters:
value- allowed object isLong
-
getFlags
public String getFlags()
Gets the value of the flags property.- Returns:
- possible object is
String
-
setFlags
public void setFlags(String value)
Sets the value of the flags property.- Parameters:
value- allowed object isString
-
getData
public String getData()
Gets the value of the data property.- Returns:
- possible object is
String
-
setData
public void setData(String value)
Sets the value of the data property.- Parameters:
value- allowed object isString
-
getDataHash
public String getDataHash()
Gets the value of the dataHash property.- Returns:
- possible object is
String
-
-