ffmpeg

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractFrames

func ExtractFrames(ctx context.Context, vidFilename string, sizePixels image.Point, fps int) (pattern string, cleanUp func() error, _ error)

func ImageStream

func ImageStream(ctx context.Context, rsz term.Resizer, sizePixels image.Point, pattern string) (<-chan image.Image, error)

func StreamFrames

func StreamFrames(ctx context.Context, vidFilename string, sizePixels image.Point, fps int) (<-chan image.Image, error)

Types

type Frame

type Frame struct {
	ID int
	image.Image
	// contains filtered or unexported fields
}

func (*Frame) Err

func (f *Frame) Err() error

Jump to

Keyboard shortcuts

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