converter

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyConverted = errors.New("video already converted")
)

Functions

This section is empty.

Types

type Converter

type Converter struct {
	FFMPEG

	List           *worklist.WorkList
	Logger         *slog.Logger
	Profile        profile.Profile
	RemoveSource   bool
	OverwriteNewer bool
	// contains filtered or unexported fields
}

func (*Converter) Run

func (c *Converter) Run(ctx context.Context)

type FFMPEG

type FFMPEG interface {
	Convert(ctx context.Context, request ffmpeg.Request) error
}

Jump to

Keyboard shortcuts

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