encoder

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEncode

func CreateEncode(v video.File, e encode.Format) error

CreateEncode creates an encode item in the message queue.

func ListEncodesFromPreset

func ListEncodesFromPreset(p encode.Preset) ([]encode.Format, error)

ListEncodesFromPreset returns all encodes available in a preset

func Manager

func Manager()

Manager subroutine provides a service to manage videos, also ensuring consistency of video library.

func Refresh

func Refresh() error

Refresh will check all existing videoitems to ensure that they match their preset, creating new job

func RefreshVideoItem

func RefreshVideoItem(v *video.Item) error

RefreshVideoItem will run CreateEncode() on a VideoItem for any encodes missing in the preset.

Types

This section is empty.

Jump to

Keyboard shortcuts

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