和顺 / 影核 返回所属 Agent
YH-06.03

画稿定位

原能力

把画稿页码、画格与镜头任务对应,标记引用的剧本和素材版本。(细化版 p.12–13)

首选项目

OpenTimelineIO(Apache-2.0,见附加说明)。 OpenTimelineIO

匹配范围

Marker/Clip ID 与 Shot 元数据对应画格和镜头。

源码

OpenTimelineIO · class OTIO_API_TYPE Marker

src/opentimelineio/marker.h · 17–30 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
class OTIO_API_TYPE Marker : public SerializableObjectWithMetadata
{
public:

    /// @brief This struct provides the Marker schema.
    struct Schema
    {
        static auto constexpr name   = "Marker";
        static int constexpr version = 3;
    };

    using Parent = SerializableObjectWithMetadata;

    /// @brief Create a new marker.
  • // SPDX-License-Identifier: Apache-2.0
  • // Copyright Contributors to the OpenTimelineIO project

Zou · def create_shot(

zou/app/services/shots_service.py · 920–933 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
def create_shot(
    project_id,
    sequence_id,
    name,
    data=None,
    nb_frames=0,
    description=None,
    created_by=None,
    index=True,
):
    """
    Create shot for given project and sequence. A bulk import passes
    index=False and indexes all its shots at the end.
    """

实现与验收要点

原剧本、素材引用和不一致版本的锁定。