External grabber won´t work

  • Hello everyone,


    so I built an Ambilight using a Pi 3 and Hyperion about 2 years ago and got it to work but I didn´t use it because I was planning on upgrading to a 4K TV. A few days ago a found all the components and wanted to put them onto my old 1080P TV in my living room.


    At first, everything worked fine but I had to reconfigure the Hyperion file because I initially configured it for a smaller TV.
    When I rebooted my Pi after reconfiguring the file nothing happened.
    So I tried to do some general troubleshooting, in the end I reconfigured the file so it would only work with the interal grabber.
    Et voila, everything worked perfectly fine.
    Boot animation went through and the LEDs reacted to everything that happened on the Pi.


    So the problem must be connected to the external grabber and the related settings.
    I tried multiple configurations (NTSC/PAL etc.) but nothing worked.
    I checked the log and the error is always the same:
    "4L2GRABBER ERROR: Cannot identify '/dev/video0' ERROR 2, No such file or directory"


    I´m using this grabber: https://www.amazon.de/gp/produ…linkCode=as2&tag=pow07-21


    And this converter:
    https://www.amazon.de/gp/produ…linkCode=as2&tag=pow07-21


    I tried to reinstall OpenElec and Hyperion, reconnected all cables etc.
    Does anyone have a idea what the issue is?


    Full log
    ssh out: /storage/.config/autostart.sh > /dev/null 2>&1 &
    ssh out: cat /storage/logfiles/hyperion.log
    ssh in: Hyperion Ambilight Deamon (805)
    ssh in: Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: Build Time: Apr 5 2018 01:57:25
    ssh in: INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in: HYPERION INFO: ColorTransform 'default' => [0; 241]
    ssh in: HYPERION INFO: ColorCorrection 'default' => [0; 241]
    ssh in: HYPERION INFO: ColorAdjustment 'default' => [0; 241]
    ssh in: LEDDEVICE INFO: configuration:
    ssh in: {
    ssh in: "colorOrder" : "bgr",
    ssh in: "name" : "MyHyperionConfig",
    ssh in: "output" : "/dev/spidev0.0",
    ssh in: "rate" : 1000000,
    ssh in: "type" : "apa102"
    ssh in: }
    ssh in: INFO: Creating linear smoothing
    ssh in: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=40;settlingTime_ms=200;updateDelay=0
    ssh in: EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
    ssh in: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in: INFO: Hyperion started and initialised
    ssh in: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    ssh in: BLACKBORDER INFO: threshold set to 0.14 (36)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: started
    ssh in: INFO: Json server created and started on port 19444
    ssh in: INFO: Proto server created and started on port 19445
    ssh in: terminate called after throwing an instance of 'std::runtime_error'
    ssh in: what(): V4L2GRABBER ERROR: Cannot identify '/dev/video0' ERROR 2, No such file or directory
    ssh in: Aborted (core dumped)


    Hyperion config:
    // 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.1900,
    "gamma" : 2.5000
    },
    "green" :
    {
    "threshold" : 0.1900,
    "gamma" : 2.5000
    },
    "blue" :
    {
    "threshold" : 0.1900,
    "gamma" : 2.5000
    }
    }
    ],
    // SMOOTHING CONFIG
    "smoothing" :
    {
    "type" : "linear",
    "time_ms" : 200,
    "updateFrequency" : 25.0000,
    "updateDelay" : 0
    }
    },
    // V4L2 GRABBER CONFIG
    "grabber-v4l2" :
    {
    "device" : "/dev/video0",
    "input" : 0,
    "standard" : "PAL",
    "width" : -1,
    "height" : -1,
    "frameDecimation" : 2,
    "sizeDecimation" : 4,
    "priority" : 800,
    "mode" : "2D",
    "cropLeft" : 6,
    "cropRight" : 6,
    "cropTop" : 2,
    "cropBottom" : 2,
    "redSignalThreshold" : 0.09999999999999999,
    "greenSignalThreshold" : 0.1,
    "blueSignalThreshold" : 0.1
    },
    // BLACKBORDER CONFIG
    "blackborderdetector" :
    {
    "enable" : true,
    "threshold" : 0.14,
    "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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!