Beiträge von abrenoch


    Hey Flint, glad to hear they at least are turning white haha. There could be a couple reasons for that, I've noticed on my setup occasionally when starting the grabber the lights will light-up white (which is the screen data from the hyperion app), but get stuck there and don't respond when I leave the app. Only workaround I've found is to try restarting the service a few times and it eventually starts working - which is a little mysterious to me. However the current posted alpha has issues stopping/starting the service from the app, so the little toggle switch doesn't actually stop the grabber. On a phone there is a notification item for the grabber with an exit button that does work, but there is no notification menu in android TV! I do have that fixed already so maybe I'll just post that fixed apk when I get a moment to.

    Hello, i've been watching this developement for some time. I'm not much good with code so not much usefull in the ways of contributing to the project in that way, however i would be willing to build a system for testing/debug and such. If this is needed. How is develeopment going? I cant wait to toss all my splitters and converters in the trash really :)


    For me personally, the app is actually working very well! I had went about a week without turning on my LEDs (I have them hooked to a smart outlet so I can turn them on/off with my google home), and to my surprise the grabber was still running just fine once the lights turned on. I've found a few bugs that would make the grabber service act a bit funky, like if you tried to restart the service after it already started running once it would act weird, but I think I sorted that out. A few more details to sort out an I'll have a second alpha build to post, hopefully in the next few days!



    Finally had some time to make a video and upload it. As you will see, the grabber will crash after starting YouTube. The leds are flashing afterwards and YouTube shows strange behavior.


    The Mi box is running Android 6.


    [MEDIA=googledrive]1WSZ0aZxJPCNQHANF4hwSz9JA15ce07xW[/MEDIA]


    Not able to see that video! But I did find an alternative method of reading the screen surface data that doesn't utilize openGL, I'm just struggling to shift the buffer into RGB data for hyperion right now... I'm honestly not sure yet if that will be an improvement or not, but I would certainly be interested in seeing if it helps with the mi box!

    thanks for your response!



    I see,
    Lets say, for now, all i want to know is if it grabs the screen content. What do i have to do..?
    I ve got the Raspberry running with libreelec, hyperion serivce on it and the screen grabber running on android TV.
    IPs and Ports are configured, just not sure how to look at those grabbed images..


    I'll have to re-enable the code that produces those images - it is not utilized at all in the current alpha release! I'm thinking I will have an option to save a frame to the device every 5 seconds for those who want to test it without a hyperion setup. Again it would say nothing for how responsive your setup is, but would allow you to find out if it will work with specific apps or not (for what its worth everything except Netflix has worked for me, but I don't run much of a variety).


    Unrelated note; I found a user on github who apparently had began work on an android grabber as well. His code for grabbing the data from a surface is a bit different than the code I'm using, so I'm curious to see if that technique would work better for some users here. Once I get a chance to implement and try that (and confirm it works obviously), I'll post another download for people to try!

    hey there,


    thank you for working on this app!!
    I would like to test it on my Sony bravia TV.
    Unfortunately there are no LEDs connected to it yet. Is there a way to check if the app works properly on it without a complete set up?


    Sort of... But the only way to know how fluid it plays is to actually run the lights with the screen. The 'test' basically creates a series of image files that are essentially the same pixel data being sent to hyperion (really small compressed images). That works alright if you are trying to see if it will actually grab the screen content, but doesn't tell you much about how smoothly the lights run and with how much latency - for that I can't really imagine a replacement for actually trying it out!


    Just curious, for anyone having trouble, what is the capture rate you are running at?

    I can confirm that the splitter and scaler I purchased from clearvisionsystems UK works for me. 4K 60HZ 10 bit color. no issues for an hour of play. I used my PC and PS4. It also worked perfectly with HDR. I'll probably post a video in a bit when I get home from work tomorrow.


    Really glad it is working for you! I'm not sure why I had so many problems honestly!


    Glad to hear it is mostly functional! You are correct in that the secure flag would prevent it from working, but I'll try to root eventually and see if that helps at all. I'll have to dig up some HDR files to try out... If you have any (legal) links that can be shared to content to test please do! For the crashing, I'll have to try to reproduce on my end to say for sure. I'll try to add a way to share logs or something as debugging hardware I don't own isn't something I'm familiar with!


    Tested it on a miBox.. I was not able to play YouTube, the grabber hang shortly after starting yt. Also the yt video became very small in the left top corner. I had todo a reboot to restart the grabber.


    I also tried to have a look at the code, but I was missing some files. Will have a look later.


    Still a great start, this will helpout a lot of people!


    What version of Android is your mibox running? There may be some discrepancies in the way different versions of android launch services that may make the grabber more prone to being killed... But the problem with YouTube becoming small definitely sounds strange - I'm not certain how the grabber would invoke behavior like that to be honest. If you can find a way to reproduce that it would be really helpful!

    ## [v1.0]
    ### Changes
    - Arabic translation


    ### Fixed
    - Possible NPE when stopping the grabber


    ## [v0.5-beta]
    ### Changes
    - Added the ability to send only the average color of the screen
    - French translation
    - Norwegian translation
    - Czech translation
    - German translation
    - Dutch translation
    - Partial Russian translation
    - Partial Spanish translation
    - Removed openGL grabber option
    - Added toggle grabber activity shortcut
    - LEDs will now be cleared when rebooting or shutting down


    ### Fixed
    - Lights now clear (if running) when shutting down
    - Assertion bug in TV settings
    - Possible null intent when starting grabber
    - OOM bug


    ## [v0.4-alpha]
    ### Changes
    - Start grabber on device boot
    - Added some eye candy for when grabber is started
    - General UI tweaks (tv & mobile)
    - Reconnect behavior implemented for mobile build
    - New connection wizard
    - New settings/connection page (tv build)
    - Quick settings tile to toggle grabber (mobile build)
    - Screen orientation change updates grabber
    - Configurable grabber image quality
    - Pressing the notification will now return to the app's main activity


    ### Fixed
    - Grabber would fail to resume when waking device
    - OpenGL grabber sometimes halting immediately after starting screen grab
    - Default grabber failing to send data the first time it is turned on
    - Grabber not stoping when the host is unreachable
    - Aspect ratio of grabbed image being slightly off
    - OOM bug


    ## [v0.2-alpha]
    ### Changes
    - App Icon
    - Fancy toggle button
    - Bug fixes
    - New Grabber (old grabber can be enabled in the settings)


    ### Known Bugs
    - OpenGL grabber will sometimes hang when started, making the lights unresponsive. Quitting the app and starting again generally fixes the problem.
    - New grabber fails to send any data the first time it is initialized. Turning off and back on one more time seems to fix the problem.

    ANDROID SCREEN GRABBER


    This application will use the built-in android APIs for capturing screen content and delivering that data to a hyperion instance. Unfortunately this also means DRM protected sources such as netflix are not currently supported. This issue may be able to be circumvented with root access but I can't confirm anything like that yet. This has only been tested on 2 devices so far (Pixel XL & 2017 Shield TV), so I would be interested in hearing how well this works on other devices!


    This is an alpha build - so I'm sure there will be some unexpected behavior. Please report any issues here:
    https://github.com/abrenoch/hyperion-android-grabber/issues


    There are some different settings for the capture rate, I suggest trying a few out to see what works best for you (I'll post a poll later).


    Please see the 'releases' page on github for an apk:
    https://github.com/abrenoch/hy…-android-grabber/releases


    Here is a link to the Alpha test-channel on google play:
    https://play.google.com/apps/t….abrenoch.hyperiongrabber
    Be sure to join the google plus group before using the link above (afraid this is the only way without needing people's emails)
    https://plus.google.com/communities/101526321905444484496



    Enjoy!

    HEY! this is awesome.


    how can I test it with my TV?
    I have a Bravia 4k (55xd8577) - and I am totally missing my bright setup.... )


    Does the Bravia run android I assume? I'll be sure to post and apk for people to try out once I have the show-stopping bugs worked out! Right now the background service that runs the grabber is prone to being killed by the system, so it doesn't stay running for very long... I don't have any experience dealing with that kind of stuff in android, so it is a whole lot of trial and error. I am going to make all the code public though; so hopefully someone familiar with all this can take a look and improve it!


    I'm going to spend some time today tinkering with it, hopefully I will be able to share something soon!

    So did you try to use this exact set from Clear Vision UK? https://www.clearvisionsystems…d-scaler-combination-pack


    Or when you said it didn't work did you mean the downscaler and splitter combo in general? I'm talking with them over at Clear Vision trying to find out if it would work but if you tried this exact set from Clear Vision and it didn't work then I'm not going to bother to try.


    I didn't try that exact set - but I used the scalar from HDTV supply with this splitter:
    https://www.ebay.com/itm/1x2-4…EDID-Support/322945827714


    It seems to be the same one - unless they flashed custom firmware to theirs which is possible... But I don't see what purpose that scalar would even serve without that specific splitter because it forwards the EDID of the output (as outline in the description on that site), so any device you hook it up to will just ignore it.


    However there was another user in this forum who reported success with it - although it sounded like he had to fiddle with the HDMI wires (power things on and connect wires in a certain order) to get it to behave as expected... Which isn't something I want to have to worry about.


    Good luck though, please share your results if you decide to roll the dice!


    I bought that one from HDTV supply - unfortunately it did not work for me even after trying 2 different splitters with EDID management (even the one specifically outlined as working with it on another site). I even tried another scaler from HDTV supply (the $150 one) and that did not want to work either. I wish I knew why.


    I've tried a bunch of different devices, which I have been documenting in this thread:
    https://hyperion-project.org/t…tv-software-grabber.2603/


    I wish I had better news for you :unsure:

    Back again!


    The mystical device in my previous post unfortunately did not work for me - frankly I'm not sure why. I just could not get it to work with my setup... So I have abandoned my hopes for a hardware solution for this...


    The good news though is I think I am very close to an alpha release of an android screen-grabber. Here is a preview!


    [MEDIA=gfycat]CourageousEnviousFulmar[/MEDIA]
    (the colors may look a bit off because my wall is blueish)


    I have only just got this working so I'm still in the process of identifying any issues... This is only my second time writing java so I'm pretty sure there are problems I'm not even aware of yet. The github will be made public once I'm ready though, so I'm sure some more knowledgeable people can help influence it from there!


    So far the only issue I have so far is the service is prone to being killed, so I'll have to look into how to better handle that. Netflix does not work (which got cut out of the video), but that should not be a surprise to anybody familiar with how that works. This might be able to be resolved with root or something but I haven't got that far yet.


    Very close guys!

    Hey guys,


    I was just wondering if there are any official icons or logos for hyperion? I'm working on putting together an app and would like to utilize any existing assets (if there are any) and my initial googling didn't quite return the results I was hoping for... I'm really just looking for a good icon!


    Are there any official images or icons used in the project that can be shared here?


    Thanks in advance!

    Best of luck - I have tried a ton of different devices and configurations (including the combo dave posted here) and none of it has worked for me. I honestly am at a loss because all the pieces are there and it still just doesnt work (cant get a signal to the pi at 4k even with 2 different scalers).


    Please be sure to share your results!

    Back to document my misery! :LOL:


    So the scalar in my previous post I now think is defective - Both splitters with EDID management failed to make this device actually scale anything neither up nor down. I contacted the seller and outlined my frustration with it (zero documentation, literally more info posted about it in this thread than they can provide me), and to my surprise they actually offered to send me a different scalar at no additional charge. Honestly some great customer service there, I'm blown away.


    So I'm now waiting on this magical little device:
    https://www.hdtvsupply.com/4k-…-with-up-down-scaler.html


    The thing looks like it does just about everything (splits,scales,extracts,embeds), and actually seems pretty nice assuming it works. However, it does not do independant channel scaling so I do still need my splitter.


    I'll be sure to update with my findings!


    In related news; I have started work on an android grabber app and development so far is pretty positive. A few more parts to put together and I think I will have a minimal viable product to post here! :thumbup::thumbup:

    Hey Sabaat, I'm taking my best shot at an android grabber right now and have a quick question for you!


    Assuming you are using the protobuf server to send image data to hyperion, what dimensions would you recommend for the image data? I see in your configs you have an 'image scaling factor', but I have no idea what that actually equates to. Right now I'm looking at 427x240, but I'm not sure if that is too large or not.. I'm getting some opengl errors when trying to render it smaller but I'm not sure if that is a fault of my own or not yet.


    Just trying to get an idea of what you guys are currently doing!


    Thanks!

    On mine, the splitter edid is set to TV. Then power up the splitter and and scaler with the output hdmi on the scaler disconnected. With the shield turned on the blue link light on the scaler turns on and then the 4K input lights up and the 1080p output lights up. Having the 1080p to rca converter connected to the 4K scaler and powered up before the 4K scaler stops it from working properly I found.


    Thanks a ton man, I'll have to try that when I get back home!


    I am pleased to say with - cautious optimism - that I think I'll be able to make a software grabber for android. All the pieces seem to be there and I'm doing my best to put them together.. Maybe I'll be able to recoup the shipping costs of all this damn hardware if I release a donation version :p


    Hey do you have any advice to add getting this damn splitter and scalar to work? I just got the splitter outlined as being required for this scalar, and this shit just does not work. I have never seen the thing actually scale a signal, and have been thru a ton of different hardware now. I'm starting to think it is just defective. This shit is ridiculous.