copy_props
copy_props(
input: [Clip, Clip]
)
Copies all frame metadata from one clip onto another clip.
Use array input form: std.copy_props([metadata_source, target]). The target clip
must be a fixed-format planar Gray, YUV, or planar RGB clip. The metadata source
and target must have the same frame count, but they may differ in format,
resolution, and frame rate.
Examples
target = source("graded.mkv")
metadata_source = source("original.mkv")
output = std.copy_props([metadata_source, target])
Input
Two clips in array form: [metadata_source, target].
Output
A clip that keeps the target clip’s plane data and media properties, but replaces each frame’s metadata with metadata from the same-numbered source frame.