YomikoR / VapourSynth-Editor

Branch vse-previewer for standalone previewer. Branch vs-api4 for an IDE with a text editor. Branch master for "stability". Forked from https://bitbucket.org/mystery_keeper/vapoursynth-editor
Other
141 stars 10 forks source link

Preview GRAY clip with YUV matrix #18

Closed YomikoR closed 2 years ago

YomikoR commented 2 years ago

GRAY clip won't be resampled to RGB if tagged with RGB matrix. For example,

# clip is RGB
y = core.std.ShufflePlanes(clip, 0, vs.GRAY)
y.set_output()

leads to runtime error

Error on frame 0 request:
Resize error 1026: GREY color family cannot have RGB matrix coefficients

In addition, since https://github.com/vapoursynth/vapoursynth/pull/822 prefer_props is forced.