• 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

    [ANSWERED] Play movie clip only while SPOUT not getting signal?

    How To... ?
    4
    5
    77
    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 Woland

      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 Woland 3 Replies 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
          • Woland
            Woland Tech Staff @Reload2024 last edited by Woland

            @reload2024

            The lowest-tech way to do it is to treat the incoming frames as a "heartbeat". If you connect a Syphon/Spout Receiver actor's output to a Trigger Delay actor, it will continuously reset the timer on the Trigger Delay actor so long as it's receiving new triggers. When the video feed drops out and you aren't receiving any new frames, the Trigger Delay's timer will run out and it will send a trigger that you can use to trigger whatever actions you want to happen if the feed has dropped out.



            Here's an example file where I used Isadora to simulate the external video feed and the stand-in content that gets crossfaded to. ----> video-heartbeat-detection-with-auto-crossfade-4.0.9-2025-09-15.izz


            Full view of Control Panel and Actors when external feed is live:


            View of Actors when external feed is live:



            Full view of Control Panel and Actors when external feed is dead:


            View of Actors when external feed is dead:


            TroikaTronix Technical Support
            New Support Ticket: https://support.troikatronix.com/support/tickets/new
            Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
            Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
            Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

            | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

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

              @reload2024

              You may also find these User Actors helpful, as they essentially rely on the same concept: deadman-x27-s-user-actors.zip

              TroikaTronix Technical Support
              New Support Ticket: https://support.troikatronix.com/support/tickets/new
              Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
              Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
              Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

              | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

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