vpxencoder

package
v0.0.0-...-eff7b99 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VpxEncoder

type VpxEncoder struct {
	Output chan []byte // frame
	Input  chan []byte // yuvI420
	// contains filtered or unexported fields
}

VpxEncoder yuvI420 image to vp8 video

func NewVpxEncoder

func NewVpxEncoder(w, h, fps, bitrate, keyframe int) (*VpxEncoder, error)

NewVpxEncoder create vp8 encoder

func (*VpxEncoder) Release

func (v *VpxEncoder) Release()

Release release memory and stop loop

Jump to

Keyboard shortcuts

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