Documentation
¶
Index ¶
Constants ¶
View Source
const ( ResultKeepOriginal = Result("Kept original") ResultReplaced = Result("Replaced with new") ResultError = Result("Error") ResultSkipped = Result("Skipped, kept original") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileMetadata ¶
func (FileMetadata) Frames ¶ added in v0.1.10
func (m FileMetadata) Frames() int
type Format ¶
type NotificationData ¶
type ProgressReport ¶
type ProgressReport struct {
Frame int
FPS float64
Bitrate float64
TotalSize int
Speed float64
Progress string
}
func (*ProgressReport) Log ¶
func (report *ProgressReport) Log(filename string)
type Stream ¶
type Stream struct {
CodecName string `json:"codec_name"`
CodecType string `json:"codec_type"`
PixelFormat *string `json:"pix_fmt"`
Level int `json:"level"`
ColorRange *string `json:"color_range"`
ColorSpace *string `json:"color_space"`
ColorTransfer *string `json:"color_transfer"`
ColorPrimaries *string `json:"color_primaries"`
NumberFrames string `json:"nb_frames"`
RFrameRate *string `json:"r_frame_rate"`
AvgFrameRate *string `json:"avg_frame_rate"`
}
Click to show internal directories.
Click to hide internal directories.