ffmpeg

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingAudio = errors.New("can't find an audio stream")
View Source
var ErrMissingFile = errors.New("missing file")
View Source
var ErrMissingIcecastURL = errors.New("missing Icecast URL")

Functions

func ConvertAndTag

func ConvertAndTag(ctx context.Context) (string, *exec.Cmd, error)

func Fade

func Fade(ctx context.Context, in *media.Probe, out string, up, down float64) (*exec.Cmd, string, error)

func StreamAudio

func StreamAudio(ctx context.Context) (*exec.Cmd, error)

func Trim

func Trim(ctx context.Context, in *media.Probe, start, stop float64) (*exec.Cmd, string, error)

func TrimWithFade

func TrimWithFade(ctx context.Context, in *media.Probe, start, stop, up, down float64) (cmd *exec.Cmd, out string, err error)

Types

type UnknownMediaTypeError added in v0.4.0

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

func (UnknownMediaTypeError) Error added in v0.4.0

func (ume UnknownMediaTypeError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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