镜头衔接说明
原能力
为视角切换、时间跳转或动作承接写清目标,让画稿阶段能复核连接。(细化版 p.12–13)
首选项目
OpenTimelineIO(Apache-2.0,见附加说明)。 OpenTimelineIO
匹配范围
Transition、TimeRange 与 Metadata 表达衔接位置。
源码
OpenTimelineIO · class OTIO_API_TYPE Transition
src/opentimelineio/transition.h · 13–26 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
class OTIO_API_TYPE Transition : public Composable
{
public:
/// @brief This struct provides base set of transitions.
struct Type
{
static auto constexpr SMPTE_Dissolve = "SMPTE_Dissolve";
static auto constexpr Custom = "Custom_Transition";
};
/// @brief This struct provides the Transition schema.
struct Schema
{
static auto constexpr name = "Transition";
- // SPDX-License-Identifier: Apache-2.0
- // Copyright Contributors to the OpenTimelineIO project
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
接口用法示意
transition = otio.schema.Transition(in_offset=in_time, out_offset=out_time)
实现与验收要点
创意原因、连续性业务规则与关键情节约束。