ffmpeg

package
v0.17.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ffmpeg

func Ffmpeg(ctx context.Context, args Args) (uint32, error)

Ffmpeg runs the given arguments with an instance of ffmpeg.

func Ffprobe

func Ffprobe(ctx context.Context, args Args) (uint32, error)

Ffprobe runs the given arguments with an instance of ffprobe.

func InitFfmpeg

func InitFfmpeg(ctx context.Context, max int) error

InitFfmpeg precompiles the ffmpeg WebAssembly source into memory and prepares the runner to only allow max given concurrent running instances.

func InitFfprobe

func InitFfprobe(ctx context.Context, max int) error

InitFfprobe precompiles the ffprobe WebAssembly source into memory and prepares the runner to only allow max given concurrent running instances.

Types

type Args

type Args = wasm.Args

Args encapsulates the passing of common configuration options to run an instance of a compiled WebAssembly module that is run in a typical CLI manner.

Jump to

Keyboard shortcuts

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