MediaPoolItem.set_transcription#

MediaPoolItem.set_transcription(transcription: Transcription | dict) → bool[source]#

Replaces the transcription of the MediaPoolItem.

Studio-only. segments must not be empty (use clear_transcription() to remove a transcription), every segment needs a non-empty words list and segments must be in ascending, non-overlapping timecode order. Missing word timings are interpolated. A timeline is transcribed as a nested clip. Refer to DaVinci Resolve’s ‘Setting a Transcription’ section for all rules.

Parameters:

transcription (Transcription | dict) – the new transcription, in the format returned by get_transcription()

Returns:

Returns True if successful, False otherwise

Return type:

bool

Raises:

APIVersionError – If Resolve version < 21.1.2

Version:

Added in DaVinci Resolve 21.1.2