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 as a video item.
Click to show internal directories.
Click to hide internal directories.