MVI Container

From MultimediaWiki
Jump to: navigation, search

Header

Bytes Description
1 Version (only version 7 format is known)
1 Type
1 Flags
4 Number of frames
4 Milliseconds per frame (inverse frame rate)
2 Frame width
2 Frame height
1 Unknown/unused
2 Audio sample rate
4 Audio size
1 Unknown/unused
4 Player version
2 Unknown/unused
1 Unknown/unused

Packets

Video and audio packets are interleaved, video comes second(?).

Video frame is preceded by its size, 2 or 3 bytes depending on frame dimensions (w*h < 65536), audio has fixed packet size calculated from global header values.