encode

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: GPL-3.0 Imports: 0 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:"formatID" db:"format_id"`
	Name        string `json:"name" db:"name"`
	Description 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"`
	Arguments   string `json:"arguments" db:"arguments"`
	FileSuffix  string `json:"fileSuffix" db:"file_suffix"`
	Watermarked bool   `json:"watermarked" db:"watermarked"`
}

Format represents the encode that is applied to a file.

type Preset

type Preset struct {
	PresetID    int      `json:"presetID" db:"preset_id"`
	Name        string   `json:"name" db:"name"`
	Description 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