package
0.0.0-20210728035756-55ea58c08aeb
Repository: https://github.com/alfg/mp4.git
Documentation: pkg.go.dev

# Functions

GetDurationString Helper function to print a duration value in the form H:MM:SS.MS.

# Constants

BoxHeaderSize Size of box header.
Flag constants.
Flag constants.
Flag constants.
No description provided by the author

# Structs

Avc1Box defines the avc1 box structure.
Box defines an Atom Box structure.
EdtsBox - Edit Box Box Type: edts Container: Track Box (trak) Mandatory: No Quantity: Zero or one.
ElstBox - Edit List Box Box Type: elst Container: Edit Box (edts) Mandatory: No Quantity: Zero or one.
FtypBox - File Type Box Box Type: ftyp Container: File Mandatory: Yes Quantity: Exactly one.
HdlrBox - Handler Reference Box Box Type: hdlr Container: Media Box (mdia) or Meta Box (meta) Mandatory: Yes Quantity: Exactly one.
HmhdBox - Hint Media Header Box Box Type: hmhd Container: Media Information Box (minf).
MdatBox - Media Data Box Box Type: mdat Container: File Mandatory: No Quantity: Any number.
MdhdBox - Media Header Box Box Type: mdhd Container: Media Box (mdia) Mandatory: Yes Quantity: Any number.
MdiaBox - Media Box Box Type: mdia Container: Track Box (trak) Mandatory: Yes Quantity: Exactly one.
MinfBox - Media Information Box Box Type: minf Container: Media Box (mdia) Mandatory: Yes Quantity: Exactly one.
MoovBox - Movie Box Box Type: moov Container: File Mandatory: Yes Quantity: Exactly one.
Mp4Reader defines an mp4 reader structure.
MvhdBox - Movie Header Box Box Type: mvhd Container: Movie Box (moov) Mandatory: Yes Quantity: Exactly one.
StblBox - Sample Table Box Box Type: stbl Container: Media Information Box (minf) Mandatory: Yes Quantity: Exactly one.
StsdBox - Sample Description Box Box Type: stsd Container: Sample Table Box (stbl) Mandatory: Yes Quantity: Exactly one.
SttsBox - Decoding Time to Sample Box Box Type: stts Container: Sample Table Box (stbl) Mandatory: Yes Quantity: Exactly one.
TkhdBox - Track Header Box Box Type: tkhd Container: Track Box (trak) Mandatory: Yes Quantity: Exactly one.
TrakBox - Track Box Box Type: tkhd Container: Movie Box (moov) Mandatory: Yes Quantity: One or more.
UuidBox - Uuid Box Box Type: uuid.
VmhdBox - Video Media Header Box Box Type: vmhd Container: Media Information Box (minf) Mandatory: Yes Quantity: Exactly one specific media header shall be present.

# Type aliases

Fixed16 is an 8.8 Fixed Point Decimal notation.
Fixed32 is a 16.16 Fixed Point Decimal notation.