Class Format
java.lang.Object
com.github.kokorin.jaffree.ffprobe.Format
- All Implemented Interfaces:
TagAware
Format description.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns data section which holds all the data provided by ffprobe.Returns detected format score.getSize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.kokorin.jaffree.ffprobe.TagAware
getTag, getTagDouble, getTagFloat, getTagInteger, getTagLong
-
Constructor Details
-
Format
CreatesFormatdescription based on provided data sections.- Parameters:
probeData- probe data
-
-
Method Details
-
getProbeData
Returns data section which holds all the data provided by ffprobe.Use this method if you have to access properties which are not accessible through other getters.
- Specified by:
getProbeDatain interfaceTagAware- Returns:
- probe data
-
getFilename
- Returns:
- file name
-
getNbStreams
- Returns:
- number of streams
-
getNbPrograms
- Returns:
- number of programs
-
getFormatName
- Returns:
- format name
-
getFormatLongName
- Returns:
- format long name
-
getStartTime
- Returns:
- media start time in seconds
-
getDuration
- Returns:
- media duration in seconds
-
getSize
- Returns:
- media size in bytes
-
getBitRate
- Returns:
- media bitrate in bits per second
-
getProbeScore
Returns detected format score.FFprobe assigns corresponding probe score to each known format during input analysis. The return format by ffprobe is the one with highest score.
Higher values (up to 100) mean higher probability of correct format detection.
- Returns:
- format probe score
-