ffmpeg

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FFCtx

type FFCtx struct {
	// contains filtered or unexported fields
}

type FFCtxC

type FFCtxC struct {
	// contains filtered or unexported fields
}

type VideoDecoder

type VideoDecoder struct {
	Extradata []byte
	// contains filtered or unexported fields
}

func NewVideoDecoder

func NewVideoDecoder(stream av.CodecData) (dec *VideoDecoder, err error)

func (*VideoDecoder) DecodeSingle

func (self *VideoDecoder) DecodeSingle(pkt []byte) (img *VideoFrame, err error)

func (*VideoDecoder) Setup

func (self *VideoDecoder) Setup() (err error)

type VideoFrame

type VideoFrame struct {
	Image image.YCbCr
	// contains filtered or unexported fields
}

func (*VideoFrame) Free

func (self *VideoFrame) Free()

Jump to

Keyboard shortcuts

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