Documentation ¶
Overview ¶
Package screengen can be used for generating screenshots from video files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { Fast bool // Imprecise (but faster) seek; set by the user Filename string // Video file name Duration int64 // Duration of the video in milliseconds VideoCodec string // Name of the video codec VideoCodecLongName string // Readable/long name of the video codec FPS float64 // Frames Per Second AudioCodec string // Name of the audio codec AudioCodecLongName string // Readable/long name of the audio codec Bitrate int // contains filtered or unexported fields }
Generator is used to generate screenshots from a video file.
func NewGenerator ¶
NewGenerator returns new generator of screenshots for the video file fn.
Click to show internal directories.
Click to hide internal directories.