flock

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// Name identifies the Flock provider by name
	Name = "flock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JobOutput

type JobOutput struct {
	AudioChannels      int    `json:"audio_channels"`
	AudioBitrateKbps   int    `json:"audio_bitrate_kbps"`
	VideoBitrateKbps   int    `json:"video_bitrate_kbps"`
	Width              int    `json:"width,omitempty"`
	Height             int    `json:"height,omitempty"`
	KeyframesPerSecond int    `json:"keyframes_sec,omitempty"`
	KeyframeInterval   int    `json:"keyframe_interval,omitempty"`
	MultiPass          bool   `json:"multipass"`
	Preset             string `json:"preset,omitempty"`
	Tag                string `json:"tag,omitempty"`
	Destination        string `json:"destination"`
	AudioCodec         string `json:"acodec,omitempty"`
	VideoCodec         string `json:"vcodec,omitempty"`
}

type JobRequest

type JobRequest struct {
	Job JobSpec `json:"job"`
}

type JobResponse

type JobResponse struct {
	CreateTime      string              `json:"create_time"`
	CreateTimestamp float64             `json:"create_timestamp"`
	Duration        string              `json:"duration"`
	ID              int                 `json:"id"`
	Progress        float64             `json:"progress_pct"`
	Status          string              `json:"status"`
	UpdateTime      string              `json:"update_time"`
	UpdateTimestamp float64             `json:"update_timestamp"`
	Outputs         []JobResponseOutput `json:"outputs"`
}

type JobResponseOutput

type JobResponseOutput struct {
	CreateTime      string  `json:"create_time"`
	CreateTimestamp float64 `json:"create_timestamp"`
	Destination     string  `json:"destination"`
	Duration        string  `json:"duration"`
	Encoder         string  `json:"encoder"`
	ID              int     `json:"id"`
	Progress        float64 `json:"progress_pct"`
	Request         map[string]interface{}
	Info            string  `json:"info"`
	Status          string  `json:"status"`
	UpdateTime      string  `json:"update_time"`
	UpdateTimestamp float64 `json:"update_timestamp"`
}

type JobSpec

type JobSpec struct {
	Source  string      `json:"source"`
	Outputs []JobOutput `json:"outputs"`
	Labels  []string    `json:"labels,omitempty"`
}

type NewJobResponse

type NewJobResponse struct {
	JobID  int    `json:"job_id"`
	Status string `json:"status"`
}

Jump to

Keyboard shortcuts

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