mp4fio

package
v0.0.0-...-4cc6584 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const LenTrackFragRunEntry = 16

Variables

This section is empty.

Functions

This section is empty.

Types

type ElemStreamDesc

type ElemStreamDesc struct {
	DecConfig []byte
	TrackId   uint16
	mp4io.AtomPos
}

func (ElemStreamDesc) Children

func (self ElemStreamDesc) Children() []mp4io.Atom

func (ElemStreamDesc) Len

func (self ElemStreamDesc) Len() (n int)

func (ElemStreamDesc) Marshal

func (self ElemStreamDesc) Marshal(b []byte) (n int)

type MovieFrag

type MovieFrag struct {
	Header   *MovieFragHeader
	Tracks   []*TrackFrag
	Unknowns []mp4io.Atom
	mp4io.AtomPos
}

func (MovieFrag) Children

func (self MovieFrag) Children() (r []mp4io.Atom)

func (MovieFrag) Len

func (self MovieFrag) Len() (n int)

func (MovieFrag) Marshal

func (self MovieFrag) Marshal(b []byte) (n int)

func (MovieFrag) Tag

func (self MovieFrag) Tag() mp4io.Tag

func (*MovieFrag) Unmarshal

func (self *MovieFrag) Unmarshal(b []byte, offset int) (n int, err error)

type MovieFragHeader

type MovieFragHeader struct {
	Version uint8
	Flags   uint32
	Seqnum  uint32
	mp4io.AtomPos
}

func (MovieFragHeader) Children

func (self MovieFragHeader) Children() (r []mp4io.Atom)

func (MovieFragHeader) Len

func (self MovieFragHeader) Len() (n int)

func (MovieFragHeader) Marshal

func (self MovieFragHeader) Marshal(b []byte) (n int)

func (MovieFragHeader) Tag

func (self MovieFragHeader) Tag() mp4io.Tag

func (*MovieFragHeader) Unmarshal

func (self *MovieFragHeader) Unmarshal(b []byte, offset int) (n int, err error)

type TrackFrag

type TrackFrag struct {
	Header     *TrackFragHeader
	DecodeTime *TrackFragDecodeTime
	Run        *TrackFragRun
	Unknowns   []mp4io.Atom
	mp4io.AtomPos
}

func (TrackFrag) Children

func (self TrackFrag) Children() (r []mp4io.Atom)

func (TrackFrag) Len

func (self TrackFrag) Len() (n int)

func (TrackFrag) Marshal

func (self TrackFrag) Marshal(b []byte) (n int)

func (TrackFrag) Tag

func (self TrackFrag) Tag() mp4io.Tag

func (*TrackFrag) Unmarshal

func (self *TrackFrag) Unmarshal(b []byte, offset int) (n int, err error)

type TrackFragDecodeTime

type TrackFragDecodeTime struct {
	Version uint8
	Flags   uint32
	Time    uint64
	mp4io.AtomPos
}

func (TrackFragDecodeTime) Children

func (self TrackFragDecodeTime) Children() (r []mp4io.Atom)

func (TrackFragDecodeTime) Len

func (self TrackFragDecodeTime) Len() (n int)

func (TrackFragDecodeTime) Marshal

func (self TrackFragDecodeTime) Marshal(b []byte) (n int)

func (TrackFragDecodeTime) Tag

func (self TrackFragDecodeTime) Tag() mp4io.Tag

func (*TrackFragDecodeTime) Unmarshal

func (self *TrackFragDecodeTime) Unmarshal(b []byte, offset int) (n int, err error)

type TrackFragHeader

type TrackFragHeader struct {
	Data []byte
	mp4io.AtomPos
}

func (TrackFragHeader) Children

func (self TrackFragHeader) Children() (r []mp4io.Atom)

func (TrackFragHeader) Len

func (self TrackFragHeader) Len() (n int)

func (TrackFragHeader) Marshal

func (self TrackFragHeader) Marshal(b []byte) (n int)

func (TrackFragHeader) Tag

func (self TrackFragHeader) Tag() mp4io.Tag

func (*TrackFragHeader) Unmarshal

func (self *TrackFragHeader) Unmarshal(b []byte, offset int) (n int, err error)

type TrackFragRun

type TrackFragRun struct {
	Version          uint8
	Flags            uint32
	DataOffset       uint32
	FirstSampleFlags uint32
	Entries          []mp4io.TrackFragRunEntry
	mp4io.AtomPos
}

func (TrackFragRun) Children

func (self TrackFragRun) Children() (r []mp4io.Atom)

func (TrackFragRun) Len

func (self TrackFragRun) Len() (n int)

func (TrackFragRun) Marshal

func (self TrackFragRun) Marshal(b []byte) (n int)

func (TrackFragRun) Tag

func (self TrackFragRun) Tag() mp4io.Tag

func (*TrackFragRun) Unmarshal

func (self *TrackFragRun) Unmarshal(b []byte, offset int) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL