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

分镜脚本

原能力

写明景别、机位、动作、时长与声音提示,标明镜头之间的转接理由。(细化版 p.12–13)

首选项目

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

匹配范围

Clip/Marker 时间线和 Blender 场景相机为镜头规格提供结构。

源码

OpenTimelineIO · class OTIO_API_TYPE Clip

src/opentimelineio/clip.h · 15–28 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
class OTIO_API_TYPE Clip : public Item
{
public:
    /// @brief The default media within a clip.
    static char constexpr default_media_key[] = "DEFAULT_MEDIA";

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

    using Parent = Item;
  • // SPDX-License-Identifier: Apache-2.0
  • // Copyright Contributors to the OpenTimelineIO project

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

Blender · void RNA_def_camera(

source/blender/makesrna/intern/rna_camera.cc · 664–677 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
void RNA_def_camera(BlenderRNA *brna)
{
  StructRNA *srna;
  PropertyRNA *prop;
  static const EnumPropertyItem prop_type_items[] = {
      {CAM_PERSP, "PERSP", 0, "Perspective", ""},
      {CAM_ORTHO, "ORTHO", 0, "Orthographic", ""},
      {CAM_PANO, "PANO", 0, "Panoramic", ""},
      {CAM_CUSTOM, "CUSTOM", 0, "Custom", ""},
      {0, nullptr, 0, nullptr, nullptr},
  };
  static const EnumPropertyItem prop_lens_unit_items[] = {
      {0, "MILLIMETERS", 0, "Millimeters", "Specify focal length of the lens in millimeters"},
      {CAM_ANGLETOGGLE,
  • * SPDX-License-Identifier: GPL-2.0-or-later */

实现与验收要点

景别、机位理由、声音与转接来自创作设计。