Versions in this module Expand all Collapse all v1 v1.0.0 Mar 9, 2022 Changes in this version + type AVSync struct + MaxTimeDiff time.Duration + func (self *AVSync) ModifyPacket(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error) + type Buf struct + Count int + Head BufPos + Size int + Tail BufPos + func NewBuf() *Buf + func (self *Buf) Get(pos BufPos) av.Packet + func (self *Buf) IsValidPos(pos BufPos) bool + func (self *Buf) Pop() av.Packet + func (self *Buf) Push(pkt av.Packet) + type BufPos int + func (self BufPos) GE(pos BufPos) bool + func (self BufPos) GT(pos BufPos) bool + func (self BufPos) LT(pos BufPos) bool + type Filter interface + ModifyPacket func(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error) + type FilterDemuxer struct + Filter Filter + func (self FilterDemuxer) ReadPacket() (pkt av.Packet, err error) + type Filters []Filter + func (self Filters) ModifyPacket(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error) + type FixTime struct + MakeIncrement bool + StartFromZero bool + func (self *FixTime) ModifyPacket(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error) + type Timeline struct + func (self *Timeline) Pop(dur time.Duration) (tm time.Duration) + func (self *Timeline) Push(tm time.Duration, dur time.Duration) + type WaitKeyFrame struct + func (self *WaitKeyFrame) ModifyPacket(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error) + type Walltime struct + func (self *Walltime) ModifyPacket(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error)