videoprocessor

package
v0.0.0-...-b18db6d Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: 0BSD Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTimestampToFilename

func AddTimestampToFilename(filename string) string

Types

type VideoProcessor

type VideoProcessor struct {
	VideoStorer   storer.Storer
	CommentStorer storer.Storer
	ResultStorer  storer.Storer
	// contains filtered or unexported fields
}

func New

func New(videos, comments, results storer.Storer) *VideoProcessor

func (*VideoProcessor) Combine

func (vp *VideoProcessor) Combine(videoPath, commentPath string) (string, error)

func (*VideoProcessor) FetchComment

func (vp *VideoProcessor) FetchComment(username, commentText, imagePath string) (string, error)

func (*VideoProcessor) FetchVideo

func (vp *VideoProcessor) FetchVideo(mediaURL string) (string, error)

Jump to

Keyboard shortcuts

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