Documentation ¶
Index ¶
- Variables
- func Handler(h *avutil.RegisterHandler)
- type Demuxer
- func (self *Demuxer) CurrentTime() (tm time.Duration)
- func (d *Demuxer) Duration(ctx context.Context) (time.Duration, error)
- func (self *Demuxer) ReadPacket(ctx context.Context, skipData bool) (pkt av.Packet, err error)
- func (self *Demuxer) SeekToTime(tm time.Duration) (err error)
- func (d *Demuxer) Streams(ctx context.Context) (streams []av.CodecData, err error)
- type Muxer
- type Stream
Constants ¶
This section is empty.
Variables ¶
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.ReadSeeker) *Demuxer
func (*Demuxer) CurrentTime ¶
func (*Demuxer) Duration ¶
Duration returns the duration from the header is known. If the duration is not stored then -1 is returned and the duration needs to be determined from the streams.
func (*Demuxer) ReadPacket ¶
type Muxer ¶
type Muxer struct {
// contains filtered or unexported fields
}
func NewMuxer ¶
func NewMuxer(w io.WriteSeeker) *Muxer
func (*Muxer) WriteTrailer ¶
Click to show internal directories.
Click to hide internal directories.