converter

package
v0.0.0-...-cd115bb Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2018 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conversion

type Conversion struct {
	StreamURLs []string

	SubtitleConversionCommands []SubtitleVariantConversion
	OutputDirectory            string
	// contains filtered or unexported fields
}

func LaunchConversion

func LaunchConversion(outputDir, masterPlaylistName, streamPlaylistName string,
	videoVariants []suggest.VideoVariant, audioVariants []suggest.AudioVariant, subtitleVariantsCh <-chan []suggest.SubtitleVariant,
	inputs ...string) (*Conversion, error)

func (Conversion) Exit

func (c Conversion) Exit()

Exit Kills all remaining ongoing conversion

func (Conversion) SigInt

func (c Conversion) SigInt()

func (Conversion) Signal

func (c Conversion) Signal(sig syscall.Signal)

type SubtitleVariantConversion

type SubtitleVariantConversion struct {
	Variant suggest.SubtitleVariant
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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