mp4f

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

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