ivf

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package ivf adapts IVF packet streams to the goav format interfaces.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidHeader      = errors.New("ivf: invalid header")
	ErrNilReader          = errors.New("ivf: nil reader")
	ErrNilWriter          = errors.New("ivf: nil writer")
	ErrFrameCountTooLarge = errors.New("ivf: too many frames")
	ErrPayloadTooLarge    = errors.New("ivf: payload too large")
	ErrPayloadTooSmall    = errors.New("ivf: payload buffer too small")
	ErrUnsupportedCodec   = errors.New("ivf: unsupported codec")
	ErrUnsupportedStream  = errors.New("ivf: unsupported stream layout")
)

Functions

func Descriptor

func Descriptor() format.Descriptor

func Register

func Register(registry *format.SimpleRegistry)

Types

type Demuxer

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

func (*Demuxer) Close

func (d *Demuxer) Close() error

func (*Demuxer) Format

func (d *Demuxer) Format() av.FormatID

func (*Demuxer) Open

func (d *Demuxer) Open(ctx context.Context, input format.Input, _ format.OpenOptions) error

func (*Demuxer) ReadInto

func (d *Demuxer) ReadInto(ctx context.Context, out *format.ReadResult) error

func (*Demuxer) Streams

func (d *Demuxer) Streams() []av.Stream

type DemuxerFactory

type DemuxerFactory struct{}

func (DemuxerFactory) NewDemuxer

func (DemuxerFactory) NewDemuxer(ctx context.Context, result format.ProbeResult) (format.Demuxer, error)

type Muxer

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

func (*Muxer) Close

func (m *Muxer) Close() error

func (*Muxer) Format

func (m *Muxer) Format() av.FormatID

func (*Muxer) Open

func (m *Muxer) Open(ctx context.Context, output format.Output, streams []av.Stream, _ format.OpenOptions) error

func (*Muxer) Write

func (m *Muxer) Write(ctx context.Context, packet *av.Packet, _ *format.WriteResult) error

type MuxerFactory

type MuxerFactory struct{}

func (MuxerFactory) NewMuxer

func (MuxerFactory) NewMuxer(ctx context.Context, id av.FormatID) (format.Muxer, error)

type Prober

type Prober struct{}

func (Prober) Probe

Jump to

Keyboard shortcuts

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