worker

package
v0.0.0-...-bf165d5 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWorkManager

func CreateWorkManager(p *tea.Program, worker_args string, video string, total_workers int)

TODO: Create functional testing loop as defined in client whitepaper, see: https://github.com/JPVenson/Jellyfin.HardwareVisualizer/blob/main/HWA-Client-Whitepaper.md#testing-loop

func StartWorker

func StartWorker(ffmpeg_path string, args string, video string, p *tea.Program, done chan []*FrameStat)

TODO: This code is terrible, my brain hurts. go doesn't like arguments in exec.Command with just a string, so I have to manually recreate it. Brilliant.

Types

type FrameStat

type FrameStat struct {
	Frame int64
	FPS   float64
	Speed float64
}

Jump to

Keyboard shortcuts

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