unreal.SimpleVideoDecoder

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

Bases: Object

Simple Video Decoder

C++ Source:

  • Plugin: AVCodecsCore

  • Module: AVCodecsCoreRHI

  • File: SimpleVideoDecoder.h

close() None

Close

get_codec() SimpleVideoCodec

Get Codec

Return type:

SimpleVideoCodec

is_async() bool

Is Async

Return type:

bool

is_open() bool

Is Open

Return type:

bool

open(codec, asynchronous) bool

Open

Parameters:
Return type:

bool

receive_frame(resource) bool

Receive Frame

Parameters:

resource (TextureRenderTarget2D) –

Return type:

bool

send_packet(packet) bool

Send Packet

Parameters:

packet (SimpleVideoPacket) –

Return type:

bool