Navigation
API > API/Plugins > API/Plugins/AjaMediaOutput
Output Media for AJA streams. The output format could be any of EAjaMediaOutputPixelFormat.
| Name | UAjaMediaCapture |
| Type | class |
| Header File | /Engine/Plugins/Media/AjaMedia/Source/AjaMediaOutput/Public/AjaMediaCapture.h |
| Include Path | #include "AjaMediaCapture.h" |
Syntax
UCLASS (BlueprintType)
class UAjaMediaCapture : public UMediaCapture
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMediaCapture → UAjaMediaCapture
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAjaMediaCapture() |
* UAjaMediaCapture implementation | AjaMediaCapture.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UAjaMediaCapture() |
AjaMediaCapture.h |
Structs
| Name | Remarks |
|---|---|
| FAjaOutputCallback | * FAjaOutputCallback definition |
| FAJAOutputChannel | * FAjaOutputCallback definition |
| FAudioBuffer |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AudioOutput | TSharedPtr< class FMediaIOAudioOutput > | Holds an audio output that captures audio from the engine. | AjaMediaCapture.h | |
| AudioSamplesSentLastFrame | int32 | AjaMediaCapture.h | ||
| bDirectlyWriteAudio | bool | Whether to write audio on the audio thread instead of collecting samples and outputting on the render thread.. | AjaMediaCapture.h | |
| bEncodeTimecodeInTexel | bool | AjaMediaCapture.h | ||
| bIgnoreTextureAlphaChanged | bool | AjaMediaCapture.h | ||
| bLogDropFrame | bool | AjaMediaCapture.h | ||
| bOutputAudio | bool | AjaMediaCapture.h | ||
| bSavedIgnoreTextureAlpha | bool | Saved IgnoreTextureAlpha flag from viewport | AjaMediaCapture.h | |
| bWaitForSyncEvent | bool | Option from MediaOutput | AjaMediaCapture.h | |
| CanCloseEditorDelegateHandle | FDelegateHandle | Handle for the delegate used to clean up AJA on editor shutdown. | AjaMediaCapture.h | |
| CopyingCriticalSection | FCriticalSection | Critical section for synchronizing access to the OutputChannel | AjaMediaCapture.h | |
| FAjaOutputCallback | friend | AjaMediaCapture.h | ||
| FrameRate | FFrameRate | Selected FrameRate of this output | AjaMediaCapture.h | |
| NumInputChannels | int32 | Number of audio channels the engine is rendering to. | AjaMediaCapture.h | |
| NumOutputChannels | int32 | Number of audio channels output to the AJA card. | AjaMediaCapture.h | |
| OutputCallback | TPimplPtr< FAjaOutputCallback > | AjaMediaCapture.h | ||
| OutputChannel | TPimplPtr< FAJAOutputChannel > | AJA Port for outputting | AjaMediaCapture.h | |
| PixelFormat | EAjaMediaOutputPixelFormat | AjaMediaCapture.h | ||
| PortName | FString | Name of this output port | AjaMediaCapture.h | |
| TexturesToRelease | TArray< FTextureRHIRef > | Textures to release when the capture has stopped. | AjaMediaCapture.h | |
| TextureTransfer | TSharedPtr< UE::GPUTextureTransfer::ITextureTransfer > | AjaMediaCapture.h | ||
| UseKey | bool | AjaMediaCapture.h | ||
| WakeUpEvent | FEvent * | Event to wakeup When waiting for sync | AjaMediaCapture.h |
Functions
Public
Overridden from UMediaCapture
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool HasFinishedProcessing() |
AjaMediaCapture.h |
Protected
Overridden from UMediaCapture
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FMatrix & GetRGBToYUVConversionMatrix() |
AjaMediaCapture.h | ||
virtual bool InitializeCapture() |
AjaMediaCapture.h | ||
virtual void LockDMATexture_RenderThread
(
FTextureRHIRef InTexture |
AjaMediaCapture.h | ||
virtual void OnFrameCaptured_AnyThread
(
const FCaptureBaseData& InBaseData, |
AjaMediaCapture.h | ||
virtual void OnFrameCaptured_RenderingThread
(
const FCaptureBaseData& InBaseData, |
AjaMediaCapture.h | ||
virtual void OnRHIResourceCaptured_AnyThread
(
const FCaptureBaseData& InBaseData, |
AjaMediaCapture.h | ||
virtual void OnRHIResourceCaptured_RenderingThread
(
FRHICommandListImmediate& RHICmdList, |
AjaMediaCapture.h | ||
virtual void PostCaptureCleanupImpl() |
AjaMediaCapture.h | ||
virtual bool PostInitializeCaptureViewport
(
TSharedPtr< FSceneViewport >& InSceneViewport |
AjaMediaCapture.h | ||
virtual bool ShouldCaptureRHIResource() |
AjaMediaCapture.h | ||
virtual bool ShouldCaptureThisFrame
(
const FCaptureBaseData& InBaseData |
AjaMediaCapture.h | ||
virtual TFuture< void > StopCapture_Future() |
AjaMediaCapture.h | ||
virtual void StopCaptureImpl
(
bool bAllowPendingFrameToBeProcess |
AjaMediaCapture.h | ||
virtual bool SupportsAnyThreadCapture() |
AjaMediaCapture.h | ||
virtual bool SupportsStopCapture_Future() |
AjaMediaCapture.h | ||
virtual void UnlockDMATexture_RenderThread
(
FTextureRHIRef InTexture |
AjaMediaCapture.h | ||
virtual bool UpdateAudioDeviceImpl
(
const FAudioDeviceHandle& InAudioDeviceHandle |
AjaMediaCapture.h | ||
virtual bool UpdateRenderTargetImpl
(
UTextureRenderTarget2D* InRenderTarget |
AjaMediaCapture.h | ||
virtual bool UpdateSceneViewportImpl
(
TSharedPtr< FSceneViewport >& InSceneViewport |
AjaMediaCapture.h | ||
virtual bool ValidateMediaOutput() |
AjaMediaCapture.h | ||
virtual void WaitForGPU
(
FRHITexture* InRHITexture |
AjaMediaCapture.h |