plugins
转场 Transition
转场:luma

转场:luma

插件信息

title: 擦除(Wipe)
media types: Video
description: 通用的溶解(dissolve)与擦除(wipe)转场处理器。 "luma" 的名称来源于它如何使用灰度"贴图"(map)文件。随着 luma 值随时间变化,会对该贴图施加一个阈值滤镜,以决定显示帧 A 与帧 B 的哪些部分。它可以读取最高 16 位的 PGM 文件!另外,它也可以使用任何输出 yuv 的生产器的第一帧,但会被限制在 220 个取值的 luma 色域内。除非 A 帧属性 "progressive" 或 "consumer_progressive",或转场属性 "progressive" 被设为 1,否则它按场(field)进行渲染。

version: 4
creator: Dan Dennedy
copyright: Meltytech, LLC
license: LGPLv2.1

缺陷

  • 假定输出为下场优先(lower field first)。

参数

resource

title: Luma 贴图文件
description: PGM 文件或任何其他可生产(producible)的视频。若未提供,则执行溶解。
type: string
readonly: no
required: no

factory

title: 工厂
description: 作为非 PGM 生产器加载器使用的工厂服务名称。
type: string
readonly: no
required: no
default: loader

softness

title: 柔和度
description: 仅在使用 luma 贴图时有效:A 与 B 之间边缘的柔和程度。0.0 = 不柔和,1.0 = 过于柔和。
type: float
readonly: no
required: no

reverse

title: 反向
description: 反转转场的方向。
type: integer
readonly: no
required: no
default: 0

invert

title: 反转
description: 在擦除模式下(即提供了 "resource" 时),交换帧 A 与帧 B,使输出图像尺寸和 alpha 通道取自 B 而非 A,并反转 luma 贴图的极性;这同时也会反转转场方向,与 "reverse" 类似。当提供非 PGM 的 luma 生产器时,内部会使用此设置,但也可以显式设定。在溶解模式下(没有 "resource"),它只反转转场方向,与 "reverse" 相同,而不会交换帧 A 与帧 B。
type: integer
readonly: no
required: no
default: 0

producer.*

title: 生产器
description: 可以在被封装的生产器上设置属性。任何以 "producer." 开头的属性都会传递给非 PGM 的 luma 生产器。
type:
readonly: no
required: no

alpha_over

title: 对 alpha 通道使用 over 混合
type: boolean
readonly: no
required: no
default: 0

fix_background_alpha

title: 确保填充区域透明
description: 这是针对版本 2 的一项修正,确保没有 alpha 通道且宽高比与配置文件(profile)不符的素材,其填充区域带有 alpha 通道。基本上这应当成为新的默认行为,但需要一个属性来避免意外改变现有工程和脚本的结果。
type: boolean
readonly: no
required: no
default: 0