Navigation
API > API/Plugins > API/Plugins/BlackmagicMedia
Inheritance Hierarchy
- UObject
- IMediaOptions
- UMediaSource
- UBaseMediaSource
- UTimeSynchronizableMediaSource
- UCaptureCardMediaSource
- UBlackmagicMediaSource
References
| Module | BlackmagicMedia |
| Header | /Engine/Plugins/Media/BlackmagicMedia/Source/BlackmagicMedia/Public/BlackmagicMediaSource.h |
| Include | #include "BlackmagicMediaSource.h" |
Syntax
UCLASS (BlueprintType, HideCategories=(Platforms, Object), Meta=(MediaIOCustomLayout="Blackmagic"))
class UBlackmagicMediaSource : public UCaptureCardMediaSource
Remarks
Media source description for Blackmagic.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EBlackmagicMediaAudioChannel | AudioChannels | Desired number of audio channel to capture. | |
| EMediaIOAutoDetectableTimecodeFormat | AutoDetectableTimecodeFormat | Use the time code embedded in the input stream. | |
| bool | bCaptureAudio | Capture Audio from the Blackmagic source. | |
| bool | bCaptureVideo | Capture Video from the Blackmagic source. | |
| bool | bEncodeTimecodeInTexel | Burn Frame Timecode in the input texture without any frame number clipping. | |
| bool | bLogDropFrame | Log a warning when there's a drop frame. | |
| EBlackmagicMediaSourceColorFormat | ColorFormat | Native data format internally used by the device after being converted from SDI/HDMI signal. | |
| int32 | MaxNumAudioFrameBuffer | Maximum number of audio frames to buffer. | |
| int32 | MaxNumVideoFrameBuffer | Maximum number of video frames to buffer. | |
| FMediaIOConfiguration | MediaConfiguration | The device, port and video settings that correspond to the input. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Overridden from UCaptureCardMediaSource
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
||
| void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& InPropertyChangedEvent |
Overridden from UTimeSynchronizableMediaSource
| Type | Name | Description | |
|---|---|---|---|
| bool |
Overridden from UMediaSource
| Type | Name | Description | |
|---|---|---|---|
| bool | GetMediaOption
(
const FName& Key, |
||
| int64 | GetMediaOption
(
const FName& Key, |
||
| FString | GetMediaOption
(
const FName& Key, |
||
| FString | GetUrl () |
Get the media source's URL string (must be implemented in child classes). | |
| bool | HasMediaOption
(
const FName& Key |
||
| bool | Validate () |
Validate the media source settings (must be implemented in child classes). |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsSRGBInput_DEPRECATED | Whether the video input is in sRGB color space. | |
| EMediaIOTimecodeFormat | TimecodeFormat_DEPRECATED | Use the time code embedded in the input stream. |