encoders

package
v0.0.0-...-9862afa Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FFMPEGEncode

func FFMPEGEncode(logger lager.Logger, dbInstance db.Storage, jobID string) error

FFMPEGEncode function is responsible for encoding the file

Types

type EncodeFunc

type EncodeFunc func(logger lager.Logger, dbInstance db.Storage, jobID string) error

EncodeFunc is a function type for the multiple possible ways to encode the job

func GetEncodeFunc

func GetEncodeFunc(job types.Job) EncodeFunc

GetEncodeFunc returns the encode function based on the job.

Jump to

Keyboard shortcuts

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