videoclip

package
v0.0.0-...-49f6bda Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DATE_AND_TIME_FORMAT = "2006-01-02 15.04.05"
View Source
const DATE_FORMAT = "2006-01-02"

Variables

View Source
var Timestamp = func() time.Time {
	return time.Now()
}

Functions

This section is empty.

Types

type Clip

type Clip interface {
	NoCloser
	Closer
}

func New

func New(ploc string, fps int) Clip

type Closer

type Closer interface {
	Close()
}

type NoCloser

type NoCloser interface {
	AppendFrame(videoframe.NoCloser)
	Frames() []videoframe.NoCloser
	Dimensions() (videoframe.Dimensions, error)
	FPS() int
	RootPath() string
	FileName() string
}

type Writer

type Writer interface {
	Write(NoCloser) error
}

Jump to

Keyboard shortcuts

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