Documentation ¶
Index ¶
Constants ¶
View Source
const HeaderSize = 256
HeaderSize specifies the length of a serialized Header in bytes.
View Source
const IndexTableEntrySize = 8
IndexTableEntrySize specifies how many bytes a serialized IndexTableEntry uses.
View Source
const Tag string = "MOVI"
Tag is the identifier key of a MOVI container.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { // Tag is the identifier key of a MOVI container Tag [4]byte // IndexEntryCount specifies how many index entries are in the index. IndexEntryCount int32 // IndexSize specifies how long the index is. IndexSize int32 // ContentSize specifies the length of the content. ContentSize int32 // DurationFraction is the length of the media in 1/0x10000 second units. DurationFraction uint16 // DurationSeconds is the length of the media in seconds. DurationSeconds byte Unused0013 byte Unknown0014 [4]byte // VideoWidth specifies the width of the video. VideoWidth uint16 // VideoHeight specifies the height of the video. VideoHeight uint16 Unknown001C int16 Unknown001E int16 Unknown0020 int16 Unknown0022 int32 // SampleRate specifies the sample rate of the audio. SampleRate uint16 Zero [216]byte }
Header is the first entry of a MOVI container.
Click to show internal directories.
Click to hide internal directories.