Package com.bfo.box
Class TrackHeaderBox
java.lang.Object
com.bfo.box.Box
com.bfo.box.TrackHeaderBox
Represents a "tkhd" Track Header box, defined in ISO14496-12 section 8.3.2.
Nothing to do with C2PA, this is simply useful to extract metadata about media dimensions etc.
- Since:
- 5
-
Constructor Details
-
TrackHeaderBox
public TrackHeaderBox()
-
-
Method Details
-
width
public int width()Return the video width, rounded to the nearest pixel- Returns:
- the width
-
height
public int height()Return the video height, rounded to the nearest pixel- Returns:
- the height
-
toString
Description copied from class:Box
Return a String representation of this Box, which will be parseable as JSON
-