mp4f

package
v0.0.0-...-1512c72 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FDummy

type FDummy struct {
	Data []byte
	Tag_ mp4io.Tag
	mp4io.AtomPos
}

func (FDummy) Children

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

func (FDummy) Len

func (self FDummy) Len() int

func (FDummy) Marshal

func (self FDummy) Marshal(b []byte) int

func (FDummy) Tag

func (self FDummy) Tag() mp4io.Tag

func (FDummy) Unmarshal

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

type Muxer

type Muxer struct {
	// contains filtered or unexported fields
}

func NewMuxer

func NewMuxer(w *os.File) *Muxer

func (*Muxer) GetInit

func (element *Muxer) GetInit(streams []av.CodecData) (string, []byte)

func (*Muxer) SetMaxFrames

func (self *Muxer) SetMaxFrames(count int)

func (*Muxer) SetPath

func (self *Muxer) SetPath(path string)

func (*Muxer) WriteHeader

func (element *Muxer) WriteHeader(streams []av.CodecData) (err error)

func (*Muxer) WritePacket

func (element *Muxer) WritePacket(pkt av.Packet, GOP bool) (bool, []byte, error)

func (*Muxer) WriteTrailer

func (self *Muxer) WriteTrailer() (err error)

type Stream

type Stream struct {
	av.CodecData
	// contains filtered or unexported fields
}

Directories

Path Synopsis
gen

Jump to

Keyboard shortcuts

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