engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
AVEncoder::FVideoEncoderFactory类 参考abstract

Allows querying existing video encoders. 更多...

#include <AVEncoder.h>

Public 成员函数

virtual TUniquePtr< FVideoEncoder > CreateEncoder (const FString &Codec)=0
 Creates the requested encoder, given the encoder name (e.g: "h264")
 
virtual const TCHAR * GetName () const =0
 Returns the factory name. 更多...
 
virtual TArray< FString > GetSupportedCodecs () const =0
 Returns all the encoders potentially available with this factory. 更多...
 

静态 Public 成员函数

static FVideoEncoderFactory * FindFactory (const FString &Codec)
 Returns potentially best factory that can encode with the specified codec
 
static const TArray< FVideoEncoderFactory * > GetAllFactories ()
 Returns all currently registered factories
 
static void RegisterFactory (FVideoEncoderFactory &Factory)
 These allow registering user supplied factories
 

详细描述

Allows querying existing video encoders.

It provides methods to query available encoders, register/unregister new ones, and create given encoders.

成员函数说明

◆ GetName()

virtual const TCHAR * AVEncoder::FVideoEncoderFactory::GetName ( ) const
pure virtual

Returns the factory name.

Typically this is the SDK/hardware used. E.g: "amf" or "nvenc"

◆ GetSupportedCodecs()

virtual TArray< FString > AVEncoder::FVideoEncoderFactory::GetSupportedCodecs ( ) const
pure virtual

Returns all the encoders potentially available with this factory.

E.g: { "h264" }


该类的文档由以下文件生成: