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

RPi + Other Software Ambilight with RPi4, hdmi grabber and Denon AV-reciever

Discussion in 'Hardware Support' started by u20p17, 7 April 2020.

  1. Puck

    Puck Member

    Messages:
    71
    With "Monitor 1"
    [​IMG]

    With "Auto (Dual)"
    [​IMG]
    However, even though it does show HDR/DV/HLG, my Nvidia Shield now reports the attached monitor(s) don't support HDR, so I can't play any of that content.

    Well this is why I am excited: it does work for me on Netflix / Amazon / Etc through my Nvidia Shield. Just no HDR yet :) Thinking of trying something like this, since it's not too expensive: https://www.amazon.com/Splitter-Multi-Resolution-J-Tech-Digital-downscale/dp/B0839PRQ2V
     
    Last edited: 23 October 2020
  2. Awawa

    Awawa Active Member

    Messages:
    227
    Hardware:
    RPi1/Zero, RPi3, +nodeMCU/ESP8266
    Possible solution would be to insert a splitter like FeinTech (with TV output as priority) BEFORE Denon and make Denon to output HDR->SDR video to grabber only. But in my case I want the setup to be the simplest as possible (have some issues with FeinTech before anyway) and I dont want to play like that.
    In this scenario x2700 for HDR is overshot, simply x1.00 with one HDMI output should be sufficient.
     
    Last edited: 23 October 2020
  3. pclin

    pclin Active Member

    Messages:
    395
    Hardware:
    +nodeMCU/ESP8266
    Another solution for AV receivers with 2 HDMI outputs could be the use of an EDID emulator, which read out and save the data from a connected monitor.
    However, the use of a splitter is more universal (FeinTech like or HDFury)

    AVR HDMI Out 1 > TV
    AVR HDMI Out 2 > EDID Emulator > Digital Grabber

    Both HDMI Out see the same EDID

    ------------------------------------------------

    AVR HDMI Out 1 > HDMI IN Splitter > HDMI Out 1 TV
    > HDMI Out 2 Digital Grabber

    Splitter Copy EDID, Scaler FullHD for HDMI Out 2
    With a 4K 60 Hz grabber you can also do without a scaler

    Regards pclin
     
    Last edited: 23 October 2020
  4. Puck

    Puck Member

    Messages:
    71
    Any recommendations for a proper EDID Emulator which still supports HDMI output?
     
  5. pclin

    pclin Active Member

    Messages:
    395
    Hardware:
    +nodeMCU/ESP8266
    google...

    I haven't tested it, so I can't comment on it, but it reads as if it could work
    EDID Emulator
    EDID Emulator

    I have already used EDID emulators at work, for example when a projector cannot do audio (EDID) and therefore the transmission path does not release audio for the DSP.

    Regards pclin
     
    Last edited: 24 October 2020
    • Like Like x 1
  6. Puck

    Puck Member

    Messages:
    71
    Received an EDID Emulator today but appeared to be dead on arrival. Tried with several monitors and cables but didn't seem to flash the lights at all to show it copied the EDID source. Will receive another one later and will post my results.

    On another note: I am very impressed by the cheap WisFox USB Grabber. After some tweaking it now grabs at 640x480 at 60fps, making the Ambilight super responsive, even on DHCP protected material like Netflix! Not bad for a 18 euro HDMI USB grabber!
     
    • Like Like x 1
  7. Puck

    Puck Member

    Messages:
    71
    Update: the EDID Emulator DOES work, but only when connected directly to the Receiver monitor, not on the side of the grabber. So now I successfully was able to copy the EDID settings from my TV and Denon now sees both outputs as the same capabilities:

    [​IMG]

    However: I do not get a video signal into the grabber. And when outputting directly to my TV, through the EDID Emulator from monitor 2, my signal flickers, so I do get output but that then drops and appears again continuously. Might still be a flakey EDID Emulator so will try again with another one. There is some hope!

    Edit:
    I managed to fix the flickering by redoing EDID settings with another cable and (non ARC) port. The grabber is now also working but ONLY when "4K/8K Signal Format" on the receiver to "Standard", meaning it still won't do HDR. If I change this to "Enhanced" making HDR available (see here), the grabber input stays black. Almost there, but not sure if this can be solved.
     
    Last edited: 25 October 2020
  8. Puck

    Puck Member

    Messages:
    71
    @pclin You are using the Feintech splitter with the WisFox USB grabber and that works 100% right? Because then I will probably go for that solution as well.

    Does it also work with DHCP protected content like Netflix?
     
    Last edited: 25 October 2020
  9. pclin

    pclin Active Member

    Messages:
    395
    Hardware:
    +nodeMCU/ESP8266
    Can you please tell us which EDID emulators you tested.
    There are clear differences in quality and price.


    For me Feintech splitter with the WisFox USB grabber and that works 100% right!
    4K HDR works from these devices, about HDCP I can not say anything.
    However, I cannot assess all the devices that are playing.
    I use a 5-port HDMI 4K HDR HDCP2.2 switch and my Dreamboxes and PC's.
    Hyperion-ng Video


    Regards pclin
     
    Last edited: 25 October 2020
    • Like Like x 1
  10. Puck

    Puck Member

    Messages:
    71
    I used this one and it actually works like it should (in the end). It's just the usb grabber that now doesn't get input (with HDR output) not sure of this is related to the EDID Emulator or because of the grabber itself.

    I want to give it one more go later tonight, and otherwise I will order the Feintech splitter/scaler if that also works for Netflix and such :)

    Edit: The conclusion is: as soon as I sent out 10-bit content, the usb grabber's input is just black. I think it's time to try something else. At least I can now now switch to 10-bit/HDR content, so the EDID Emulator does it's job.
     
    Last edited: 25 October 2020
  11. Puck

    Puck Member

    Messages:
    71
    Still surprised the USB Grabber gets black input when the signal is 10-Bit. According to its spec it "supports input color spaces of RGB/YUV420/YUV422/YUV444". The EDID Emulator is not the problem, because if I use this output directly to the TV it DOES pass 10-bit content...
     
    Last edited: 26 October 2020
  12. Puck

    Puck Member

    Messages:
    71
    Took a gamble and ordered this relatively cheap 4k 4:4:4 USB 3.0 grabber and it worked instantly. Smooth 60fps and HDR without the use of an EDID Emulator straight from monitor 2 of my Denon. DHCP protected content also works.

    Figured this was more worth its money then a splitter/scaler which I can't really use for anything else. Now to fix tone-mapping automatically somehow, but there are several options for that. Thanks for thinking along!
     
    Last edited: 29 October 2020
    • Like Like x 2
  13. pclin

    pclin Active Member

    Messages:
    395
    Hardware:
    +nodeMCU/ESP8266
    @Puck
    Welcher Chip Hersteller ist das?
    Mit usb-devices anzeigen lassen die Zeilen Vendor und Manufacturer würden mich interessieren.

    Super wäre auch noch die Ausgabe vom
    v4l2-ctl --list-ctrls
    v4l2-ctl --list-formats-ext

    Hast du den an USB2.0 oder USB3.0 angeschlossen?

    HDCP2.2 steht nicht in der Beschreibung, kannst du dazu etwas sagen?

    danke und gruß pclin
     
  14. Puck

    Puck Member

    Messages:
    71
    @pclin I do no speak German, but I can understand it a little!

    It's a relatively cheap 4k 4:4:4 USB 3.0 Grabber from Amazon. It's connected to one of the USB 3.0 ports on the Raspberry Pi 4. It works with 4K / HDR on 60fps, even on Netflix / Amazon / Disney+ / PS4 Pro. No idea what DHCP version is supported but it works on all my content (so far).

    usb-devices gives me
    Code:
    T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=eba4 ProdID=7588 Rev=03.28
    S:  Manufacturer=USB3.0 HD Audio Capture
    S:  Product=USB3.0 HD Video Capture
    S:  SerialNumber=HU123450
    C:  #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=200mA
    I:  If#=0x0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
    I:  If#=0x1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
    I:  If#=0x2 Alt= 0 #EPs= 0 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
    I:  If#=0x3 Alt= 1 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
    
    v4l2-ctl --list-ctrls gives me
    Code:
    ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture
    
        [0]: 'MJPG' (Motion-JPEG, compressed)
            Size: Discrete 1920x1080
                Interval: Discrete 0.017s (60.000 fps)
                Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 1280x720
                Interval: Discrete 0.017s (60.000 fps)
                Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 960x540
                Interval: Discrete 0.017s (60.000 fps)
                Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 800x450
                Interval: Discrete 0.017s (60.000 fps)
                Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 640x360
                Interval: Discrete 0.017s (60.000 fps)
                Interval: Discrete 0.033s (30.000 fps)
    
    v4l2-ctl --list-ctrls doesn't return anything

    Like I said: it's cheap :p
     
    • Informative Informative x 1
  15. pclin

    pclin Active Member

    Messages:
    395
    Hardware:
    +nodeMCU/ESP8266
    Sorry that I asked in German.

    Do you use USB2.0 or 3.0?
    I suspect USB2.0 when I see your results.

    Regards pclin
     
  16. Puck

    Puck Member

    Messages:
    71
    Like I said: it's connected to one of the two USB 3.0 ports (the blue ports) of the Pi so I assumed
    it's using that...
     
  17. pclin

    pclin Active Member

    Messages:
    395
    Hardware:
    +nodeMCU/ESP8266
    OK, thanks
    Then the grabber cannot deliverPixel Format: 'YUYV'

    Regards pclin
     
  18. Puck

    Puck Member

    Messages:
    71
    Yeah this doesn't show up indeed. Not sure what the advantage of that is by the way, besides that I understand processing such format is faster. I have never gotten any artefacts or such in the preview or on the LEDs.
     
  19. Swatmorpheus

    Swatmorpheus New Member

    Messages:
    4
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, iMX6, +Arduino, +PhilipsHue, +nodeMCU/ESP8266
    Je ne crois pas avoir lu cette solution mais peut être à tester afin de ne pas dépendre d'un splitter qui fera downscaller les 2 sorties du splitter de l'ampli ou si on ne se sert pas d'amplificateur le splitter et avoir du SDR pour le grabber et HDR vers la TV vu que c'est les sorties qui s'équilibrent avec la sortie la plus basse
    .
    Source-> amplificateur | -> splitter SDR -> grabber -> PI
    | -> TV
    Source-> splitter 4k HDR |-> splitter SDR-> grabber -> PI
    |-> TV
    Avec cette configuration on garderait les sorties HDR 4k HDCP2.2 etc vers la TV et vers le pi on aurait un downscalle vers SDR avant le grabber?

    qu'est ce que vous en pensez ??
     
  20. NeeeeB

    NeeeeB Active Member

    Messages:
    178
    Hardware:
    RPi3, +Arduino, +nodeMCU/ESP8266
    En anglais mon ami, en anglais...