prores

package module
v0.0.0-...-256303f Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: MIT Imports: 8 Imported by: 1

README

go-prores-ffmpeg

Codacy Badge GoDoc wercker status

Sample code which uses goav to decode a byte slice containing a ProRes file into a Go Image.

TODO

License

This library is under the MIT License

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeProRes

func DecodeProRes(buf []byte, width int, height int) (*image.NRGBA, error)

DecodeProRes takes a byte slice containing a single ProRes frame, and uses goav (w/ ffmpeg) to produce a Go RGBA image. This function requires that the frame width and height be known in advance. It returns a pointer to the new image if successful, or nil and an error if unsuccessful.

Note this function is still pretty rough.

Types

This section is empty.

Jump to

Keyboard shortcuts

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