cut

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExist = errors.Business("file already exist (%s)", "DC:001")

Functions

func Video

func Video(_ context.Context, options Params) (files.Output, error)

Types

type Config

type Config struct {
	OutputDir string `fig:"output_dir" yaml:"output_dir" default:"cuts"`
}

func (Config) Apply

func (c Config) Apply(params Params) (Params, error)

func (Config) Params

func (c Config) Params(raw collection.Params) (Params, error)

type Params

type Params struct {
	Source    string
	OutputDir string
	Start     time.Duration
	Finish    time.Duration
}

func (Params) Filename

func (p Params) Filename() string

Jump to

Keyboard shortcuts

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