Libffmpeg

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Libffmpeg

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

func NewLibffmpeg

func NewLibffmpeg(codec, format string) *Libffmpeg

func (*Libffmpeg) FilterAddEqualizer

func (lf *Libffmpeg) FilterAddEqualizer(f, freq, width int, gain float64)

func (*Libffmpeg) FilterAddHighpass

func (lf *Libffmpeg) FilterAddHighpass(f, freq int)

func (*Libffmpeg) FilterAddLowpass

func (lf *Libffmpeg) FilterAddLowpass(f, freq int)

func (*Libffmpeg) FilterAddVolumeGain

func (lf *Libffmpeg) FilterAddVolumeGain(f int, gain float64)

func (*Libffmpeg) FilterSetOutputChannelsMono

func (lf *Libffmpeg) FilterSetOutputChannelsMono(f, channel int)

func (*Libffmpeg) FilterSetOutputChannelsStereo

func (lf *Libffmpeg) FilterSetOutputChannelsStereo(f, left, right int)

func (*Libffmpeg) GetFFmpeg

func (lf *Libffmpeg) GetFFmpeg() string

func (*Libffmpeg) GetWD

func (lf *Libffmpeg) GetWD() string

func (*Libffmpeg) NewFilter

func (lf *Libffmpeg) NewFilter() int

func (*Libffmpeg) Read

func (lf *Libffmpeg) Read(max int) []byte

func (*Libffmpeg) Run

func (lf *Libffmpeg) Run()

func (*Libffmpeg) SetBufferLength

func (lf *Libffmpeg) SetBufferLength(milli int)

func (*Libffmpeg) SetBufferSize

func (lf *Libffmpeg) SetBufferSize(size int)

func (*Libffmpeg) SetFFmpeg

func (lf *Libffmpeg) SetFFmpeg(path string)

func (*Libffmpeg) SetInputChannels

func (lf *Libffmpeg) SetInputChannels(channels int)

func (*Libffmpeg) SetMetadata

func (lf *Libffmpeg) SetMetadata(key, value string)

func (*Libffmpeg) SetOutputBitrate

func (lf *Libffmpeg) SetOutputBitrate(bitrate int)

func (*Libffmpeg) SetOutputChannels

func (lf *Libffmpeg) SetOutputChannels(channels int)

func (*Libffmpeg) SetOutputRate

func (lf *Libffmpeg) SetOutputRate(rate int)

func (*Libffmpeg) SetPrecision

func (lf *Libffmpeg) SetPrecision(precision string)

func (*Libffmpeg) SetThreads

func (lf *Libffmpeg) SetThreads(threads int)

func (*Libffmpeg) Start

func (lf *Libffmpeg) Start()

func (*Libffmpeg) Write

func (lf *Libffmpeg) Write(src []byte) int

Jump to

Keyboard shortcuts

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