ffvp8

package module
v0.0.0-...-058ded3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2016 License: BSD-3-Clause Imports: 6 Imported by: 1

README

This project uses libavcodec from the ffmpeg or libav projects to
provide VP8 decoding in the Go Programming Language.

BUILDING

If your system doesn't provide libavcodec (or it's incompatible with
this code) and you want to build ffmpeg/libav from source, proceed as
follows:

cd <ffmpeg or libav sources directory>
mkdir build
cd build
../configure --enable-shared --prefix=$HOME/golibs
make install

You'll need to tell cgo where to find your libavcodec
libraries. Assuming you installed to $HOME/golibs in the previous
step, add something like this to your .bashrc or wherever you setup
your environment variables:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/golibs

Documentation

Overview

Package ffvp8 provides a wrapper around the VP8 codec in ffmpeg.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

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

func NewDecoder

func NewDecoder() *Decoder

func (*Decoder) Decode

func (d *Decoder) Decode(data []byte) *image.YCbCr

func (*Decoder) Flush

func (d *Decoder) Flush()

Jump to

Keyboard shortcuts

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