Navigation
API > API/Plugins > API/Plugins/NDIMedia
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMediaOutput
- UNDIMediaOutput
References
| Module | NDIMedia |
| Header | /Engine/Plugins/Media/NDIMedia/Source/NDIMedia/Public/NDIMediaOutput.h |
| Include | #include "NDIMediaOutput.h" |
Syntax
UCLASS (BlueprintType, Meta=(MediaIOCustomLayout="NDI"))
class UNDIMediaOutput : public UMediaOutput
Remarks
Note: Other formats YUV 8 bits or YUV 16 bits, both support fill and key as well.
Format mapping: 8 bit RGBA Fill: NDIlib_FourCC_type_BGRX 8 bit RGBA Fill&Key: NDIlib_FourCC_type_BGRA 8 bits YUV Fill: NDIlib_FourCC_type_UYVY (422) 8 bits YUV Fill&Key: NDIlib_FourCC_type_UYVA (422+4) 16 bits YUV Fill: NDIlib_FourCC_type_P216 (422) 16 bits YUV Fill&Key:NDIlib_FourCC_type_PA16 (422+4)
10 bits is not supported. Output information for a NDI media capture.
'Frame Buffer Pixel Format' must be set to RGBA8
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInvertKeyOutput | Options on how to save the images. | |
| bool | bOverrideDesiredSize | Use the default back buffer size or specify a specific size to capture. | |
| bool | bOverridePixelFormat | Use the default back buffer pixel format or specify a specific the pixel format to capture. | |
| bool | bWaitForSyncEvent | Wait for the NDI source sync event. | |
| ENDIMediaOutputPixelFormat | DesiredPixelFormat | Use the default back buffer pixel format or specify a specific the pixel format to capture. | |
| FIntPoint | DesiredSize | Use the default back buffer size or specify a specific size to capture. | |
| FFrameRate | FrameRate | Represents the desired number of frames (per second) for video to be sent over NDI | |
| FString | GroupName | Defines the group this source is part of. | |
| EMediaIOOutputType | OutputType | Whether to output the fill or the fill and key. | |
| FString | SourceName | Describes a user-friendly name of the output stream to differentiate from other output streams on the current machine |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNDIMediaOutput
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMediaOutput
| Type | Name | Description | |
|---|---|---|---|
| UMediaCapture * | |||
| EMediaCaptureConversionOperation | GetConversionOperation
(
EMediaCaptureSourceType InSourceType |
The conversion we wish to accomplish on the GPU before the DMA transfer occurs. | |
| EPixelFormat | The pixel format of the buffer we wish to capture. | ||
| FIntPoint | The size of the buffer we wish to capture. | ||
| bool | Validate the media output settings (must be implemented in child classes). |