Documentation
¶
Index ¶
- Variables
- type Codec
- type CodecIO
- func (cio *CodecIO) Close() error
- func (cio *CodecIO) CopyCodecParameters(dst *Stream) error
- func (cio *CodecIO) CopyParameters(dst *CodecIO) error
- func (cio *CodecIO) Encoder() bool
- func (cio *CodecIO) Flush() error
- func (cio *CodecIO) Open() error
- func (cio *CodecIO) ReadFrame(frm *Frame) error
- func (cio *CodecIO) ReadPacket(pkt *Packet) error
- func (cio *CodecIO) WriteFrame(frm *Frame) error
- func (cio *CodecIO) WritePacket(pkt *Packet) error
- type CodecSet
- type Demuxer
- type ErrAV
- type Format
- type Frame
- type IOContext
- func (ioc *IOContext) Close() error
- func (ioc *IOContext) Metadata() map[string]string
- func (ioc *IOContext) NewStream(codec *Codec) *Stream
- func (ioc *IOContext) ReadFrame(pkt *Packet) error
- func (ioc *IOContext) Stream(index int) *Stream
- func (ioc *IOContext) Streams() []*Stream
- func (ioc *IOContext) WriteEnd() error
- func (ioc *IOContext) WriteFrame(pkt *Packet) error
- func (ioc *IOContext) WriteHeader() error
- type MediaType
- type Muxer
- type Packet
- type Rational
- type Stream
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAgain = errors.New("resource temporarily unavailable") ErrNotOpen = errors.New("encoder/decoder is not open for I/O") )
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct {
// contains filtered or unexported fields
}
func MustFindCodec ¶
func (*Codec) NewDecoder ¶
func (*Codec) NewEncoder ¶
type CodecIO ¶
type CodecIO struct { *Codec // contains filtered or unexported fields }
func (*CodecIO) CopyCodecParameters ¶
func (*CodecIO) CopyParameters ¶
func (*CodecIO) ReadPacket ¶
func (*CodecIO) WriteFrame ¶
func (*CodecIO) WritePacket ¶
type Demuxer ¶
type Demuxer struct {
// contains filtered or unexported fields
}
func AvailableDemuxers ¶
func AvailableDemuxers() []*Demuxer
func FindDemuxer ¶
func MustFindDemuxer ¶
func (*Demuxer) Extensions ¶
type IOContext ¶
type IOContext struct {
// contains filtered or unexported fields
}
func NewInputContext ¶
func (*IOContext) WriteFrame ¶
func (*IOContext) WriteHeader ¶
type Muxer ¶
type Muxer struct {
// contains filtered or unexported fields
}
func AvailableMuxers ¶
func AvailableMuxers() []*Muxer
func MustFindMuxer ¶
func (*Muxer) Extensions ¶
func (*Muxer) PreferredCodecs ¶
func (*Muxer) SupportsCodec ¶
type Packet ¶
type Packet struct {
// contains filtered or unexported fields
}
func (*Packet) SetStreamIndex ¶
func (*Packet) StreamIndex ¶
type Rational ¶
type Rational struct {
// contains filtered or unexported fields
}
func NewRational ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) CopyCodecParameters ¶
func (*Stream) CopyParameters ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.