Readonly
fileStatic
dimensionsStatic
getMP4Private
Static
read16Reads a 16bit unsigned integer from a given Buffer by walking along the keys and getting the value with the given offset ref: https://gist.github.com/OllieJones/5ffb011fa3a11964154975582360391c#file-streampeek-js-L25
The buffer to read from
Keys the 'walker' should pass (stopping at the last key)
Offset from the ast key to read the uint16
Private
Static
read32Reads a 32bit unsigned integer from a given Buffer by walking along the keys and getting the value with the given offset ref: https://gist.github.com/OllieJones/5ffb011fa3a11964154975582360391c#file-streampeek-js-L9
The buffer to read from
Keys the 'walker' should pass (stopping at the last key)
Offset from the ast key to read the uint32
Gets duration in ms, width and height info for a video in the mp4 container