Skip to content

[RFE]: Support BT.2100 color space for NDI input #1333

Description

@BitRate27

Is there an existing issue or feature request for this?

  • I have searched and did not find a similar issue or feature request

This feature does not exists on the latest available release of DistroAV nor in the upcoming PR?

  • I have checked and this is not available on the latest DistroAV version nor planned

Explain the context or expected use-case of the feature request (problem, new NDI feature, ...)

Add the ability for the user to select BT.2100 color space in addition to the existing BT.709 and BT.601 color spaces.

Solution Idea or Feature description

Currently the user can only select a color space for the NDI source as BT.601 or BT.709. NDI does support BT.2100 color space and can be selected when using the HDR mode for Test Patterns.

Adding support only requires adding to the list of options for YUV Color Space on the properties dialog for NDI Sources and sending that selection to the calculation of the color conversion matrices used by OBS.

Also, since the matrices are based on the combination of two user selected values, they should only be calculated when the user changes these selections and not for every frame.

How this feature can benefit the community?

Allows the user to see the exact color in OBS when output is in the BT.2100 color space from NDI.

How could this feature be implemented (fac.)?

Simply adding the option to the list and converting to the proper enum used by OBS. Optimization is achieved by adding the calculation to the reset_ndi_receiver code and removing it from the loop that sends each frame to OBS.

Do you see any potential limitation/drawback?

None.

Are you able to contribute to this feature?

Yes, I have a PR ready.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions