• 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

    Most efficient way to convert a image stream to a video stream?

    How To... ?
    3
    12
    4790
    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.
    • mark
      mark last edited by

      Dear DusX,

      Try the attached patch as an example -- it uses a table actor and quickly switches between the two inputs, which are in fact the same image. This causes a continuous stream of the image at the output, and should not add noticeable CPU.
      Best Wishes,
      Mark

      f5219e-push-still-image.izz

      Media Artist & Creator of Isadora
      Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

      1 Reply Last reply Reply Quote 0
      • C
        ckim Beta Platinum last edited by

        thanks.ย  this solve my PUSH problem too.ย  ck

        MacBookPro,

        1 Reply Last reply Reply Quote 0
        • DusX
          DusX Izzy Guru last edited by

          Thanks Mark.. I will give this a go. I figured there must be a less CPU intense method.

          ๐ŸŽ›๏ธ TroikaTronix Professional Services
          https://troikatronix.com/professional-services

          ๐ŸŽซ Support Tickets
          https://support.troikatronix.com/support/tickets/new

          ๐Ÿ’ป Add-ons
          https://troikatronix.com/add-ons/?u=dusx

          ๐Ÿงช GitHub Projects
          https://github.com/rwebber

          ๐Ÿ–ฅ๏ธ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

          1 Reply Last reply Reply Quote 0
          • DusX
            DusX Izzy Guru last edited by

            Interestingly, this looked like it should work, but if I run 2 of these 'streams' into a video mixer with the mix amount ramping upto 100 pausing X secs and then ramping down to 0 and waiting X seconds I still get the broken behavior.
            I get video output while the value is ramping, but once it is at either 0 or 100 % the video signal drops.
            By mixing a photo stream with a black video signal with values switching between 0 and 0.001 I can create a solid stream that doesn't get dropped when going into the same crossfade mix I described a second ago.
            Is there anything that distinguishes a video stream from an image stream, that might be changed when a photo stream is mixed with a video stream?
            Simply trying to create a video stream by sending multiple images streams doesn't seem to convince the Video Mixer actor?

            If you need more detail I can create a minimized example patch.

            ๐ŸŽ›๏ธ TroikaTronix Professional Services
            https://troikatronix.com/professional-services

            ๐ŸŽซ Support Tickets
            https://support.troikatronix.com/support/tickets/new

            ๐Ÿ’ป Add-ons
            https://troikatronix.com/add-ons/?u=dusx

            ๐Ÿงช GitHub Projects
            https://github.com/rwebber

            ๐Ÿ–ฅ๏ธ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

            1 Reply Last reply Reply Quote 0
            • DusX
              DusX Izzy Guru last edited by

              Playing a little more I have found that I get a small performance increase by using the Video Fade actor rather than the Video Mixer.
              Since the fade is switching from 0 to 0.001 percent at the stages FPS, there is no visible effect, which is great, however; I suspect that a method that doesn't process the video data would be more effective.

              ๐ŸŽ›๏ธ TroikaTronix Professional Services
              https://troikatronix.com/professional-services

              ๐ŸŽซ Support Tickets
              https://support.troikatronix.com/support/tickets/new

              ๐Ÿ’ป Add-ons
              https://troikatronix.com/add-ons/?u=dusx

              ๐Ÿงช GitHub Projects
              https://github.com/rwebber

              ๐Ÿ–ฅ๏ธ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

              1 Reply Last reply Reply Quote 0
              • mark
                mark last edited by

                Dear DusX,

                Well, I guess I need to understand why there is a problem in the first place. Even when the video signal "drops" as you say it, there is a valid image at the output. I made the Video Mixer patch you describe. With the mix at 0 or 100%, the output wire is red (not sending anything) because the image isn't changing. But you can see that there is a valid video there by hovering the mouse over the output wire -- you'll see the image come up.ย 
                For the record, the answer to "Why does Isadora "drop" the connection?" is to be more efficient. There's no need for a "downstream" module to process the image if it hasn't actually changed.
                Can you send me a simple example where this behavior is problematic for you? I need to see the situation clearly to help you solve the problem.
                Best Wishes,
                Mark

                Media Artist & Creator of Isadora
                Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                1 Reply Last reply Reply Quote 0
                • DusX
                  DusX Izzy Guru last edited by

                  I figured that it was dropped to save CPU, as it makes sense an image doesn't change.
                  I will put a sample patch together.. ASAP.

                  ๐ŸŽ›๏ธ TroikaTronix Professional Services
                  https://troikatronix.com/professional-services

                  ๐ŸŽซ Support Tickets
                  https://support.troikatronix.com/support/tickets/new

                  ๐Ÿ’ป Add-ons
                  https://troikatronix.com/add-ons/?u=dusx

                  ๐Ÿงช GitHub Projects
                  https://github.com/rwebber

                  ๐Ÿ–ฅ๏ธ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

                  1 Reply Last reply Reply Quote 0
                  • DusX
                    DusX Izzy Guru last edited by

                    OK, I have to start off by apologizing.. seems that the behavior I am seeing is due to a work around I had put in place for projectors, to auto hide if video stream was cut.
                    But now that I understand more about your pull system, am I correct in assuming that a projector will not use cpu, if no video is supplied? How does this work if a image stream is present?
                    I was using a tap tempo test on the video feed to control the on/off of the projector. This was working very well until now since all my media was video, I had only just added a picture player/slide show builder, this is how the issue developed.

                    ๐ŸŽ›๏ธ TroikaTronix Professional Services
                    https://troikatronix.com/professional-services

                    ๐ŸŽซ Support Tickets
                    https://support.troikatronix.com/support/tickets/new

                    ๐Ÿ’ป Add-ons
                    https://troikatronix.com/add-ons/?u=dusx

                    ๐Ÿงช GitHub Projects
                    https://github.com/rwebber

                    ๐Ÿ–ฅ๏ธ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

                    1 Reply Last reply Reply Quote 0
                    • mark
                      mark last edited by

                      Yes, a projector will use not use CPU to render an image if no image is present. There will be a tiny (and I mean tiny) CPU usage if you are changing the various input parameters -- but if no video stream is present, nothing is sent to the graphics card, etc.

                      Best Wishes,
                      Mark

                      Media Artist & Creator of Isadora
                      Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                      1 Reply Last reply Reply Quote 0
                      • DusX
                        DusX Izzy Guru last edited by

                        OK, think I have the best of both worlds now.. I am using your table solution at 1/4 the stage frame-rate to send a message, so that if any patching (uses broadcast and listen) changes, the new modules get the update.
                        I need to do more testing but this seems to be a good solution for my setup.

                        thanks for the help Mark.

                        ๐ŸŽ›๏ธ TroikaTronix Professional Services
                        https://troikatronix.com/professional-services

                        ๐ŸŽซ Support Tickets
                        https://support.troikatronix.com/support/tickets/new

                        ๐Ÿ’ป Add-ons
                        https://troikatronix.com/add-ons/?u=dusx

                        ๐Ÿงช GitHub Projects
                        https://github.com/rwebber

                        ๐Ÿ–ฅ๏ธ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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