Skip to main content

MistAnalyserMP4

MistAnalyserMP4

Analyser for MP4 files

Usage

MistAnalyserMP4 [options] [filename]

Tips and Need to knows

The MP4 analyser returns all packets and headers found, which can be quite chaotic as MP4 header data can be at both the beginning or the end. Generally speaking the output is quite large and we recommend opening this in something where you can search for the data you want/need.

Generally speaking MP4 data consist of boxes, with sizes and contents per box. We try to print the boxes as human readable as we can. If it prints unrecognized box that does not mean there's a problem specifically, it means there's an optional box we haven't implemented. This doesn't have to be a problem for playback, but it could mean certain information is lost.

We recommend accessing the recommended ISO specs ( 14496-14:2003) for more information on how MP4 files look like.

For example looking for the trak or mhdh box.

 [trak] Container Box (61184)
[tkhd] Track Header Box (92)
Version: 0
Flags: 2
CreationTime: 0
ModificationTime: 0
TrackID: 10
Duration: 300000
Layer: 0
AlternateGroup: 0
Volume: 0
Matrix: 1, 0, 0, 0, 1, 0, 0, 0, 1
Rotation (calculated from Matrix): 0
Width: 1920
Height: 1080
[edts] Container Box (36)
[elst] Edit List Box (28)
Version: 0
Flags: 0
Count: 1
[Entry 0]
SegmentDuration: 300000
MediaTime: 0
MediaRateInteger: 1
MediaRateFraction: 0
[mdia] Container Box (61048)
[mdhd] Media Header Box (32)
Version: 0
Flags: 0
CreationTime: 0
ModificationTime: 0
TimeScale: 16000
Duration: 4800000
Language: eng

Options

OptionshorthandValueDefaultDescription
--debug-g1-10Set at compilation, 3 in most casesSets the debug level at which messages are printed
--detail-D0-102Sets the detail level for analyses
--help-hBinaryfalseIf set, display usage and version information then exit
--timeout-TNumeralTime in Seconds to run the analyses task
--validate-VBinaryfalseIf set activate validation mode for load testing
--version-vBinaryfalseIf set display the library and application version, then exit