Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AV1Params ¶
type AV1Params struct {
Params
}
func NewAV1NVENCParams ¶
func NewAV1NVENCParams(hardwareDevice string, pixelFormat astiav.PixelFormat) (AV1Params, error)
func (*AV1Params) BuildVideoEncoder ¶
type H264Params ¶
type H264Params struct {
Params
}
func NewH264NVENCParams ¶
func NewH264NVENCParams(hardwareDevice string, pixelFormat astiav.PixelFormat) (H264Params, error)
func NewH264VAAPIParams ¶
func NewH264VAAPIParams(hardwareDevice string, pixelFormat astiav.PixelFormat) (H264Params, error)
func (*H264Params) BuildVideoEncoder ¶
func (p *H264Params) BuildVideoEncoder(r video.Reader, property prop.Media) (codec.ReadCloser, error)
func (*H264Params) RTPCodec ¶
func (p *H264Params) RTPCodec() *codec.RTPCodec
RTPCodec represents the codec metadata
type H264SoftwareParams ¶
type H264SoftwareParams struct {
Params
}
func NewH264X264Params ¶
func NewH264X264Params() (H264SoftwareParams, error)
func (*H264SoftwareParams) BuildVideoEncoder ¶
func (p *H264SoftwareParams) BuildVideoEncoder(r video.Reader, property prop.Media) (codec.ReadCloser, error)
func (*H264SoftwareParams) RTPCodec ¶
func (p *H264SoftwareParams) RTPCodec() *codec.RTPCodec
type H265Params ¶
type H265Params struct {
Params
}
func NewH265NVENCParams ¶
func NewH265NVENCParams(hardwareDevice string, pixelFormat astiav.PixelFormat) (H265Params, error)
func NewH265VAAPIParams ¶
func NewH265VAAPIParams(hardwareDevice string, pixelFormat astiav.PixelFormat) (H265Params, error)
func (*H265Params) BuildVideoEncoder ¶
func (p *H265Params) BuildVideoEncoder(r video.Reader, property prop.Media) (codec.ReadCloser, error)
func (*H265Params) RTPCodec ¶
func (p *H265Params) RTPCodec() *codec.RTPCodec
type Params ¶
type Params struct {
codec.BaseParams
FrameRate float32
// contains filtered or unexported fields
}
type VP8Params ¶
type VP8Params struct {
Params
}
func NewVP8VAAPIParams ¶
func NewVP8VAAPIParams(hardwareDevice string, pixelFormat astiav.PixelFormat) (VP8Params, error)
func (*VP8Params) BuildVideoEncoder ¶
Click to show internal directories.
Click to hide internal directories.