Documentation ¶
Index ¶
Constants ¶
View Source
const BufferSize = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { Width int Height int FPS float64 Duration float64 PixFmt string IsMOV bool // We need that info to determine if we can apply "ignore_editlist" parameter }
func LoadMetadata ¶
type VideoDecoder ¶
type VideoDecoder struct { Metadata *Metadata // contains filtered or unexported fields }
func NewVideoDecoder ¶
func NewVideoDecoder(filePath string) *VideoDecoder
func (*VideoDecoder) Free ¶
func (dec *VideoDecoder) Free(frame Frame)
func (*VideoDecoder) GetFrame ¶
func (dec *VideoDecoder) GetFrame() Frame
func (*VideoDecoder) HasFinished ¶
func (dec *VideoDecoder) HasFinished() bool
func (*VideoDecoder) StartFFmpeg ¶
func (dec *VideoDecoder) StartFFmpeg(millis int64)
Click to show internal directories.
Click to hide internal directories.