Remove video background

  • Hi Quentin Icky, 

    We can definitely help you with your creation, but the example you linked to is a broken link. Can you  screenshot the Lens? 

    Cheers,

    Neha 

    Comment actions Permalink
  • Hi Neha,

     

    Sorry I just jaw you message. Strange for the link, it worked few days ago but now I agree it's not working anymore.

    In the posted video, there is a Lebron James 3D model who get out from a poster and come to "real world". I would like to create the same effect with a video with transparent background, but it seems to not be possible. 

    My idea was to scan an image, and then someone exit from this image to make hello to people who film. I tried with a png sequence and a .gif, but the result is not very clean.

    If you have another idea it could be great but I think there is nothing that I can do without 3D model.

    Thanks

    Quentin

    Comment actions Permalink
  • Hi Quentin,

    You can do this by having a second video which is used as a mask. The second video should be the same as the first, except that the part you want to be transparent will be black, and everything else white. 

    Then, create a new unlit material:

    Select it, and in the Inspector panel, set its blend mode to normal and enable Opacity Texture:

    Set the Base Texture as your video, and the mask video as the Opacity texture.

    Let me know if you need any clarification.

    Cheers!

    Jonathan 

    Comment actions Permalink
  • Hi Jonathan, 

    Thanks for your response, but I'm not sure to understand this part of your explanations : "the part you want to be transparent will be black, and everything else white"

    The goal is to scan a big poster of someone with your phone, and then you will see the guy goes out from the poster and dance in front of you.

    Which part should be black or white in this exemple ? 

     

    Thanks !

    Comment actions Permalink
  • This works great to an extent, but there is a little drift between the showing video and opacity texture any thoughts on how to sync them?

    Comment actions Permalink
  • I have the same latency problem. do you have any solution for sync ?

    Comment actions Permalink
  • The link will work if you highlight it and right click and pick, go to...
    Maybe the Segmentation options may help?
    I used to use Lens Studio a while back and only now getting back into it again, so I could be wrong or things have changed.

    Comment actions Permalink
Have a comment?

Please sign in to leave a comment.

We're here to help! We just need a little bit of information...

What system are you using?

Have you downloaded the latest version of Lens Studio?

Please download the latest version of Lens Studio. If you still run into this issue, please come back and report it!

Is this issue causing Lens Studio to crash?

What system do you run Lens Studio on?

Version

Graphics

Follow the next steps to help us solve your issue:

  • Copy and paste this text into your TerminalCommand Window
    open ~/Library/Preferences/Snap/Lens\ Studio/ %LOCALAPPDATA%\Snap\Lens Studio Copy Text
  • Press ReturnEnter to run the command. The Lens Studio folder will automatically open
  • Prepare to upload your files: zip the "Log" Folder by right-clicking and choosing "compress."
    Locate the Log.txt file right above it.

    Attach a screenshot of the issue:

Name:

Email:

What is this most relevant to?

Please enter a brief description of your issue:

Thanks for submitting this issue.

Unfortunately, it's likely due to the operating system or hardware you're using – since they don't meet the system requirements for Lens Studio.

Still, we hear you loud and clear, and are logging the issue in case there's ever a workaround we can provide!

Minimum Requirements

Operating System: Windows 10 (64 bit); MacOS 10.11+

Hardware: Minimum of Intel Core i3 2.5Ghz or AMD Phenom II 2.6Ghz with 4 GB RAM; Intel HD Graphics 4000 / Nvidia GeForce 710 / AMD Radeon HD 6450 or better; screen resolution of 1280x768 or higher

We'll try to resolve this issue as soon as possible. Thanks for letting us know about it!

Keep an eye out for a followup email from us. We may have a couple more questions for you, or we might already have a solution to offer.

Happy creating!