ffmpeg

package
v0.0.0-...-72e33f6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageSnapshot

func ImageSnapshot(ctx context.Context, inputPath, outputFormat string, outputWriter io.Writer, cfg ImageSnapshotConfig) error

func VideoSnapshot

func VideoSnapshot(ctx context.Context, inputPath, outputFormat string, outputWriter io.Writer, cfg VideoSnapshotConfig) error

Types

type ImageSnapshotConfig

type ImageSnapshotConfig struct {
	Width  int
	Height int
}

type VideoSnapshotConfig

type VideoSnapshotConfig struct {
	Width    int
	Height   int
	Position time.Duration
}

Jump to

Keyboard shortcuts

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