set_prop
set_prop(
input: Clip,
#{
key: String,
value: MetadataValue,
}
)
Writes one metadata key on each output frame.
The input must be one fixed-format planar Gray, YUV, or planar RGB clip. key
must already exist in the active MetadataSchema, and value must match the
registered metadata kind for that key.
Examples
register_prop("acme/filter:enabled", "bool")
output = source("input.mkv").std.set_prop(#{
key: "acme/filter:enabled",
value: true,
})
Input
One fixed-format planar Gray, YUV, or planar RGB clip.
Output
A clip with the same media properties, with the requested metadata key written on each frame.
Options
key(String) – Select the registered metadata key to write.value(MetadataValue) – Provide the metadata value to store.