saVideo

package
v0.0.0-...-b2602dc Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InArray

func InArray[T Ordered](needle T, haystack []T) bool

Types

type Ordered

type Ordered interface {
	int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | uintptr | float32 | float64 | string
}

type Output

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

func (Output) Run

func (OutputProcess Output) Run() error

type Video

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

func Concat

func Concat(videos []Video) (Video, error)

func Load

func Load(fileName string) (Video, error)

func (Video) AudioFadeIn

func (V Video) AudioFadeIn(start, duration float64) Video

func (Video) AudioFadeOut

func (V Video) AudioFadeOut(duration float64) Video

func (Video) FadeIn

func (V Video) FadeIn(start, duration float64) Video

func (Video) FadeOut

func (V Video) FadeOut(duration float64) Video

func (Video) Output

func (V Video) Output(OutputFilename string) Output

func (Video) Resize

func (V Video) Resize(width, height int64) Video

func (Video) ResizeByHeight

func (V Video) ResizeByHeight(requiredHeight int64) Video

func (Video) ResizeByWidth

func (V Video) ResizeByWidth(requiredWidth int64) Video

func (Video) Screenshot

func (V Video) Screenshot(timeInSeconds float64, outputFilename string) (string, error)

func (Video) SubClip

func (V Video) SubClip(start, end float64) Video

Jump to

Keyboard shortcuts

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