settings

package
v0.0.0-...-c1ed9e1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Debug bool
View Source
var Encoding = initEncoding()
View Source
var General = initGeneral()
View Source
var MixAudio bool
View Source
var NormAudio bool

Functions

func LoadSettings

func LoadSettings(version string) bool

Types

type AudioEncoder

type AudioEncoder struct {
	Name  string
	Type  string
	BMult float64
	BMax  int
	BMin  int
	TVBR  bool
	Args  string
}

type Bitrates

type Bitrates struct {
	Total int
	Audio int
	Video int
}

type Encoder

type Encoder struct {
	Name   string
	Passes int
	Keyint int
	Pixfmt string
	Args   string
}

type FPS

type FPS struct {
	N int
	D int
}

type Force

type Force struct {
	Video     string
	Audio     string
	Container string
}

type InputStats

type InputStats struct {
	Width     int
	Height    int
	FPS       *FPS
	Bitrate   *Bitrates
	Duration  float64
	ACodec    string
	VCodec    string
	Pixfmt    string
	ATracks   int
	AChannels int
}

type Limit

type Limit struct {
	Encoder    string
	AEncoder   string
	Container  string
	MinBitrate int
	MaxVRes    int
	MaxFPS     int
}

type Out

type Out struct {
	FPS          *FPS
	Force        *Force
	Encoder      *Encoder
	AEncoder     *AudioEncoder
	Settings     *Limit
	Bitrate      *Bitrates
	AudioFile    string
	APassthrough bool
}

type Time

type Time struct {
	Start    float64
	Duration float64
}

type Vid

type Vid struct {
	UUID    string
	Input   *InputStats
	Output  *Out
	InFile  string
	OutFile string
	Time    *Time
}

Jump to

Keyboard shortcuts

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