Versions in this module Expand all Collapse all v1 v1.0.8 Dec 18, 2023 Changes in this version + type AVSync struct + MaxTimeDiff time.Duration + func (instance *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 (instance *Buf) Get(pos BufPos) av.Packet + func (instance *Buf) IsValidPos(pos BufPos) bool + func (instance *Buf) Pop() av.Packet + func (instance *Buf) Push(pkt av.Packet) + type BufPos int + func (instance BufPos) GE(pos BufPos) bool + func (instance BufPos) GT(pos BufPos) bool + func (instance 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 (instance FilterDemuxer) ReadPacket() (pkt av.Packet, err error) + type Filters []Filter + func (instance Filters) ModifyPacket(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error) + type FixTime struct + MakeIncrement bool + StartFromZero bool + func (instance *FixTime) ModifyPacket(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error) + type Timeline struct + func (instance *Timeline) Pop(dur time.Duration) (tm time.Duration) + func (instance *Timeline) Push(tm time.Duration, dur time.Duration) + type WaitKeyFrame struct + func (instance *WaitKeyFrame) ModifyPacket(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error) + type Walltime struct + func (instance *Walltime) ModifyPacket(pkt *av.Packet, streams []av.CodecData, videoidx int, audioidx int) (drop bool, err error)