ts

package
v0.0.0-...-dd76eeb Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: MIT Imports: 10 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 Demuxer

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

func NewDemuxer

func NewDemuxer(r io.Reader) *Demuxer

func (*Demuxer) ReadPacket

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

func (*Demuxer) Streams

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

type Muxer

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

func NewMuxer

func NewMuxer(w io.Writer) *Muxer

func (*Muxer) SetWriter

func (self *Muxer) SetWriter(w io.Writer)

func (*Muxer) WriteHeader

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

func (*Muxer) WritePATPMT

func (self *Muxer) WritePATPMT() (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
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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