unreal.CaptureCardMediaSource

class unreal.CaptureCardMediaSource(outer: Object | None = None, name: Name | str = 'None')

Bases: TimeSynchronizableMediaSource

Base class for media sources that are coming from a capture card.

C++ Source:

  • Plugin: MediaIOFramework

  • Module: MediaIOCore

  • File: CaptureCardMediaSource.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color_conversion_settings (OpenColorIOColorConversionSettings): [Read-Write] OCIO Settings used for applying a color conversion to the incoming source.

  • deinterlacer (VideoDeinterlacer): [Read-Write] How interlaced video should be treated.

  • evaluation_type (MediaIOSampleEvaluationType): [Read-Write] Sample evaluation type.

  • frame_delay (int32): [Read-Write] When using Time Synchronization, how many frame back should it read.

  • framelock (bool): [Read-Write] Should wait for some time until requested frame arrives? Requires JIT rendering.

  • interlace_field_order (MediaIOInterlaceFieldOrder): [Read-Write] The order in which interlace fields should be copied.

  • override_source_color_space (bool): [Read-Write] Whether to override the source color space or to use the metadata embedded in the ancillary data of the signal.

  • override_source_color_space (TextureColorSpace): [Read-Write] Color space of the source texture.

  • override_source_encoding (MediaIOCoreSourceEncoding): [Read-Write] Encoding of the source texture.

  • override_source_encoding (bool): [Read-Write] Whether to override the source encoding or to use the metadata embedded in the ancillary data of the signal.

  • platform_player_names (Map[str, Name]): [Read-Write] Override native media player plug-ins per platform (Empty = find one automatically).

  • render_jit (bool): [Read-Write] Should use JITR technique? It enables late sample picking for render.

  • time_delay (double): [Read-Write] When not using Time Synchronization, how far back it time should it read.

  • use_time_synchronization (bool): [Read-Write] Synchronize the media with the engine’s timecode. The media player has be able to read timecode. The media player will try to play the corresponding frame, base on the frame’s timecode value.

property color_conversion_settings: OpenColorIOColorConversionSettings

[Read-Write] OCIO Settings used for applying a color conversion to the incoming source.

Type:

(OpenColorIOColorConversionSettings)

property deinterlacer: VideoDeinterlacer

[Read-Only] How interlaced video should be treated.

Type:

(VideoDeinterlacer)

property interlace_field_order: MediaIOInterlaceFieldOrder

[Read-Only] The order in which interlace fields should be copied.

Type:

(MediaIOInterlaceFieldOrder)

property override_source_color_space: TextureColorSpace

[Read-Only] Color space of the source texture.

Type:

(TextureColorSpace)

property override_source_encoding: MediaIOCoreSourceEncoding

[Read-Only] Encoding of the source texture.

Type:

(MediaIOCoreSourceEncoding)