Documentation
¶
Index ¶
- type Command
- func (c *Command) Args() []string
- func (c *Command) Run(ctx context.Context) (media.File, error)
- func (c *Command) WithBinPath(binPath string) *Command
- func (c *Command) WithInputPath(inputPath string) *Command
- func (c *Command) WithInputReader(inputReader io.Reader) *Command
- func (c *Command) WithOutputWriter(outputWriter io.Writer) *Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶
func NewCommand() *Command
func (*Command) WithBinPath ¶
WithBinPath sets the path to the ffmpeg binary.
func (*Command) WithInputPath ¶
Click to show internal directories.
Click to hide internal directories.