Documentation ¶
Overview ¶
Screengen is a package 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 { Width int // Width of the video Height int // Height of the video 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.