Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VideoEncoder ¶
type VideoEncoder struct {
// contains filtered or unexported fields
}
func NewVideoEncoder ¶
NewVideoEncoder returns new video encoder. By default, it waits for RGBA images on the input channel, converts them into YUV I420 format, encodes with provided video encoder, and puts the result into the output channel.
func (*VideoEncoder) Encode ¶
func (vp *VideoEncoder) Encode(img InFrame) OutFrame
func (*VideoEncoder) Stop ¶
func (vp *VideoEncoder) Stop()
Click to show internal directories.
Click to hide internal directories.