concat

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(output string, inputs []string, opts ...Option) error

Do concat multiple video streams.

func WithPrefix

func WithPrefix(remuxFormat string, prefix string, opts ...Option) error

WithPrefix Concat multiple videos with a prefix.

Prefix can be a path.

Types

type Option

type Option func(*Options)

Option is a function that configures the concatenation.

func IgnoreExtension

func IgnoreExtension() Option

IgnoreExtension forces the concatenation on files without taking account of the extension.

TS files are prioritized.

Example: 1.ts, 1.mp4, 2.ts -> 1.mp4 will be skipped.

func IgnoreSingle

func IgnoreSingle() Option

IgnoreSingle file. This is useful when the file has already been remux.

func WithAudioOnly

func WithAudioOnly() Option

WithAudioOnly forces the concatenation on audio only.

type Options

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

Options are the concatenation options.

Jump to

Keyboard shortcuts

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