task

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(opt ...Opt) (*Manager, error)

func (*Manager) AudioFingerprint

AudioFingerprint generates an audio fingerprint and optionally performs AcoustID lookup

func (*Manager) ListAudioChannelLayouts

Probe a media file or stream and return information about its format and streams

func (*Manager) ListCodecs

func (manager *Manager) ListCodecs(_ context.Context, req *schema.ListCodecRequest) (schema.ListCodecResponse, error)

Return all supported codecs

func (*Manager) ListFilters

func (manager *Manager) ListFilters(_ context.Context, req *schema.ListFilterRequest) (schema.ListFilterResponse, error)

Return all supported filters

func (*Manager) ListFormats

func (manager *Manager) ListFormats(_ context.Context, req *schema.ListFormatRequest) (schema.ListFormatResponse, error)

Return all supported formats (input/output formats and devices)

func (*Manager) ListPixelFormats

Return all supported pixel formats

func (*Manager) ListSampleFormats

Return all supported sample formats

func (*Manager) Probe

Probe a media file or stream and return information about its format and streams

func (*Manager) Remux

Remux remuxes media streams from input to output without re-encoding. The writer must implement io.Writer and can optionally implement schema.Writer for enhanced feedback (progress and logging)

type Opt

type Opt func(*opts) error

Opt is a functional option for configuring the Manager

func WithChromaprintKey

func WithChromaprintKey(key string) Opt

WithChromaprintKey sets the AcoustID API key for chromaprint operations

func WithTraceFn

func WithTraceFn(fn TraceFn, verbose bool) Opt

WithTraceFn sets a tracing function for logging

type TraceFn

type TraceFn func(v string)

Jump to

Keyboard shortcuts

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