video

package
v0.0.0-...-2a7234f Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Video

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

Video contains the input file and other processing information

func NewVideo

func NewVideo(path string, duration []string) (*Video, error)

NewVideo returns a Video object that can process trim and merge operations

func (*Video) Merge

func (v *Video) Merge() error

Merge produces a single movie out of multiple clips based on Video.duration

func (*Video) Trim

func (v *Video) Trim() error

Trim produces one or more clips based on Video.duration

Jump to

Keyboard shortcuts

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