Skip to content

C7LookupTable with HDR video #48

@BRIKSING

Description

@BRIKSING

Hello! Thank you for your framework!

I tried to add HDR video support in my editing app for export, but colors is wrong sometimes
Editing video with no HDR edit is great.
I use C7Collector like in demo, but I convert CVPixelBuffer to MTLTexture and back for custom compositor because it's working faster.

If you try to use neutral lookup table, it seems like the colors are faded.

Here lookup table and HDR video for example with screens

Lookup table:
Image

Original HDR Video:
https://github.com/user-attachments/assets/1c95c7a4-8f03-44e9-bdf5-8023a320350d

HDR video with wrong colours
https://github.com/user-attachments/assets/bb095b33-45e7-4e35-90da-d4645cc668f5

Screenshot with correct colors without using HDR
Image

Thanks in advance!

P.S. Try to use CIColorCube filter but there were memory leak while exporting with this filter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions