Skip to content

Pixel consumer#1751

Open
dimitry-ishenko wants to merge 14 commits into
CasparCG:masterfrom
dimitry-ishenko-casparcg:pixel
Open

Pixel consumer#1751
dimitry-ishenko wants to merge 14 commits into
CasparCG:masterfrom
dimitry-ishenko-casparcg:pixel

Conversation

@dimitry-ishenko
Copy link
Copy Markdown
Contributor

@dimitry-ishenko dimitry-ishenko commented May 21, 2026

Sample config for testing:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <paths>
        <media-path>media/</media-path>
        <log-path disable="false">log/</log-path>
        <data-path>data/</data-path>
        <template-path>template/</template-path>
    </paths>

    <video-modes>
        <video-mode>
            <id>matrix</id>
            <width>18</width>
            <height>16</height>
            <time-scale>60000</time-scale>
            <duration>1000</duration>
            <cadence>800</cadence>
        </video-mode>
    </video-modes>

    <channels>
        <channel>
            <video-mode>matrix</video-mode>
            <consumers>
                <screen />

                <pixel>
                    <protocol>ArtNet</protocol>
                    <host>10.42.0.21</host>
                    <port>6454</port>

                    <universe>0</universe>
                    <start-address>1</start-address>
                    <type>RGBW</type>
                    <coef>
                        <r>1.0</r>
                        <g>0.55</g>
                        <b>0.154</b>
                        <w>0.21</w>
                    </coef>
                    <gamma>2.2</gamma>
                </pixel>

            </consumers>
        </channel>
    </channels>

    <controllers>
        <tcp>
            <port>5250</port>
            <protocol>AMCP</protocol>
        </tcp>
    </controllers>
</configuration>

@dimitry-ishenko dimitry-ishenko marked this pull request as ready for review May 23, 2026 02:25
@dimitry-ishenko
Copy link
Copy Markdown
Contributor Author

@Julusian this is a follow-up of the discussion in #1749.

I've figured it's probably better to keep this as a separate consumer.

I've decoupled the ArtNet sink and made it easy to add other types of sinks in the future.

This adds a few interesting possibilities. First, we can add other output protocols, such as sACN (E1.31). Or, we can add a pipe as a sink and output raw pixel data for processing by external tools. This makes CasparCG act as a compositing engine. And so on.

@dimitry-ishenko
Copy link
Copy Markdown
Contributor Author

Here is an example of the sync-check video on an 18x16 RGBW pixel matrix:

video.mp4

The original video is here:

sync.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant