Versions in this module Expand all Collapse all v4 v4.15.3 Apr 23, 2024 v4.15.2 Apr 23, 2024 Changes in this version + const ADTS_HEADER_SIZE + const AV1_OBU_FRAME + const AV1_OBU_FRAME_HEADER + const AV1_OBU_METADATA + const AV1_OBU_PADDING + const AV1_OBU_REDUNDANT_FRAME_HEADER + const AV1_OBU_SEQUENCE_HEADER + const AV1_OBU_TEMPORAL_DELIMITER + const AV1_OBU_TILE_GROUP + const AV1_OBU_TILE_LIST + const CodecID_AAC + const CodecID_AV1 + const CodecID_H264 + const CodecID_H265 + const CodecID_OPUS + const CodecID_PCMA + const CodecID_PCMU + const FLV_TAG_TYPE_AUDIO + const FLV_TAG_TYPE_SCRIPT + const FLV_TAG_TYPE_VIDEO + const PacketTypeCodedFrames + const PacketTypeCodedFramesX + const PacketTypeMPEG2TSSequenceStart + const PacketTypeMetadata + const PacketTypeSequenceEnd + const PacketTypeSequenceStart + var AudNalu = []byte + var Codec2SoundFormat = map[string]byte + var CodecID = map[byte]string + var ErrDecconfInvalid = errors.New("decode error") + var ErrHevc = errors.New("hevc parse config error") + var ErrInvalidFLV = errors.New("invalid flv") + var ErrInvalidMarker = errors.New("invalid marker value found in AV1CodecConfigurationRecord") + var ErrInvalidVersion = errors.New("unsupported AV1CodecConfigurationRecord version") + var ErrNonZeroReservedBits = errors.New("non-zero reserved bits found in AV1CodecConfigurationRecord") + var FLVHeader = []byte + var FourCC_AV1_32 = util.BigEndian.Uint32([]byte{ ... }) + var FourCC_H265_32 = util.BigEndian.Uint32([]byte{ ... }) + var FrameType = map[byte]string + var NALU_AUD_BYTE = []byte + var NALU_Delimiter1 = []byte + var NALU_Delimiter2 = []byte + var RTMP_AVC_HEAD = []byte + var RTMP_KEYFRAME_HEAD = []byte + var RTMP_NORMALFRAME_HEAD = []byte + var SamplingFrequencies = [...]int + var SoundFormat = map[byte]string + var SoundRate = map[byte]int + var SoundSize = map[byte]string + var SoundType = map[byte]string + func AVCC2FLV(t byte, ts uint32, avcc ...[]byte) (flv net.Buffers) + func AudioAVCC2FLV(ts uint32, avcc ...[]byte) net.Buffers + func BuildH264SeqHeaderFromSpsPps(sps, pps []byte) (seqHeader []byte) + func BuildH265SeqHeaderFromVpsSpsPps(vps, sps, pps []byte) ([]byte, error) + func ParseVpsSpsPpsFromSeqHeaderWithoutMalloc(payload []byte) (vps, sps, pps []byte, err error) + func ReadFLVTag(r io.Reader) (t byte, timestamp uint32, payload []byte, err error) + func ReadPPS(w io.Writer) + func SplitH264(payload []byte) (nalus [][]byte) + func VideoAVCC2FLV(ts uint32, avcc ...[]byte) net.Buffers + func WriteFLVTag(w io.Writer, t byte, timestamp uint32, payload []byte) (err error) + type ADTS struct + func AudioSpecificConfigToADTS(asc *AudioSpecificConfig, rawDataLength int, adtsByte []byte) (adts ADTS, err error) + type ADTSFixedHeader struct + ChannelConfiguration byte + Home byte + ID byte + Layer byte + OriginalCopy byte + PrivateBit byte + Profile byte + ProtectionAbsent byte + SamplingFrequencyIndex byte + SyncWord uint16 + type ADTSVariableHeader struct + AACFrameLength uint16 + ADTSBufferFullness uint16 + CopyrightIdentificationBit byte + CopyrightIdentificationStart byte + NumberOfRawDataBlockInFrame byte + type AV1CodecConfigurationRecord struct + ChromaSamplePosition byte + ChromaSubsamplingX byte + ChromaSubsamplingY byte + ConfigOBUs []byte + HighBitdepth byte + InitialPresentationDelayMinusOne byte + InitialPresentationDelayPresent byte + MonoChrome byte + SeqLevelIdx0 byte + SeqProfile byte + SeqTier0 byte + TwelveBit byte + Version byte + func (p *AV1CodecConfigurationRecord) Unmarshal(data []byte) (n int, err error) + type AVCDecoderConfigurationRecord struct + AVCLevelIndication byte + AVCProfileIndication byte + ConfigurationVersion byte + LengthSizeMinusOne byte + NumOfPictureParameterSets byte + NumOfSequenceParameterSets byte + PictureParameterSetLength uint16 + PictureParameterSetNALUnit []byte + ProfileCompatibility byte + Reserved1 byte + Reserved2 byte + SequenceParameterSetLength uint16 + SequenceParameterSetNALUnit []byte + func (p *AVCDecoderConfigurationRecord) Marshal(b []byte) (n int) + func (p *AVCDecoderConfigurationRecord) Unmarshal(b []byte) (n int, err error) + type AdditionalMetadataContainerBox struct + type AudioCodecID byte + func (codecId AudioCodecID) String() string + type AudioSampleEntry struct + ChannelCount uint16 + PreDefined uint16 + Reserved1 [2]uint32 + Reserved2 uint16 + SampleRate uint32 + SampleSize uint16 + type AudioSampleGroupEntry struct + type AudioSpecificConfig struct + AudioObjectType byte + ChannelConfiguration byte + SamplingFrequencyIndex byte + func (asc *AudioSpecificConfig) Parse(data []byte) + func (asc *AudioSpecificConfig) ToADTS(rawDataLength int, adtsByte []byte) (adts ADTS, err error) + type AuxInfo struct + AuxInfoType uint32 + AuxInfoTypeParameter uint32 + type BinaryXMLBox struct + Data []uint8 + type BitRateBox struct + AvgBitrate uint32 + BufferSizeDB uint32 + MaxBitrate uint32 + type ChunkLargeOffsetBox struct + ChunkOffset []uint64 + EntryCount uint32 + type ChunkOffsetBox struct + ChunkOffset []uint32 + EntryCount uint32 + type CleanApertureBox struct + CleanApertureHeightD uint32 + CleanApertureHeightN uint32 + CleanApertureWidthD uint32 + CleanApertureWidthN uint32 + HorizOffD uint32 + HorizOffN uint32 + VertOffD uint32 + VertOffN uint32 + type ColourInformationBox struct + ColourType uint32 + type CompactSampleSizeBox struct + EntrySize interface{} + FieldSize uint8 + Reserved [3]uint8 + SampleCount uint32 + type CompositionOffsetBox struct + EntryCount uint32 + Table []CompositionOffsetTable + type CompositionOffsetTable struct + SampleCount uint32 + SampleOffset interface{} + type CompositionToDecodeBox struct + CompositionEndTime int32 + CompositionStartTime int32 + CompositionToDTSShift int32 + GreatestDecodeToDisplayDelta int32 + LeastDecodeToDisplayDelta int32 + type CopyrightBox struct + Language [2]byte + Notice string + Pad byte + type DataEntryUrlBox struct + Location string + type DataEntryUrnBox struct + Location string + Name string + type DataInformationBox struct + type DataReferenceBox struct + DataEntry interface{} + EntryCount uint32 + type DegradationPriorityBox struct + Priority []uint16 + type EditBox struct + type EditListBox struct + EntryCount uint32 + Tables []EditListTable + type EditListTable struct + MediaRateFraction int16 + MediaRateInteger int16 + MediaTime interface{} + SegmentDuration interface{} + type FDItemInformationBox struct + EntryCount uint16 + FDSGB FDSessionGroupBox + GidToNameB GroupIdToNameBox + PE []PartitionEntry + type FDSessionGroupBox struct + NumSessionGroups uint16 + Table []FDSessionGroupTable + type FDSessionGroupIDTable struct + GroupID uint32 + type FDSessionGroupTable struct + EntryCount uint8 + GIDTable []FDSessionGroupIDTable + HTIDTable []FDSessionHintTrackIDTable + NumChannelsInSessionGroup uint16 + type FDSessionHintTrackIDTable struct + HintTrackID uint32 + type FECReservoirBox struct + EntryCount uint16 + Table []FECReservoirTable + type FECReservoirTable struct + ItemID uint16 + SymbolCount uint32 + type FilePartitionBox struct + EncodingSymbolLength uint16 + EntryCount uint16 + FECEncodingID uint8 + FECInstanceID uint16 + ItemID uint16 + MaxNumberOfEncodingSymbols uint16 + MaxSourceBlockLength uint16 + PacketPayloadSize uint16 + Reserved uint8 + SchemeSpecificInfo string + Tanble []FilePartitionTable + type FilePartitionTable struct + BlockCount uint16 + BlockSize uint32 + type FileReservoirBox struct + EntryCount uint16 + Table []FileReservoirTable + type FileReservoirTable struct + ItemID uint16 + SymbolCount uint32 + type FileTypeBox struct + CompatibleBrands []uint32 + MajorBrand uint32 + MinorVersion uint32 + func NewFileTypeBox() (box *FileTypeBox) + type FreeSpaceBox struct + Data []uint8 + type GASpecificConfig struct + DependsOnCoreCoder byte + ExtensionFlag byte + FrameLengthFlag byte + type GroupIdToNameBox struct + EntryCount uint16 + Table []GroupIdToNameBox + type GroupIdToNameTable struct + GroupID uint32 + GroupName string + type H264NALUType byte + const NALU_Access_Unit_Delimiter + const NALU_Coded_Slice_Extension + const NALU_DPS + const NALU_Data_Partition_A + const NALU_Data_Partition_B + const NALU_Data_Partition_C + const NALU_FUA + const NALU_FUB + const NALU_Filler_Data + const NALU_IDR_Picture + const NALU_MTAP16 + const NALU_MTAP24 + const NALU_Non_IDR_Picture + const NALU_Not_Auxiliary_Coded + const NALU_PPS + const NALU_Prefix + const NALU_Reserved1 + const NALU_Reserved2 + const NALU_Reserved3 + const NALU_Reserved4 + const NALU_Reserved5 + const NALU_SEI + const NALU_SPS + const NALU_SPS_Extension + const NALU_SPS_Subset + const NALU_STAPA + const NALU_STAPB + const NALU_Sequence_End + const NALU_Stream_End + const NALU_Unspecified + func ParseH264NALUType(b byte) H264NALUType + func (H264NALUType) Parse(b byte) H264NALUType + func (H264NALUType) ParseBytes(bs []byte) H264NALUType + func (b H264NALUType) Byte() byte + func (b H264NALUType) Offset() int + func (b H264NALUType) Or(b2 byte) byte + type H265NALUType byte + const NAL_UNIT_ACCESS_UNIT_DELIMITER + const NAL_UNIT_CODED_SLICE_BLA + const NAL_UNIT_CODED_SLICE_BLANT + const NAL_UNIT_CODED_SLICE_BLA_N_LP + const NAL_UNIT_CODED_SLICE_CRA + const NAL_UNIT_CODED_SLICE_DLP + const NAL_UNIT_CODED_SLICE_IDR + const NAL_UNIT_CODED_SLICE_IDR_N_LP + const NAL_UNIT_CODED_SLICE_RADL_N + const NAL_UNIT_CODED_SLICE_RASL_N + const NAL_UNIT_CODED_SLICE_STSA_N + const NAL_UNIT_CODED_SLICE_STSA_R + const NAL_UNIT_CODED_SLICE_TFD + const NAL_UNIT_CODED_SLICE_TLA + const NAL_UNIT_CODED_SLICE_TRAIL_N + const NAL_UNIT_CODED_SLICE_TRAIL_R + const NAL_UNIT_CODED_SLICE_TSA_N + const NAL_UNIT_EOB + const NAL_UNIT_EOS + const NAL_UNIT_FILLER_DATA + const NAL_UNIT_INVALID + const NAL_UNIT_PPS + const NAL_UNIT_RESERVED_10 + const NAL_UNIT_RESERVED_11 + const NAL_UNIT_RESERVED_12 + const NAL_UNIT_RESERVED_13 + const NAL_UNIT_RESERVED_14 + const NAL_UNIT_RESERVED_15 + const NAL_UNIT_RESERVED_22 + const NAL_UNIT_RESERVED_23 + const NAL_UNIT_RESERVED_24 + const NAL_UNIT_RESERVED_25 + const NAL_UNIT_RESERVED_26 + const NAL_UNIT_RESERVED_27 + const NAL_UNIT_RESERVED_28 + const NAL_UNIT_RESERVED_29 + const NAL_UNIT_RESERVED_30 + const NAL_UNIT_RESERVED_31 + const NAL_UNIT_RESERVED_41 + const NAL_UNIT_RESERVED_42 + const NAL_UNIT_RESERVED_43 + const NAL_UNIT_RESERVED_44 + const NAL_UNIT_RESERVED_45 + const NAL_UNIT_RESERVED_46 + const NAL_UNIT_RESERVED_47 + const NAL_UNIT_RTP_AP + const NAL_UNIT_RTP_FU + const NAL_UNIT_SEI + const NAL_UNIT_SEI_SUFFIX + const NAL_UNIT_SPS + const NAL_UNIT_UNSPECIFIED_50 + const NAL_UNIT_UNSPECIFIED_51 + const NAL_UNIT_UNSPECIFIED_52 + const NAL_UNIT_UNSPECIFIED_53 + const NAL_UNIT_UNSPECIFIED_54 + const NAL_UNIT_UNSPECIFIED_55 + const NAL_UNIT_UNSPECIFIED_56 + const NAL_UNIT_UNSPECIFIED_57 + const NAL_UNIT_UNSPECIFIED_58 + const NAL_UNIT_UNSPECIFIED_59 + const NAL_UNIT_UNSPECIFIED_60 + const NAL_UNIT_UNSPECIFIED_61 + const NAL_UNIT_UNSPECIFIED_62 + const NAL_UNIT_UNSPECIFIED_63 + const NAL_UNIT_VPS + func ParseH265NALUType(b byte) H265NALUType + func (H265NALUType) Parse(b byte) H265NALUType + type HVCDecoderConfigurationRecord struct + PicHeightInLumaSamples uint32 + PicWidthInLumaSamples uint32 + func (ctx *HVCDecoderConfigurationRecord) ParseSps(sps []byte) error + func (ctx *HVCDecoderConfigurationRecord) ParseVps(vps []byte) error + type HandlerBox struct + HandlerType uint32 + Name string + PreDefined uint32 + Reserved [3]uint32 + type HintMediaHeaderBox struct + AvgBitrate uint32 + AvgPDUSize uint16 + MaxBitrate uint32 + MaxPDUSize uint16 + Reserved uint32 + type HintSampleEntry struct + Data []uint8 + type HintSampleGroupEntry struct + type IPMPControlBox struct + type IndependentAndDisposableSamplesBox struct + Table []IndependentAndDisposableSamplesTable + type IndependentAndDisposableSamplesTable struct + IsLeading byte + SampleDependsOn byte + SampleHasTedundancy byte + SampleIsDependedOn byte + type ItemDataBox struct + Data []byte + type ItemInfoBox struct + EntryCount uint16 + ItemInfos []ItemInfoEntry + type ItemInfoEntry struct + ContentEncoding string + ContentType string + ExtensionType uint32 + ItemID uint16 + ItemName string + ItemProtectionIndex uint16 + ItemType uint32 + ItemUriType string + type ItemInfoExtension struct + type ItemLocationBox struct + BaseOffsetSize byte + IndexSize byte + ItemCount uint16 + LengthSize byte + OffsetSize byte + Table interface{} + type ItemLocationExtentTable1 struct + ExtentIndex interface{} + type ItemLocationExtentTable2 struct + ExtentLength interface{} + ExtentOffset interface{} + type ItemLocationTable1 struct + BaseOffset interface{} + ConstructionMethod byte + DataReferenceIndex uint16 + ExtentCount uint16 + ExtentTable []ItemLocationExtentTable1 + ItemID uint16 + Reserved uint16 + type ItemLocationTable2 struct + BaseOffset interface{} + DataReferenceIndex uint16 + ExtentCount uint16 + ExtentTable []ItemLocationExtentTable2 + ItemID uint16 + type ItemProtectionBox struct + ProtectionCount uint16 + Table []ItemProtectionTable + type ItemProtectionTable struct + ProtectionInformation ProtectionSchemeInfoBox + type ItemReferenceBox struct + SITRB []SingleItemTypeReferenceBox + type LevelAssignmentBox struct + LevelCount uint8 + Table []LevelAssignmentTable + type LevelAssignmentTable struct + AssignmentType byte + PaddingFlag byte + TrackId uint32 + type MP4 interface + type MP4Body struct + type MP4Box interface + Body func() *MP4Body + Header func() *MP4Header + type MP4BoxHeader struct + BoxSize uint32 + BoxType uint32 + type MP4BoxLargeHeader struct + LargeSize uint64 + UUIDs [16]uint8 + type MP4FullBoxHeader struct + Flags [3]byte + Version uint8 + type MP4Header struct + type MediaBox struct + Mhb MediaHeaderBox + type MediaDataBox struct + Data []byte + type MediaHeaderBox struct + CreationTime interface{} + Duration interface{} + Language [2]byte + ModificationTime interface{} + Pad byte + PreDefined uint16 + TimeScale uint32 + type MediaInformationBox struct + type MediaInformationHeaderBoxes struct + type MetaBox struct + FileLocations DataInformationBox + IPMPControl IPMPControlBox + ItemData ItemDataBox + ItemInfos ItemInfoBox + ItemLocations ItemLocationBox + ItemRefs ItemReferenceBox + PrimaryResource PrimaryItemBox + Protections ItemProtectionBox + type MetaDataSampleEntry struct + type MetaboxRelationBox struct + FirstMetaboxHandlerType uint32 + MetaboxRelation uint8 + SecondMetaboxHandlerType uint32 + type MovieBox struct + func NewMovieBox() (box *MovieBox) + type MovieExtendsBox struct + type MovieExtendsHeaderBox struct + type MovieFragmentBox struct + type MovieFragmentHeaderBox struct + SequenceNumber uint32 + type MovieFragmentRandomAccessBox struct + type MovieFragmentRandomAccessOffsetBox struct + Size uint32 + type MovieHeaderBox struct + CreationTime interface{} + Duration interface{} + Matrix [9]int32 + ModificationTime interface{} + NextTrackID uint32 + PreDefined [6]int32 + Rate int32 + Reserved1 int16 + Reserved2 [2]uint32 + TimeScale uint32 + Volume int16 + type NALUHeader struct + type NALUnit struct + type NullMediaHeaderBox struct + type OriginalFormatBox struct + DataFormat uint32 + type PaddingBitsBox struct + SampleCount uint32 + Table []PaddingBitsTable + type PaddingBitsTable struct + Pad1 byte + Pad2 byte + Reserved1 byte + Reserved2 byte + type PartitionEntry struct + FECRB FECReservoirBox + FPB FilePartitionBox + FRB FileReservoirBox + type PixelAspectRatioBox struct + HSpacing uint32 + VSpacing uint32 + type PrimaryItemBox struct + ItemID uint16 + type ProducerReferenceTimeBox struct + MediaTime interface{} + NtpTimestamp uint64 + ReferenceTrackID uint32 + type ProgressiveDownloadInformationBox struct + InitialDelay uint32 + Rate uint32 + type ProtectionSchemeInfoBox struct + Info SchemeInformationBox + OriginalFormat OriginalFormatBox + Type SchemeTypeBox + type RBSP interface + type SPSInfo struct + CropBottom uint + CropLeft uint + CropRight uint + CropTop uint + Height uint + LevelIdc uint + MbHeight uint + MbWidth uint + ProfileIdc uint + Width uint + func ParseHevcSPS(data []byte) (self SPSInfo, err error) + func ParseSPS(data []byte) (self SPSInfo, err error) + type SampleAuxiliaryInformationOffsetsBox struct + type SampleAuxiliaryInformationSizesBox struct + Table interface{} + type SampleAuxiliaryInformationSizesTable1 struct + AuxInfoType uint32 + AuxInfoTypeParameter uint32 + DefaultSampleInfoSize uint8 + SampleCount uint32 + type SampleAuxiliaryInformationSizesTable2 struct + DefaultSampleInfoSize uint8 + SampleCount uint32 + type SampleDescriptionBox struct + EntryCount uint32 + type SampleEntry struct + DataReferenceIndex uint16 + Reserved [6]uint8 + type SampleGroupDescriptionBox struct + EntryCount uint32 + GroupingType uint32 + type SampleGroupDescriptionEntry struct + type SampleSizeBox struct + EntrySize interface{} + SampleCount uint32 + SampleSize uint32 + type SampleSizeBoxes struct + type SampleTableBox struct + type SampleToChunkBox struct + EntryCount uint32 + Table []SampleToChunkTable + type SampleToChunkTable struct + FirstChunk []uint32 + SampleDescriptionIndex []uint32 + SamplesPerChunk []uint32 + type SampleToGroupBox struct + EntryCount uint32 + GroupingType uint32 + Table []SampleToGroupTable + type SampleToGroupTable struct + GroupDescriptionIndex uint32 + SampleCount uint32 + type SchemeInformationBox struct + SchemeSpecificData []SchemeTypeBox + type SchemeTypeBox struct + SchemeType uint32 + SchemeVersion uint32 + type SegmentIndexBox struct + EarliestPresentationTime interface{} + FirstOffset interface{} + ReferenceCount uint16 + ReferenceID uint32 + Reserved uint16 + Table []SegmentIndexTable + TimeScale uint32 + type SegmentIndexTable struct + ReferenceType byte + ReferencedSize uint32 + SAPDeltaTime uint32 + SAPType byte + StartsWithSAP byte + SubSegmentDuration uint32 + type ShadowSyncSampleBox struct + EntryCount uint32 + Table []ShadowSyncSampleTable + type ShadowSyncSampleTable struct + ShadowedSampleNumber uint32 + SyncSampleNumber uint32 + type SingleItemTypeReferenceBox struct + FromItemID uint16 + ReferenceCount uint16 + Table []SingleItemTypeReferenceTable + type SingleItemTypeReferenceTable struct + ToItemID uint16 + type SoundMediaHeaderBox struct + Balance int16 + Reserved uint16 + type SubSampleCountTable struct + DiscardAble uint8 + Reserved uint32 + SubsamplePriority uint8 + SubsampleSize interface{} + type SubSampleInformationBox struct + EntryCount uint32 + Table []SubSampleInformationTable + type SubSampleInformationTable struct + CountTable []SubSampleCountTable + SampleDelta uint32 + SubsampleCount uint16 + type SubTrack struct + type SubTrackDefinition struct + type SubTrackInformation struct + AlternateGroup int16 + AttributeList []uint32 + SubTrackID uint32 + SwitchGroup int16 + type SubsegmentIndexBox struct + SubSegmentCount uint32 + Table []SubsegmentIndexTable + type SubsegmentIndexTable struct + RangesCount uint32 + Rtable []SubsegmentRangesTable + type SubsegmentRangesTable struct + type SyncSampleBox struct + EntryCount uint32 + SampleNumber []uint32 + type TextMetaDataSampleEntry struct + Brb BitRateBox + ContentEncoding string + MimeFormat string + type TimeToSampleBox struct + EntryCount uint32 + Table []TimeToSampleTable + type TimeToSampleTable struct + SampleCount []uint32 + SampleDelta []uint32 + type TrackBox struct + Thb TrackHeaderBox + type TrackExtendsBox struct + DefaultSampleDescriptionIndex uint32 + DefaultSampleDuration uint32 + DefaultSampleFlags uint32 + DefaultSampleSize uint32 + TrackID uint32 + type TrackFragmentBaseMediaDecodeTimeBox struct + BaseMediaDecodeTime interface{} + type TrackFragmentBox struct + type TrackFragmentHeaderBox struct + BaseDataOffset uint64 + DefaultSampleDuration uint32 + DefaultSampleFlags uint32 + DefaultSampleSize uint32 + SampleDescriptionIndex uint32 + TrackID uint32 + type TrackFragmentRandomAccessBox struct + LengthSizeOfSampleNum byte + LengthSizeOfTrafNum byte + LengthSizeOfTrunNum byte + NumberOfEntry uint32 + Reserved uint32 + Table []TrackFragmentRandomAccessTable + TrackID uint32 + type TrackFragmentRandomAccessTable struct + Moofoffset interface{} + SampleNumber interface{} + Time interface{} + TrafNumber interface{} + TrunNumber interface{} + type TrackFragmentRunBox struct + DataOffset int32 + FirstSampleFlags uint32 + SampleCount uint32 + Table []TrackFragmentRunTable + type TrackFragmentRunTable struct + SampleCompositionTimeOffset interface{} + SampleDuration uint32 + SampleFlags uint32 + SampleSize uint32 + type TrackGroupBox struct + type TrackGroupTypeBox struct + TrackGroupID uint32 + type TrackHeaderBox struct + AlternateGroup int16 + CreationTime interface{} + Duration interface{} + Height uint32 + Layer int16 + Matrix [9]int32 + ModificationTime interface{} + Reserved1 uint32 + Reserved2 [2]uint32 + Reserved3 uint16 + TrackID uint32 + Volume int16 + Width uint32 + type TrackReferenceBox struct + type TrackReferenceTypeBox struct + TrackIDs []uint32 + type TrackSelectionBox struct + AttributeList []uint32 + SwitchGroup int32 + type URIBox struct + TheURI string + type URIInitBox struct + UriInitializationData []uint8 + type URIMetaSampleEntry struct + Init URIInitBox + TheLabel URIBox + type UserDataBox struct + type VideoCodecID byte + func (codecId VideoCodecID) String() string + type VideoMediaHeaderBox struct + GraphicsMode uint16 + Opcolor [3]uint16 + type VisualSampleEntry struct + Cab CleanApertureBox + CompressorName [32]string + Depth uint16 + FrameCount uint16 + Height uint16 + HorizreSolution uint32 + Parb PixelAspectRatioBox + PreDefined1 uint16 + PreDefined2 [3]uint32 + PreDefined3 int16 + Reserved1 uint16 + Reserved3 uint32 + VertreSolution uint32 + Width uint16 + type VisualSampleGroupEntry struct + type XMLBox struct + XML string + type XMLMetaDataSampleEntry struct + Brb BitRateBox + ContentEncoding string + NameSpace string + SchemaLocation string