• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Play movie clip only while SPOUT not getting signal?

    How To... ?
    3
    3
    58
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Reload2024 last edited by

      I have a Unity game that I output to my video wall via Spout. I'd like to have Isadora play a nice effect on the walls whenever the signal from Unity stops, and in particular at the beginning as a sort of elevator music waiting for the game to start outputting.  Is there any way to detect if spout is getting a signal or not?  Maybe an actor between spout and the projector that can tell if something is playing?

      DusX 1 Reply Last reply Reply Quote 0
      • L
        leadedge last edited by

        @Reload2024 

        You might have success with "SpoutLink".

        It was created for s different purpose but should do the job for you. It will receive from Unity, then output as "SpoutLink" which you can show on  your video wall. If you have Isadora with Spout output running at the same time, SpoutLink will instantly switch to it when the Unity game closes.

        1 Reply Last reply Reply Quote 1
        • DusX
          DusX Tech Staff @Reload2024 last edited by

          @reload2024

          A couple ways I might approach this. 

          1. If possible have Unity send a signal to Isadora (OSC probably). Use this signal to fade in/out your Isadora video.
          2. Test your Spout stream. What does Isadora 'see' when the stream is stops?
            1. If the link from the Spout Receiver becomes in active, you can use this to sense when its off by connecting a Tap Tempo actor, it will output the framerate of the incoming video feed when connected. I sometimes connect a Pulse at 2hz to provide a reading when there is no input. Another option that works for feeds that stop (don't read as triggers anymore) is my 'Value Decay'  actor, (TROIKATRONIX : ISADORA - DX – Value Decay) if you trigger a value (say 5) into it will every frame it will output a positive value, until the input stops, then it will count down (you can configure this to be pretty fast) until zero, and you can catch that moment using a Comparator actor.
            2. If the Spout link doesn't stop triggering, but the video feed just goes black, you can use a Calc Brightness, which will output a brightness >0 when live (as long as its not a black stream) and will output 0 once fully black. So again you can test for this output value with a Comparator.

          Ideally, you get a signal from Unity, so you know its status, but both methods of detecting the video state have worked for me in the past.

          Troikatronix Technical Support

          • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
          • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
          • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

          Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post