extract

package
v0.0.0-...-25feaa9 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractFrame

func ExtractFrame(videoName, episode string, frameNumber int) (*bytes.Buffer, error)

func ExtractGIF

func ExtractGIF(videoName, episode string, startFrame, endFrame int) (*bytes.Buffer, error)

func ExtractGIF(episode string, startFrame, endFrame int) (*bytes.Buffer, error) {

func ExtractWebM

func ExtractWebM(videoName, episode string, startFrame, endFrame int) (*bytes.Buffer, error)

func FetchVideoFPS

func FetchVideoFPS(videoPath string) (int, float64)

func FrameToTime

func FrameToTime(frame int, fps float64) string

convert frame to ffmpeg time format("HH:MM:SS.mmm")

Types

This section is empty.

Jump to

Keyboard shortcuts

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