Summary: | Applying LUT to SMPTE 170M colorspace videos is incorrect | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | Ilia Lilov <lilovil> |
Component: | Video Effects & Transitions | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | fritzibaby, lilovil, snd.noise |
Priority: | NOR | Keywords: | triaged |
Version First Reported In: | git-master | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
SMPTE 170M colorspace video
3dlut which performs no changes on source image Original frame from the video Frame from the video after nochange.cube applied |
Description
Ilia Lilov
2019-12-19 22:08:58 UTC
Created attachment 124595 [details]
3dlut which performs no changes on source image
Created attachment 124597 [details]
Original frame from the video
Created attachment 124599 [details]
Frame from the video after nochange.cube applied
I confirm that the provided nochange.cube lut changes the color. This seems to be an MLT issue though. we will try to look into it. I made a few tests regarding this issue. Problem seem to happen only if the project's colorspace is different than the clip colorspace. If you use a project matching your clips's profile (using a bt.601 colorspace), it works as expected, the lut doesn't change the image. However, when using a rec.709 color profile, adding the lut causes a color shift. However, when applying another effect after the lut, like "Position and Zoom" that is an rgb filter causing a yuv > rgb conversion, the colorshift is gone and the clip colors match the original clip. I am not sure if the problem is limited to clips using a full color range. So the issue seems to lie somewhere in MLT, when converting full range clips in bt.601 to rec.709, applying a LUT and exporting to YUV format. |