ffmpeg

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FfmpegExec

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

func NewExec

func NewExec(execPath string) *FfmpegExec

func (*FfmpegExec) Convert

func (instance *FfmpegExec) Convert(source, target string) (response string, err error)

func (*FfmpegExec) ExecuteCommand

func (instance *FfmpegExec) ExecuteCommand(arguments ...string) (out string, err error)

func (*FfmpegExec) GetPath

func (instance *FfmpegExec) GetPath(path string) (response string)

func (*FfmpegExec) Help

func (instance *FfmpegExec) Help() (response string, err error)

func (*FfmpegExec) IsInstalled

func (instance *FfmpegExec) IsInstalled() bool

func (*FfmpegExec) Root

func (instance *FfmpegExec) Root() string

func (*FfmpegExec) SetRoot

func (instance *FfmpegExec) SetRoot(dir string) *FfmpegExec

func (*FfmpegExec) Version

func (instance *FfmpegExec) Version() (response string, err error)

type FfmpegHelper

type FfmpegHelper struct {
}
var (
	Ffmpeg *FfmpegHelper
)

func (*FfmpegHelper) IsInstalled

func (instance *FfmpegHelper) IsInstalled() bool

func (*FfmpegHelper) NewExec

func (instance *FfmpegHelper) NewExec() *FfmpegExec

NewExec Creates new Git command

func (*FfmpegHelper) Version

func (instance *FfmpegHelper) Version() (version string, err error)

Jump to

Keyboard shortcuts

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