Skip to main content
Microsoft Silverlight
Home Forums Silverlight Design Video and Media transparent background in a video possible?
16 replies. Latest Post by rtwPhoenix on June 13, 2009.
(0)
DanielaK
Member
0 points
1 Posts
05-24-2007 8:18 AM |
Hello,
sorry for my english, but I'mgGerman.
When I recorded a video in front of a greenscreenbox or a bluescreenbox is it possible to get this green or blue background transparent? As far as I know I cannot encode a wmv-video with an alphachannel to get a transparent background. Is there any other way to do this? I want to display pictures behind a videostream.
Thanks for your help.
Daniela
Bill Reiss
Contributor
4946 points
943 Posts
07-25-2007 5:59 PM |
*bump*
This is commonly called chroma key, and I heard at one point that the Silverlight team was actively working on this, but now I can't find reference to that. Is there any word on when/if this will be supported?
Bower
14 points
7 Posts
09-30-2007 10:56 PM |
*double bump*
I'm thinking about using video sprites and a chroma-key would be just the thing I need.
Gavin JW
54 points
10 Posts
10-02-2007 8:23 AM |
* triple bump *
I have a project coming up that requires this as well, does anyone have any more info or links about this?
10-02-2007 8:34 AM |
The answer I got was to merge the background with the video in a video editing tool. In one of the MIX presentations, one slide said it would be available in 1.1, but it looks like it will be some time after the actual 1.1 release now.
10-02-2007 9:54 AM |
Thanks Bill,
That certainly is an option, unfortunately we want to allow the image in the background to be dynamic so that it can be re-skinned by the client without having to use a video editing suite. Looks like we might have to stick to white back drops and be clever with our clipping paths.
Brian Knapp
4 points
2 Posts
04-14-2008 12:26 PM |
Merging the background of your project with the background of the video is a terrible and inefficient idea. Silverlight should be able to handle green/blue screen video without too much problem. Hell if it can do crazy transforms and full video alpha channels, it should be able to do chroma keying.
Magikos
222 points
144 Posts
09-25-2008 12:16 PM |
My project requires the use of green screen (alpha channel) video - I hope Silverlight has plans to compete with Flash on this. Currently our solution involves using flash components over Silverlight - not a desirable solutions. :(
loarabia
80 points
25 Posts
10-07-2008 9:26 PM |
Silverlight today (1 or 2) does not support alpha channel video. Depending on what you are trying to do, there may be a workaround that could apply.
The Silverlight team is listening to you requests here and I do understand the pain that not having a feature can cause (I've wanted this feature myself). However, there are hundreds of requests like this (maybe even thousands) and the team has to make choices based on the data and constraints we are given with each release (unless someone has a timemachine).
One of the things that helps us analyze requests like this is knowing a bit more about the scenario. In other words, not just "I want to chroma-key" but "I want to chroma-key to make a weather map display" or "I want to chroma-key so that a recording of a person can walk all around my website and show people how to use it".
Of course, after we understand what you are trying to do, then comes the questions of how are you trying to do it? Does the video have alpha premultiplied? Are you planning on doing an honest to goodness chroma-key which indicates that you'll do background subtraction with some form shader type code? Are you planning on passing in multiple videos and having the runtime automatically chromakey? etc.
10-08-2008 7:34 AM |
If you watch the SciFi channel, and ever noticed the SciFi logo in the lower corner, or noticed characters from a show like Ghost Hunters walk onto the screen - that is the effect we need.
Using industry standard chromakey video.
slyi
Participant
888 points
281 Posts
10-13-2008 7:14 PM |
Not natively but did you see http://silverlight.net/forums/p/17230/71330.aspx#71330
GearWorld
937 points
1,249 Posts
03-01-2009 5:25 PM |
:) Whatever you call it, Making myself with a BLUE background behind me and having the video showing just me un my page whereever I put it, would be totaly awesome. Any news on that ?
What I don't know yet is that when your movie is done un Movie maker is that means when put on your page there will really have a transparent background ?Does Encoder 2 have any feature easier to do than movie maker ?
ggibson1
2 points
05-04-2009 12:57 PM |
If you go to www.wowivideo.com you will see a technology I made using Flash 8 and their built in video transparency.
1) We record the video with a green screen or blue screen.
2) Use an app like Sony Vegas or Adobe AfterEffects to chroma key and output as a MOV file.
3) We then use an app that converts the MOV with alpha channel to a FLV as well as compress and resizes it.
4) We just play the FLV on top of a web page.
I would have used SilverLight to do this in addition to Flash, but SilverLight video does not support it so I made a Flash version only.
05-05-2009 6:42 PM |
By the way, you have 2 FOR on your RED ARROW,it's a very nice work indeed. Can't wait for Microsoft to incorporate an easy way in Encoder or any easy way to set a transparency on a video.
mscherotter
135 points
23 Posts
05-14-2009 1:17 PM |
Here is a technique to do transparent video in Silverlight 3 with the new Pixel Shaders:
http://blogs.msdn.com/synergist/archive/2009/05/14/alpha-video-with-silverlight-3-pixel-shaders.aspx
http://code.msdn.microsoft.com/SL3ChromaKeyEffect
Michael
05-14-2009 4:22 PM |
That's a good start
rtwPhoenix
42 points
06-13-2009 10:54 AM |
I love WowIVideo have always been a fan of this technology. You made it sound so simple to do. With all the alpha channel on sites these days you would of thought SL folks would of done this and adopted it to the media player as well. I see a lot of potential with SL but it always seems like something is missing I need to use. Maybe SL 3 will be a much better solution.
Nice job with WowIVideo
RTW