Video Codec manager class. More...
#include <pyfbsdk_generated.h>
Public Member Functions | |
GetCodecIdList (str pFileFormatInfo, FBStringList pCodecList) | |
GetCodecIdList. | |
str | GetDefaultCodec (str pFileFormatInfo) |
GetDefaultCodec. | |
bool | RegisterExternalVideoFormat (str pFormatSuffix) |
Register external video format suffix. | |
SetDefaultCodec (str pFileFormatInfo, str pCodecId) | |
SetDefaultCodec. | |
Video Codec manager class.
Use to set or get codec used and codec params
GetCodecIdList | ( | str | pFileFormatInfo, |
FBStringList | pCodecList | ||
) |
GetCodecIdList.
Get all codec id available for a given file format.
pFileFormatInfo | file format description string (AVI, MOV...) |
pCodecList | Codec list id |
GetDefaultCodec.
Get the default codec id for a given file format. This is the codec that will be used if codec mode is FBVideoCodecUseDefault
pFileFormatInfo | file format description string (AVI, MOV...) |
Register external video format suffix.
Only alphabetic and number is allowed in provided suffix, and can not be empty suffix or the system exist suffixes. This will allow this suffix to be appeared in the filters of file dialog when importing video, also allow to create a texture/video object with a path containing this suffix via SDK. However it will the custom SDK plug-in developer's responsibility to load the file into memory.
pFormatSuffix | Suffix/File extension of external video file format |
SetDefaultCodec.
Set the default codec id for a given file format. This is the codec that will be used if codec mode is FBVideoCodecUseDefault
pFileFormatInfo | file format description string (AVI, MOV...) |
pCodecId | the codec id to set as default |