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 NewJobResponse ¶
Click to show internal directories.
Click to hide internal directories.