• 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

    Mix video in only in area where there is other image...

    How To... ?
    4
    14
    1711
    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
      Reinhard last edited by

      I would probably just map the video to the desired location, or duplicate the image with a black background and a white rectangle where the picture is and use this for alpha mask.

      mbp 16", 2021, m1pro, 16gb, 12.6 / 6core trashcan, 11.2 / youngest Izzy

      plem 1 Reply Last reply Reply Quote 0
      • plem
        plem @Reinhard last edited by

        @reinhard

        Would be an approach. Unfortunately the image is quite irregular so duplicating it with a rectangle is rather impossible...

        OSX 10.15.7, MacBook pro, 2,6 GHz Intel Core i7, Radeon Pro 560X 4 GB
        Intel UHD Graphics 630 1536 MB

        D 1 Reply Last reply Reply Quote 0
        • D
          DillTheKraut @plem last edited by DillTheKraut

          @plem

          The issue here is, how to tell Isadora (or any other video manipulating tool) which area to ditch or make transparent. I guess the best way would be to edit every video manualy and replace the black area with an alpha channel.
          A little bit faster but more complex to program option, would be to create an alpha mask for every clip you use and combine these with the alpha mask actor.

          Another possibility would be to try the luma key actor, but as black is often a part of pictures, it probably will key these parts as well.

          1 Reply Last reply Reply Quote 0
          • bonemap
            bonemap Izzy Guru @plem last edited by bonemap

            @plem said:

            image against a blank background (no video, so no black or white or anything

             Hi Peter,

            Some good advice already suggested.

            You can also look at making a clean mask inside your Isadora patch. Use the Threshold actor with your existing video file, the one you want to use as an alpha channel. Run your mask video thru Threshold and convert the irregular shape into a solid black or white to use as an alpha mask.


            Best Wishes

            Russell

            http://bonemap.com | Australia
            Izzy STD 4.2 | USB 3.6 | + Beta
            MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
            Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
            A range of deployable older Macs

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

              The direction is clear. i will try going there on monday.

              But for the sake of argument: wouldn’t it be nice to just make a shader where you multiply the new video with 0 or 1, based on the the presence of image in the source or not. I’m not a shader specialist, but I think that could be quite simple for someone that is.

              OSX 10.15.7, MacBook pro, 2,6 GHz Intel Core i7, Radeon Pro 560X 4 GB
              Intel UHD Graphics 630 1536 MB

              D 2 Replies Last reply Reply Quote 0
              • D
                DillTheKraut @plem last edited by

                @plem

                Ok, I'm curious now. Maybe we have an misunderstanding. The 'Black frame' around your video clips, is it actualy IN the clip? Which means you don't only see it in Isadora but in any mediaplayer, like Qicktime, Windows Media Player or VLC?

                Or did you scale it down / zoom it in isadora somehow, like with the size value of the projector actor!?

                This is fundamental to know!

                1 Reply Last reply Reply Quote 0
                • D
                  DillTheKraut @plem last edited by DillTheKraut

                  @plem said:

                  But I have this video where there is an image against a blank background (no video, so no black or white or anything).

                  Are you referring here to an Alpha Channel?
                  Maybe it is obvious for you, but for the sake of not talking in rounds: Unless you use special codecs that support the so called Alpha channel, like Prores 4444 or HAP Alpha, every 'black' part in your video is just that: black! If you want parts in your video hardcoded 'transparent', you need to render it with an alpha channel beside the RGB channels.

                  1 Reply Last reply Reply Quote 0
                  • D
                    DillTheKraut @plem last edited by DillTheKraut

                    @plem said:

                    But for the sake of argument: wouldn’t it be nice to just make a shader where you multiply the new video with 0 or 1

                     

                    @plem

                    If it still is what we understood from the beginning, and it is a videoclip with true (non Alpha) black, the luma key is kind of exactly doing what you asking for.
                    But as black in a usual video is black, it can not distinguish between the black in the outer area and a black pixel in between the colored image, as there is no information about a difference. Every black pixel in a frame does have the RGB values of 0 0 0 (255 255 255 is white).
                    When edited (while production in an editing Software, like Premiere) the parts where you don't put any content, there is truly nothing there. But if you render it to a conventional codec, every empty space is converted to RGB black (0 0 0).
                    If you want to differentiate between black and 'nothing' you have to render it with the Alpha information, which is one more bit (byte actualy) that is added to the RGB (0 0 0 0). but as told before, this is only supported by certain codecs.

                    plem 1 Reply Last reply Reply Quote 0
                    • plem
                      plem @DillTheKraut last edited by

                      @dillthekraut

                      We’re talking about an 3d generated image within Isadora with no background, the famous checkerboard. And would life be as simple that I can use a lumakey to fill only that? Going to try that first thing in the morning. (Maybe then I only have to invert the mask).

                      Thanks

                      OSX 10.15.7, MacBook pro, 2,6 GHz Intel Core i7, Radeon Pro 560X 4 GB
                      Intel UHD Graphics 630 1536 MB

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        DillTheKraut @plem last edited by

                        @plem

                        this sounds totaly different then "I have this Video". Maybe it is helpful to show a screenshot of your patch or upload the patch itself.
                        If the picture is generated in Isadora itself, there are several possibilties to handle the 'background'. One is the 'layer' value of the projector actors.
                        But it seems to me, that we are missing some basic information about what your setup is about.

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

                          And, of cause, as usual, the solution is simple. 

                          Thanks to all. Peter

                          (PS. Still think that a simple shader with simple multiplication tricks could do flexible wonders too.)

                          3dBackground.izz

                          OSX 10.15.7, MacBook pro, 2,6 GHz Intel Core i7, Radeon Pro 560X 4 GB
                          Intel UHD Graphics 630 1536 MB

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            DillTheKraut @plem last edited by DillTheKraut

                            @plem

                            Ok, as expected some misunderstandings.
                            In this case, you could use the 'texture map' input of the 3D Player. Just conntect the Background color actor to it.
                            Then set the 3D Light Orientation actors 'specular' color to something darker or even set the 'lighting' value of the 3D Player to off.

                            If you just want to replace the 3D object with a flat image, you can go with any color and replace it with the key actors (luminance or chroma) or again with the alpha actors. I don't know how it could be any simpler.

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

                              The problem arose when I wanted to do that trick not on one 3d player but on a virtual stage where different players were combined. With “get stage image” I got the video back in Isadora, and there I wanted to do the mixing.

                              But anyway, it’s all good now. Thanks for the tips!

                              Peter 

                              OSX 10.15.7, MacBook pro, 2,6 GHz Intel Core i7, Radeon Pro 560X 4 GB
                              Intel UHD Graphics 630 1536 MB

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