MediaPoolItem.replace_clip_preserve_sub_clip#

MediaPoolItem.replace_clip_preserve_sub_clip(file_path: str) bool[source]#

Replaces the underlying asset and metadata of a video or audio clip with the specified absolute clip path, preserving original sub clip extents.

Parameters:

file_path (str) – absolute path to replacement clip

Returns:

Returns True if successful.

Return type:

bool