adapters

package
v0.0.0-...-db9aab1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

Types

type ImageConverter

type ImageConverter struct{}

func NewImageConverter

func NewImageConverter() ImageConverter

func (ImageConverter) Convert

func (c ImageConverter) Convert(ctx context.Context, srcPath, dstPath, dstExt string) (err error)

func (ImageConverter) Supports

func (c ImageConverter) Supports(ctx context.Context, srcExt, dstExt string) bool

type Mus2VidConverter

type Mus2VidConverter struct {
	FFmpegPath string
}

func NewMus2VidConverter

func NewMus2VidConverter() Mus2VidConverter

func (Mus2VidConverter) Convert

func (c Mus2VidConverter) Convert(ctx context.Context, srcPath, dstPath, dstExt string) (err error)

func (Mus2VidConverter) Supports

func (c Mus2VidConverter) Supports(ctx context.Context, srcExt, dstExt string) bool

type MusicConverter

type MusicConverter struct {
	FFmpegPath string
}

func NewMusicConverter

func NewMusicConverter() MusicConverter

func (MusicConverter) Convert

func (c MusicConverter) Convert(ctx context.Context, srcPath, dstPath, dstExt string) (err error)

func (MusicConverter) Supports

func (c MusicConverter) Supports(ctx context.Context, srcExt, dstExt string) bool

type VideoConverter

type VideoConverter struct {
	FFmpegPath string
}

func NewVideoConverter

func NewVideoConverter() VideoConverter

func (VideoConverter) Convert

func (c VideoConverter) Convert(ctx context.Context, srcPath, dstPath, dstExt string) (err error)

func (VideoConverter) Supports

func (c VideoConverter) Supports(ctx context.Context, srcExt, dstExt string) bool

Jump to

Keyboard shortcuts

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