Package org.ffmpeg.ffprobe
Class FormatType
- java.lang.Object
-
- org.ffmpeg.ffprobe.FormatType
-
public class FormatType extends Object
Java class for formatType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="formatType"> <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"/> </sequence> <attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="nb_streams" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="nb_programs" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="format_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="format_long_name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}long" /> <attribute name="bit_rate" type="{http://www.w3.org/2001/XMLSchema}long" /> <attribute name="probe_score" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected LongbitRateprotected Floatdurationprotected Stringfilenameprotected StringformatLongNameprotected StringformatNameprotected intnbProgramsprotected intnbStreamsprotected IntegerprobeScoreprotected Longsizeprotected FloatstartTimeprotected List<TagType>tag
-
Constructor Summary
Constructors Constructor Description FormatType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBitRate()Gets the value of the bitRate property.FloatgetDuration()Gets the value of the duration property.StringgetFilename()Gets the value of the filename property.StringgetFormatLongName()Gets the value of the formatLongName property.StringgetFormatName()Gets the value of the formatName property.intgetNbPrograms()Gets the value of the nbPrograms property.intgetNbStreams()Gets the value of the nbStreams property.IntegergetProbeScore()Gets the value of the probeScore property.LonggetSize()Gets the value of the size property.FloatgetStartTime()Gets the value of the startTime property.List<TagType>getTag()Gets the value of the tag property.voidsetBitRate(Long value)Sets the value of the bitRate property.voidsetDuration(Float value)Sets the value of the duration property.voidsetFilename(String value)Sets the value of the filename property.voidsetFormatLongName(String value)Sets the value of the formatLongName property.voidsetFormatName(String value)Sets the value of the formatName property.voidsetNbPrograms(int value)Sets the value of the nbPrograms property.voidsetNbStreams(int value)Sets the value of the nbStreams property.voidsetProbeScore(Integer value)Sets the value of the probeScore property.voidsetSize(Long value)Sets the value of the size property.voidsetStartTime(Float value)Sets the value of the startTime property.
-
-
-
Field Detail
-
filename
protected String filename
-
nbStreams
protected int nbStreams
-
nbPrograms
protected int nbPrograms
-
formatName
protected String formatName
-
formatLongName
protected String formatLongName
-
startTime
protected Float startTime
-
duration
protected Float duration
-
size
protected Long size
-
bitRate
protected Long bitRate
-
probeScore
protected Integer probeScore
-
-
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
-
getFilename
public String getFilename()
Gets the value of the filename property.- Returns:
- possible object is
String
-
setFilename
public void setFilename(String value)
Sets the value of the filename property.- Parameters:
value- allowed object isString
-
getNbStreams
public int getNbStreams()
Gets the value of the nbStreams property.
-
setNbStreams
public void setNbStreams(int value)
Sets the value of the nbStreams property.
-
getNbPrograms
public int getNbPrograms()
Gets the value of the nbPrograms property.
-
setNbPrograms
public void setNbPrograms(int value)
Sets the value of the nbPrograms property.
-
getFormatName
public String getFormatName()
Gets the value of the formatName property.- Returns:
- possible object is
String
-
setFormatName
public void setFormatName(String value)
Sets the value of the formatName property.- Parameters:
value- allowed object isString
-
getFormatLongName
public String getFormatLongName()
Gets the value of the formatLongName property.- Returns:
- possible object is
String
-
setFormatLongName
public void setFormatLongName(String value)
Sets the value of the formatLongName property.- Parameters:
value- allowed object isString
-
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 isFloat
-
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 isFloat
-
setSize
public void setSize(Long value)
Sets the value of the size property.- Parameters:
value- allowed object isLong
-
getBitRate
public Long getBitRate()
Gets the value of the bitRate property.- Returns:
- possible object is
Long
-
setBitRate
public void setBitRate(Long value)
Sets the value of the bitRate property.- Parameters:
value- allowed object isLong
-
getProbeScore
public Integer getProbeScore()
Gets the value of the probeScore property.- Returns:
- possible object is
Integer
-
-