mp4

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

CodecTypes var

Functions

func Handler

func Handler(h *avutil.RegisterHandler)

Handler type

Types

type Demuxer

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

Demuxer type

func NewDemuxer

func NewDemuxer(r io.ReadSeeker) *Demuxer

NewDemuxer type

func (*Demuxer) CurrentTime

func (demuxer *Demuxer) CurrentTime() (tm time.Duration)

CurrentTime type

func (*Demuxer) ReadPacket

func (demuxer *Demuxer) ReadPacket() (pkt av.Packet, err error)

ReadPacket type

func (*Demuxer) SeekToTime

func (demuxer *Demuxer) SeekToTime(tm time.Duration) (err error)

SeekToTime type

func (*Demuxer) Streams

func (demuxer *Demuxer) Streams() (streams []av.CodecData, err error)

Streams type

type Muxer

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

Muxer type

func NewMuxer

func NewMuxer(w io.WriteSeeker) *Muxer

NewMuxer type

func (*Muxer) WriteHeader

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

WriteHeader type

func (*Muxer) WritePacket

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

WritePacket type

func (*Muxer) WriteTrailer

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

WriteTrailer type

type Stream

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

Stream type

Directories

Path Synopsis
gen

Jump to

Keyboard shortcuts

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