ffmpeg

package
v0.0.0-...-33ab998 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	FfmpegBin             string
	FfprobeBin            string
	PrefixCommandBin      string   // use ffmpeg on different machine (ssh, wsl, ...)
	PrefixCommandParam    []string // parameter (user, privatekey, ...)
	PrefixCommandCmdAsOne bool     // append ffmpeg command as one parameter
}

Configuration ...

func Configure

func Configure() (Configuration, error)

Configure Get and set FFmpeg and FFprobe bin paths

func PrefixConfigure

func PrefixConfigure(ffmpegBin string, ffprobeBin, prefixCommand string, cmdAsParam bool) (Configuration, error)

initialize configuration to use prefix command actually it is only supported to append ffmpeg at the end of the command

Jump to

Keyboard shortcuts

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