ffmpeg

package
v0.0.0-...-ce70d39 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format struct {
	Name string
	Mime string
	// contains filtered or unexported fields
}

type Transcoder

type Transcoder struct {
}

func NewTranscoder

func NewTranscoder() (*Transcoder, error)

func (*Transcoder) SeekRaw

func (t *Transcoder) SeekRaw(path string, timeOffset time.Duration) (string, error)

func (*Transcoder) SelectFormat

func (t *Transcoder) SelectFormat(name string, maxBitRateK int) (Format, int)

func (*Transcoder) Transcode

func (t *Transcoder) Transcode(path string, channels int, format Format, maxBitRateK int, timeOffset time.Duration, w io.Writer, onDone func()) (bitRate int, err error)

Jump to

Keyboard shortcuts

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