encode

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format struct {
	FormatID    int         `json:"id" db:"id"`
	Name        string      `json:"name" db:"name"`
	Description null.String `json:"description" db:"description"`
	MimeType    string      `json:"mimeType" db:"mime_type"`
	Mode        string      `json:"mode" db:"mode"`
	Width       int         `json:"width" db:"width"`
	Height      int         `json:"height" db:"height"`
	Watermarked bool        `json:"watermarked" db:"watermarked"`
}

Format represents the encode that is applied to a file.

type Preset

type Preset struct {
	PresetID    int         `json:"id" db:"id"`
	Name        string      `json:"name" db:"name"`
	Description null.String `json:"description" db:"description"`
	Formats     []Format    `json:"formats"`
}

Preset represents a group of encode formats. A video has a preset applied to it so it can generate the video files so a video item.

Jump to

Keyboard shortcuts

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