ffmpeg

package
v0.0.0-...-b5f4b9d Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FFProbe

type FFProbe struct{}

FFProbe struct.

func (FFProbe) Run

func (f FFProbe) Run(input string) (*FFProbeResponse, error)

Run runs an FFProbe command.

func (*FFProbe) Version

func (f *FFProbe) Version() (string, error)

Version gets the ffprobe version.

type FFProbeResponse

type FFProbeResponse struct {
	Streams []stream `json:"streams"`
}

FFProbeResponse defines the response from ffprobe.

type FFmpeg

type FFmpeg struct {
	Progress progress
	// contains filtered or unexported fields
}

FFmpeg struct.

func (*FFmpeg) Cancel

func (f *FFmpeg) Cancel()

Cancel stops an FFmpeg job from running.

func (*FFmpeg) Run

func (f *FFmpeg) Run(input, output, data string) error

Run runs the ffmpeg encoder with options.

func (*FFmpeg) Version

func (f *FFmpeg) Version() (string, error)

Version gets the ffmpeg version.

Jump to

Keyboard shortcuts

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