mp4f

package
v0.0.0-...-733d1a2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PutU32BE

func PutU32BE(b []byte, v uint32)

PutU32BE func

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) Finalize

func (element *Muxer) Finalize() []byte

func (*Muxer) GetInit

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

func (*Muxer) SetIndex

func (element *Muxer) SetIndex(val int)

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) WritePacket4

func (element *Muxer) WritePacket4(pkt av.Packet) error

func (*Muxer) WritePacketPrepush

func (element *Muxer) WritePacketPrepush(pkt av.Packet, dur time.Duration, 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