export_input_buffer#

GPUVideoEncoder.export_input_buffer(self) → object#

Export the input buffer as an ExportedGraphicsBuffer, or None when the encoder is not started. The frame is written at offset 0 as tightly packed (H, W, 3) uint8 rows. Every call creates a new OS handle owned by the caller.