Jaded-Encoding-Thaumaturgy / vs-preview

Previewer for VapourSynth scripts.
Apache License 2.0
57 stars 16 forks source link

Split planes doesn't account for negative values in chroma when in float #132

Closed srappan closed 2 months ago

srappan commented 4 months ago

Split Planes can't display chroma for clips in float properly.

python_jTEUl3XVAp python_ShSzU1tpGx python_6lULtoPjTO delowpass node is at a bit depth of 32 CR, JPBD nodes are at bit depth of 16

Setsugennoao commented 2 months ago

Check your monitor gamma

NSQY commented 2 months ago

The easiest fix for this would to simply x 0.5 + if the input is YUV type float. The plugin will also throw an error for half precision formats because vapoursynth.Error: Text: Input clip must be 8..16 bit integer or 32 bit float, passed GrayH.

Actually for some reason the offset for equal representation in RGB is closer to 0.51.

Setsugennoao commented 2 months ago

https://github.com/Jaded-Encoding-Thaumaturgy/vs-preview/commit/3bba1af229cce7578bfececef15f70ddf4fc0af1