MediaPoolItem.export_frame#

MediaPoolItem.export_frame(frame_offset: int, export_frame_options: ExportFrameOptions | dict | None = None) → ExportFrameResult | dict[source]#

Exports a frame of the clip as a still image.

Parameters:
  • frame_offset (int) – 0-based offset from the start of the clip

  • export_frame_options (ExportFrameOptions | dict, optional) – output options. Returns a base64 encoded JPEG when omitted. Defaults to None.

Returns:

the export result, an empty dict if nothing was

returned. Use ExportFrameResult.decode_data() for the image bytes.

Return type:

ExportFrameResult | dict

Raises:

APIVersionError – If Resolve version < 21.1.2

Version:

Added in DaVinci Resolve 21.1.2