metadata

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddOutputMetadata

func AddOutputMetadata(video *settings.Vid) []string

func AnalyzeAudio

func AnalyzeAudio(filename string) int

func AppendTimes

func AppendTimes(video *settings.Vid) []string

func CalcAudioBitrate

func CalcAudioBitrate(video *settings.Vid) *settings.Vid

func CalcOverhead

func CalcOverhead(video *settings.Vid) *settings.Vid

func CalculateTime

func CalculateTime(video *settings.Vid, lastSecs float64, targetStart float64, targetTime float64) *settings.Vid

func GetStats

func GetStats(filename string, audioonly bool) *settings.InputStats

func PassthroughCheck

func PassthroughCheck(video *settings.Vid) *settings.Vid

func SelectEncoder

func SelectEncoder(video *settings.Vid) *settings.Vid

Types

type Format

type Format struct {
	Duration string `json:"duration"`
	Bitrate  string `json:"bit_rate"`
}

type Stream

type Stream struct {
	CodecName  string `json:"codec_name"`
	StreamType string `json:"codec_type"`
	Width      int    `json:"width"`
	Height     int    `json:"height"`
	Pixfmt     string `json:"pix_fmt"`
	Framerate  string `json:"r_frame_rate"`
	Channels   int    `json:"channels"`
	Bitrate    string `json:"bit_rate"`
}

type StreamList

type StreamList struct {
	Streams []Stream `json:"streams"`
	Format  Format   `json:"format"`
}

Jump to

Keyboard shortcuts

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