MediaPoolItem.add_marker#

MediaPoolItem.add_marker(frame_id: int, color: str, name: str, note: str, duration: int, custom_data: str) bool[source]#

add a marker to the clip.

Parameters:
  • frame_id (int) – postion of the marker

  • color (str) – color of the marker

  • name (str) – name of the marker

  • note (str) – maker note

  • duration (int) – maker duration

  • custom_data (str) – optional data help to attach to the marker

Returns:

true if success, false if fail

Return type:

bool