plugins
链接 Link
Link: color_transform

Link: color_transform

插件信息

title: 色彩空间与传输特性(Colorspace & Transfer Characteristics)
media types: 视频 隐藏(Hidden)
description: 将图像颜色转换为消费器(consumer)所请求的样式。此链接(link)滤镜设计为与加载器生产器(loader producer)配合用作规范化器(normalizer)。如果在该滤镜上设置了 "force_trc" 属性(property),滤镜会将输出的 TRC 强制为 "force_trc";否则,如果帧(frame)上存在 "consumer.mlt_color_trc" 属性,则会将图像规范化到消费器所请求的 TRC。
version: 2
creator:
copyright: Meltytech, LLC
license: LGPLv2.1

参数

method

title: 方法
description:

The underlying conversion method to use. The method is based on the
encapsulated filter that is used. 'auto' will choose the best available
in this order:
  * avfilter.zscale
  * sws_colortransform
  * avfilter.scale
  One can set the environment variable MLT_COLOR_TRANSFORM to override this.

type: string
readonly: no
required: no
default: auto
values:

  • auto
  • avfilter.zscale
  • sws_colortransform
  • avfilter.scale

force_trc

title: 强制 TRC
description:

Force the TRC to be as specified by this parameter instead of consumer.mlt_color_trc
This property can be used to "undo" a TRC set by this filter when used as a normalizer

type: string
readonly: no
required: no
default: unset