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

Alpha Android Screen Grabber

Discussion in 'Development' started by abrenoch, 16 February 2018.

  1. sl81

    sl81 New Member

    Messages:
    17
    Hardware:
    RPi2, 32/64bit, +Arduino
    I've built a new led setup now and gotten it all working. Seems very good so far, not a hell of a long running time yet but no issues. Is the amount of leds in the setup any important?Seeing as i've got it all set up in hyperion?
    This is a shield tv, raspberry pi and a Arduino build.
     
  2. abrenoch

    abrenoch Android Grabber Developer

    Messages:
    79
    Hardware:
    RPi1/Zero, RPi2
    Glad to hear it is working for you!

    The count of the LEDs is sort of my way of determining the quality of the image to send to hyperion. Rather than have scaling settings or something that the user just takes guesses at, I just gather the info about the LEDs to automatically figure out the optimal quality. I would wager the default works for majority of people, but if you have a ton of LEDs in your setup you will want to set that info (or conversely if you have a low number then setting those values lower will send a smaller image - thus saving some CPU)!
     
  3. sl81

    sl81 New Member

    Messages:
    17
    Hardware:
    RPi2, 32/64bit, +Arduino
    This is on a 65 inch tv, 264 LED setup. Dont know if that is considered a "lot of" LEDs in this context?

    Been watching a movie and some stuff now, works without a hitch so far. Really dependable compared to a splitter/grabber setup i used to run.
     
  4. abrenoch

    abrenoch Android Grabber Developer

    Messages:
    79
    Hardware:
    RPi1/Zero, RPi2
    Really glad to hear that - I only started working on this because I wasn't happy with the performance & headache of splitters! :LOL:

    The default value is around 220 LEDs (60 tall x 50 wide), so you probably won't notice any improvement by increasing the counts. I have to use common divisors for the width & height of the image to maintain the correct aspect ratio, which is what the app figures out the best value to use based on the number of LEDs you have. I don't think your count is different enough from the default to lower the divisor used, so you should be all set!

    The next version will include the ability to send only the average color of the screen, along with you translations!
     
  5. sl81

    sl81 New Member

    Messages:
    17
    Hardware:
    RPi2, 32/64bit, +Arduino
    I stuffed the absolute maximum amount of leds on the tv. Using some Ws2812b 5v LEDS. They are what i've always used.
    I noticed with this grabber the colors are more defined/lively, i thought they looked kinda dull on previous setup, tried a heap of converters, splitters, cables and connecting in different ways. It looks "allrite" without even tuning the colors or anything yet. Will it be possible to do the black bar detection in the grabber and crop the image accordingly or is this putting the cart before the horse?
     
  6. abrenoch

    abrenoch Android Grabber Developer

    Messages:
    79
    Hardware:
    RPi1/Zero, RPi2
    Actually I have some code that does that, but I am sort of leaning towards encouraging people to use hyperion to handle that. I found if the black border detection was set to 0 then it would not work (at least with this app). I set mine to 0.01 and then in started to work. Give that a try!
     
  7. frag1x

    frag1x New Member

    Messages:
    1
    Hi,

    thanks for the great work, I am using this on my Sony AndroidTV.
    In Kodi playing 1080p files everything works fine, but i cannot get it working with 4k/HDR files, the LEDs just stay off.

    Also with the Sony Media Player i have the same problem.
    There was a tip to turn off hardware acceleration in KODI, but this is needed for 4k/HDR files to play stutter free. When i turn it off the movies are not watchable with ~1fps but Ambilight is working.

    Is it thechnically even possible to make it work with hardware acceleration on? If not i have to think of using an external player with expensive 4k/HDR splitter/downscaler.