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
- get_codec() SimpleVideoCodec ¶
Get Codec
- Return type:
- open(codec, asynchronous) bool ¶
Open
- Parameters:
codec (SimpleVideoCodec) –
asynchronous (bool) –
- Return type:
- receive_frame(resource) bool ¶
Receive Frame
- Parameters:
resource (TextureRenderTarget2D) –
- Return type:
- send_packet(packet) bool ¶
Send Packet
- Parameters:
packet (SimpleVideoPacket) –
- Return type: