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

Unicolour mode is very jittery

Discussion in 'Bug Reports' started by teeedubb, 15 September 2017.

  1. teeedubb

    teeedubb New Member

    Messages:
    10
    Hardware:
    RPi3
    Hi,

    I have noticed that when using unicolour mode that the light coming off the LEDs is very jittery, its like a flicker. This will even happen when there is very little movement/change in the video - eg when someone is talking the lights change, albeit very slightly, but enough to notice. This doesnt happen when using multi colour mode.

    I've uploaded some videos of it happening, but I'm not sure if its visible:


    (when the man is talking)


    (when the woman in red is talking)


    (when the woman is laughing)

    Hyperion config:
    http://paste.debian.net/986202/

    Hyperion log:
    http://paste.debian.net/986203/

    Thanks for reading!
     
    Last edited: 15 September 2017
  2. Akriss

    Akriss Active Member

    Messages:
    386
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I probably very wrong, but I thought unicolour just averaged the brightness and colors of the entire edge area, Movement (even the smallest) in the scene well cause the edge brightness and colors to re-calibrate. And this causes a perceivable change in the led color and brightness, Just my thinking,
     
  3. teeedubb

    teeedubb New Member

    Messages:
    10
    Hardware:
    RPi3
    That makes sense and is probably what is happening - I assumed it was sampling the whole screen.

    With my previous setup, I used boblight on x86 hardware and I has a config which where each LED would sample the whole screen and via this I achieved a unicolour mode which didnt display the jitter, but this method is too taxing for a RPi3.

    I wonder if its possible to configure Hyperion to sample the whole screen once and send that one colour to all LEDs - this would use less CPU time and give a smoother output from the LEDs.

    EDIT:
    Is it possible to edit the values in this block to force uniclour mode to sample the whole screen?
    https://github.com/hyperion-project...eac7/libsrc/grabber/v4l2/V4L2Grabber.cpp#L193
     
    Last edited: 17 September 2017
  4. Akriss

    Akriss Active Member

    Messages:
    386
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I do not code, dyslexia hinders me. However I force myself to read through as much code from projects I like to see what sticks.

    So again I could be very wrong, but that bit of code looks to be dealing with signal defection. probably something to do with USB grabbers and detection of a static off screen (Rainbow screen). . . I think.
     
  5. teeedubb

    teeedubb New Member

    Messages:
    10
    Hardware:
    RPi3
    Thanks Akriss

    Does anyone have any pointers on how I can configure unicolour mode to sample the whole screen to prevent the jitter when using unicolour mode?

    Also, if anyone wants to replicate the issue, the first few minutes of stranger things s2e1 display it.
     
    Last edited: 27 October 2017