libx264

package
v0.0.0-...-fede9f9 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogLevelNone    int = C.X264_LOG_NONE
	LogLevelError   int = C.X264_LOG_ERROR
	LogLevelWarning int = C.X264_LOG_WARNING
	LogLevelInfo    int = C.X264_LOG_INFO
	LogLevelDebug   int = C.X264_LOG_DEBUG
)

Variables

This section is empty.

Functions

func Build

func Build() int

func Version

func Version() string

Types

type Encoder

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

func NewEncoder

func NewEncoder(w io.Writer, properties frame.StreamProperties, settings map[string]any, logger utilities.Logger) (*Encoder, error)

func (*Encoder) Close

func (e *Encoder) Close()

func (*Encoder) Encode

func (e *Encoder) Encode(f frame.Frame) error

func (*Encoder) EncodeStream

func (e *Encoder) EncodeStream(stream *frame.Stream) error

func (*Encoder) Flush

func (e *Encoder) Flush() error

func (*Encoder) Log

func (e *Encoder) Log(logLevel int, message string)

func (*Encoder) Version

func (e *Encoder) Version() string

Jump to

Keyboard shortcuts

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