encoder

package
v0.0.0-...-bdda42b Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FfmpegAviCopy

func FfmpegAviCopy(
	ctx context.Context, target io.Writer, w, h, fr int,
) (io.WriteCloser, error)

AVI with raw video - for max speed

func FfmpegOutArgs

func FfmpegOutArgs(
	ctx context.Context, target io.Writer, w, h, fr int,
	outArgs ...string,
) (io.WriteCloser, error)

func FfmpegWebmVP9

func FfmpegWebmVP9(
	ctx context.Context, target io.Writer, w, h, fr int,
) (io.WriteCloser, error)

WebM with VP9 - for smaller data, and maybe compatibility

func PipeCmd

func PipeCmd(target io.Writer, cmd *exec.Cmd) (io.WriteCloser, error)

func PipeCommand

func PipeCommand(
	ctx context.Context, target io.Writer,
	cmd string, args ...string,
) (io.WriteCloser, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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