1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Rainbow effect bei (teilweise) schwarzen Bild

Discussion in 'German Talk' started by Marten229, 4 October 2019.

  1. Marten229

    Marten229 New Member

    Messages:
    5
    Hardware:
    RPi3
    Hallo,
    ich bin ziemlich neu hier und versuche gerade mein Ambilight zum laufen zu bringen. Ich benutze einen APA102 LED Streifen und einen Raspberry PI3 B+. Folgenden Fehler habe ich, wenn das Bild schwarz ist oder auch nur ein Teil davon (z.B. in einem Video schwarze ecke oder so) gehen die LED´s nicht aus sondern zeigen alle möglichen Farben an, das ist bisher sehr störend . Wenn ich einen Screenshot vom Grabber mache ist das Bild auch wirklich Schwarz, also daran kann es nicht liegen. Für jegliche Hilfe wäre ich sehr dankbar !

    Meine Config:

    Code:
    // Automatically generated configuration file for Hyperion ambilight daemon
    // Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
    // Generated by: HyperCon (The Hyperion deamon configuration file builder)
    // Created with HyperCon V1.03.3 (22.10.2017)
    
    {
        // DEVICE CONFIGURATION
        "device" :
        {
            "name"       : "MyHyperionConfig",
            "type"       : "apa102",
            "output"     : "/dev/spidev0.0",
            "rate"     : 1000000,
            "colorOrder" : "bgr"
        },
    
        // COLOR CALIBRATION CONFIG
        "color" :
        {
            "channelAdjustment" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "pureRed" :
                    {
                        "redChannel"        : 255,
                        "greenChannel"        : 0,
                        "blueChannel"        : 0
                    },
                    "pureGreen" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 255,
                        "blueChannel"        : 0
                    },
                    "pureBlue" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 0,
                        "blueChannel"        : 255
                    }
                }
            ],
            "temperature" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "correctionValues" :
                    {
                        "red"     : 255,
                        "green"    : 255,
                        "blue"     : 255
                    }
                }
            ],
            "transform" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "hsl" :
                    {
                        "saturationGain"    : 1.0000,
                        "luminanceGain"        : 1.0000,
                        "luminanceMinimum"        : 0.0000
                    },
                    "red" :
                    {
                        "threshold"     : 0.0000,
                        "gamma"         : 2.5000
                    },
                    "green" :
                    {
                        "threshold"     : 0.0000,
                        "gamma"         : 2.5000
                    },
                    "blue" :
                    {
                        "threshold"     : 0.0000,
                        "gamma"         : 2.5000
                    }
                }
            ],
        // SMOOTHING CONFIG
            "smoothing" :
            {
                "type"            : "linear",
                "time_ms"         : 200,
                "updateFrequency" : 20.0000,
                "updateDelay"     : 0
            }
        },
    
        // V4L2 GRABBER CONFIG
        "grabber-v4l2" :
        {
            "device" : "/dev/video0",
            "input" : 0,
            "standard" : "PAL",
            "width" : -1,
            "height" : -1,
            "frameDecimation" : 0,
            "sizeDecimation" : 8,
            "priority" : 900,
            "mode" : "2D",
            "cropLeft" : 22,
            "cropRight" : 22,
            "cropTop" : 20,
            "cropBottom" : 20,
            "redSignalThreshold" : 0.0,
            "greenSignalThreshold" : 0.0,
            "blueSignalThreshold" : 0.0
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.065,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // BOOTEFFECT CONFIG
        "bootsequence" :
        {
            "color" : [0,0,0],
            "effect" : "Rainbow swirl fast",
            "duration_ms" : 3000,
            "priority" : 700
        },
    
        // JSON SERVER CONFIG
        "jsonServer" :
        {
            "port" : 19444
        },
    
        // PROTO SERVER CONFIG
        "protoServer" :
        {
            "port" : 19445
        },
    
        // EFFECT PATH
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects",
                "/usr/share/hyperion/effects"
            ]
        },
    
        // NO FRAME GRABBER CONFIG
        // NO KODI CHECK CONFIG
        // NO BOBLIGHT SERVER CONFIG
        // NO JSON/PROTO FORWARD CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8958, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8125, "maximum" : 0.9375 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7292, "maximum" : 0.8542 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6458, "maximum" : 0.7708 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5625, "maximum" : 0.6875 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4792, "maximum" : 0.6042 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3958, "maximum" : 0.5208 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3125, "maximum" : 0.4375 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2292, "maximum" : 0.3542 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1458, "maximum" : 0.2708 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0625, "maximum" : 0.1875 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1042 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.9405, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.8929, "maximum" : 0.9643 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.8452, "maximum" : 0.9167 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.7976, "maximum" : 0.8690 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.7500, "maximum" : 0.8214 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.7024, "maximum" : 0.7738 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.6548, "maximum" : 0.7262 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.6071, "maximum" : 0.6786 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.5595, "maximum" : 0.6310 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.5119, "maximum" : 0.5833 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.4643, "maximum" : 0.5357 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.4167, "maximum" : 0.4881 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.3690, "maximum" : 0.4405 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.3214, "maximum" : 0.3929 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.2738, "maximum" : 0.3452 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.2262, "maximum" : 0.2976 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.1786, "maximum" : 0.2500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.1310, "maximum" : 0.2024 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.0833, "maximum" : 0.1548 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.0357, "maximum" : 0.1071 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0595 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1042 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0625, "maximum" : 0.1875 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1458, "maximum" : 0.2708 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2292, "maximum" : 0.3542 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3125, "maximum" : 0.4375 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3958, "maximum" : 0.5208 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4792, "maximum" : 0.6042 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5625, "maximum" : 0.6875 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6458, "maximum" : 0.7708 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7292, "maximum" : 0.8542 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8125, "maximum" : 0.9375 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8958, "maximum" : 1.0000 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0595 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 46,
                "hscan" : { "minimum" : 0.0357, "maximum" : 0.1071 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 47,
                "hscan" : { "minimum" : 0.0833, "maximum" : 0.1548 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 48,
                "hscan" : { "minimum" : 0.1310, "maximum" : 0.2024 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 49,
                "hscan" : { "minimum" : 0.1786, "maximum" : 0.2500 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 50,
                "hscan" : { "minimum" : 0.2262, "maximum" : 0.2976 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 51,
                "hscan" : { "minimum" : 0.2738, "maximum" : 0.3452 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 52,
                "hscan" : { "minimum" : 0.3214, "maximum" : 0.3929 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 53,
                "hscan" : { "minimum" : 0.3690, "maximum" : 0.4405 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 54,
                "hscan" : { "minimum" : 0.4167, "maximum" : 0.4881 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 55,
                "hscan" : { "minimum" : 0.4643, "maximum" : 0.5357 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 56,
                "hscan" : { "minimum" : 0.5119, "maximum" : 0.5833 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 57,
                "hscan" : { "minimum" : 0.5595, "maximum" : 0.6310 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 58,
                "hscan" : { "minimum" : 0.6071, "maximum" : 0.6786 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 59,
                "hscan" : { "minimum" : 0.6548, "maximum" : 0.7262 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 60,
                "hscan" : { "minimum" : 0.7024, "maximum" : 0.7738 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 61,
                "hscan" : { "minimum" : 0.7500, "maximum" : 0.8214 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 62,
                "hscan" : { "minimum" : 0.7976, "maximum" : 0.8690 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 63,
                "hscan" : { "minimum" : 0.8452, "maximum" : 0.9167 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 64,
                "hscan" : { "minimum" : 0.8929, "maximum" : 0.9643 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 65,
                "hscan" : { "minimum" : 0.9405, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
     
  2. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    307
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    Sind die Farben konstant oder wechseln die farben ständig? Könntest du vielleicht ein video machen?
    Klingt für mich ein wenig wie Interferenzen (Störungen) im analogen Signal.
     
  3. Marten229

    Marten229 New Member

    Messages:
    5
    Hardware:
    RPi3
    Die Farben wechseln die ganze Zeit durchgehend. Könnte ich nachher machen, wenn ich wieder Heim bin. Wie genau kann denn sowas verursacht werden ?
     
  4. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    307
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    Entweder erzeugt dein Grabber kein durchgängig schwarzes bild (zu viel rauschen) oder wie gesagt Störung auf der Leitung vom Grabber zum Converter durch z.b. Stromleitungen in der nähe etc. pp.
     
  5. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    307
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    Hast du schon den internen Grabber benutzen, um zu schauen ob das Problem auch auftritt? Evtl. liegt es ja auch an der APA102 Datenleitung die Störungen empfängt.
     
  6. Marten229

    Marten229 New Member

    Messages:
    5
    Hardware:
    RPi3
    Wenn ich in HyperCon ein Screenshot mache, wenn zum Beispiel gerade kein Bild da ist, ist alles schwarz nur die LED's gehen nicht aus.

    Wie kann ich denn den internen Grabber testen ?
     
  7. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    307
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
  8. Marten229

    Marten229 New Member

    Messages:
    5
    Hardware:
    RPi3
    Wenn ich den Internen Grabber aktiviere kommt nur ein schwarzes Bild, wie genau funktioniert der denn ?
     
  9. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    307
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    Das ist wie ein Screen Recorder bei Windows. Er verarbeitet das das Bild auf deinem Monitor. Wenn natürlich keine GUI (Desktop, Kodi, etc.) läuft nimmt er nur die Konsole auf. Und die ist im Normalfall schwarz.
     
  10. Marten229

    Marten229 New Member

    Messages:
    5
    Hardware:
    RPi3
    Der Desktop läuft bei mir auf dem Raspberry, mit Kodi habe ich es auch versucht, aber bei beiden nur ein schwarzes Bild.
     
  11. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    307
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    Was sagt den die ssh Ausgabe in hypercon?