Documentation ¶
Index ¶
- type ErrorStack
- type FFMPEG
- func (f *FFMPEG) Bitrate(file string) (int, error)
- func (f *FFMPEG) FPS(file string) (int, error)
- func (f *FFMPEG) Filesize(file string) (int, error)
- func (f *FFMPEG) Resolution(file string) ([2]int, error)
- func (f *FFMPEG) Seconds(file string) (int, error)
- func (f *FFMPEG) Shot(input string, s int) (image.Image, error)
- func (f *FFMPEG) ShotJPEG(input string, output string, s int, quality int) error
- func (f *FFMPEG) ShotPNG(input string, output string, s int) error
- func (f *FFMPEG) Specs(file string) (*Spec, error)
- type File
- type List
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorStack ¶
type ErrorStack struct {
// contains filtered or unexported fields
}
func NewErrorStack ¶
func NewErrorStack() *ErrorStack
func (*ErrorStack) Add ¶
func (e *ErrorStack) Add(err error)
func (*ErrorStack) Error ¶
func (e *ErrorStack) Error() string
func (*ErrorStack) Get ¶
func (e *ErrorStack) Get() error
type FFMPEG ¶ added in v1.0.0
type FFMPEG struct {
// contains filtered or unexported fields
}
func (*FFMPEG) Resolution ¶ added in v1.0.0
Resolution returns the resolution of a video
func (*FFMPEG) ShotJPEG ¶ added in v1.0.0
ShotJpeg takes a screenshot of a video at a given second and saves it as a jpeg
type File ¶ added in v0.3.3
type File string
Click to show internal directories.
Click to hide internal directories.