ffmpeg

package module
v0.0.0-...-244f1b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2025 License: MIT Imports: 8 Imported by: 0

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

func (p *AV1Params) BuildVideoEncoder(r video.Reader, property prop.Media) (codec.ReadCloser, error)

func (*AV1Params) RTPCodec

func (p *AV1Params) RTPCodec() *codec.RTPCodec

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

func (p *VP8Params) BuildVideoEncoder(r video.Reader, property prop.Media) (codec.ReadCloser, error)

func (*VP8Params) RTPCodec

func (p *VP8Params) RTPCodec() *codec.RTPCodec

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL