I’m getting tired of the extremely loud ads on that don’t seem to be subject to the old TV broadcasting laws that prevent them from being blasted 10db louder than the actual content. Wondering if there’s stuff out there that would let me take the hdmi stream from my Apple TV or other streaming source, and do ad detection like the olden days so that it could just mute or do volume leveling at least.

I suppose something very basic might just be an hdmi splitter to a rpi with hdmi that’ll detect ads via the black screens or “this ad will over over in 30s” overlays, then send a mute signal over CEC or something to a receiver or TV….but would be nice if it could modify the hdmi signal directly.

Thoughts on what to search for to do something like this?

  • Cobrachicken@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    If this pisses you off so much that you think about processing the HDMI streams, why don’t you directly go to sail the high seas?

    • Decipher0771@lemmy.caOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      5 months ago

      Because I think this could be neat product……kinda like PiKVM, but maybe using ML to detect ads and make it a nice community tool to block in a device independent way. like hardware Adblock.

      • just_another_person@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        5 months ago

        So you came here with zero technical expertise or knowledge about the situation, and asking for specific steps on how to do this in order to make a product? 😂🤣🤦 Hope there was some profit sharing involved somewhere.

        How would ML detect ads? Do you know the difference between ML and CV? You may want to start there.

        Get a Pihole or AdGuard endpoint and hope for the best if all you want is to remove ads.

        • Decipher0771@lemmy.caOP
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          5 months ago

          And you came here with nothing productive to add 🤣 we can both make useless comments it seems

        • refalo@programming.dev
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          edit-2
          5 months ago

          So you came here with zero technical expertise or knowledge about the situation, and asking for specific steps on how to do this in order to make a product?

          no need to be rude

  • refalo@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    take the hdmi stream from my Apple TV

    I think there’s two big obstacles here: HDCP and processing power. Most legal devices you can buy will not support simply handing over HDCP-unecrypted raw frames for you to mess with as that defeats the whole point of HDCP.

    But even if you get past that, you’re going to need at least a very high speed FPGA or ASIC, optionally also connected to a reasonably high-end PC, in order to be able to modify the stream in real-time and send it back out… certainly no current rpi can do this in even 1080p in real-time, and many devices now are going to 4k and beyond.

    • ReversalHatchery@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      5 months ago

      in order to be able to modify the stream in real-time and send it back out…

      It doesn’t need to modify. What it needs is detection, and then either blacking it out, or replacing with a simple progesssbar-like screen on a black background.

      • refalo@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        I consider “blacking it out” and “replacing” to be equivalent to “modify” in this case as you still need basically the same amount of processing power to do any of it.

  • You999@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    I think you are over complicating things. Just get an HDMI audio extractor (HDCP compliant), feed the audio into an audio compressor/limitor, then you can run the audio into your speakers or buy an HDMI audio injector to feed back into your TV.

    • lud@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Isn’t HDCP crap? If I remember correctly it’s extremely easy to buy HDCP compliant splitters and stuff that just strips all protection.