img2mp4

package module
v0.0.0-...-913f832 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MP4Writer

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

func New

func New(output string, size string, fps float64, bitrate int, imageDirectory string) (*MP4Writer, error)

func (*MP4Writer) FfmpegStart

func (m *MP4Writer) FfmpegStart() error

func (*MP4Writer) GetFiles

func (w *MP4Writer) GetFiles() ([]fs.FileInfo, error)

Get the files in the directory defined in the struct.

func (*MP4Writer) SetLength

func (w *MP4Writer) SetLength(length int) error

Set the length of the video in seconds, will calculate based on number of images in current struct.

Jump to

Keyboard shortcuts

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