actions

package
v0.0.0-...-2688f20 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrfSearch

type CrfSearch struct {
	// contains filtered or unexported fields
}

CrfSearch will perform an interpolation search over CRF values to find the closest match to the target VMAF

func NewCrfSearch

func NewCrfSearch(logger zerolog.Logger, source string, targetVMAF float64, crfInitial int, crfMin int, crfMax int, tolerance float64, transcodeConfig commands.TranscodeConfig) *CrfSearch

func (*CrfSearch) Run

func (c *CrfSearch) Run(ctx context.Context) (selected int, vmaf float64, err error)

type OptimizedEncoded

type OptimizedEncoded struct {
	// contains filtered or unexported fields
}

func NewOptimizedEncoded

func NewOptimizedEncoded(logger zerolog.Logger, cfg commands.TranscodeConfig, source string, target string, targetVMAF float64, crfInitial int, crfMin int, crfMax int, tolerance float64) *OptimizedEncoded

func (*OptimizedEncoded) Run

func (e *OptimizedEncoded) Run(ctx context.Context) error

type VMAFScore

type VMAFScore struct {
	// contains filtered or unexported fields
}

VMAFScore will encode a sample of the source video with a given trancode configuration and return the VMAF score

func NewVMAFScore

func NewVMAFScore(logger zerolog.Logger, cfg commands.TranscodeConfig, referencePath string) *VMAFScore

func (*VMAFScore) Run

func (v *VMAFScore) Run(ctx context.Context) (score float64, averageBitrateKBPS int, streamSizeKB int, err error)

Jump to

Keyboard shortcuts

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