fmp4

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CodecTypes = []av.CodecType{av.H264, av.AAC}

Functions

func Handler

func Handler(h *avutil.RegisterHandler)

Types

type Muxer

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

func NewMuxer

func NewMuxer(w io.WriteSeeker) *Muxer

func (*Muxer) WriteHeader

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

func (*Muxer) WritePacket

func (self *Muxer) WritePacket(pkt av.Packet) (err error)

func (*Muxer) WriteTrailer

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

type Stream

type Stream struct {
	av.CodecData

	Idx int
	// contains filtered or unexported fields
}

func (*Stream) BuildTrackFragmentWithoutOffset

func (self *Stream) BuildTrackFragmentWithoutOffset() (trackFragment *mp4io.TrackFrag, err error)

Jump to

Keyboard shortcuts

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