How can I test your chroma key?

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Sure, we have a chroma key filter, which can be used on a file, or a live stream. You can test a chroma key filter with Vision Mixer SDK C# sample.  
+
Chroma keying (or color keying) is currently available in two SDK editions - [[Live Chroma Key]] and [[Virtual Studio SDK]]. For DirectShow fans there's the option of licensing our [[Chroma Key DirectShow Filter]].
  
Here is a sequence of actions:  
+
The easiest way to test is via the SDK samples. Here's what you need to do:
#Download and setup Vision Mixer SDK.  
+
 
#Download sample clips to test chroma key filter on (for example this ones: http://files.medialooks.com/colorkey_small.rar ) , or use a live stream.  
+
# Download and setup [[Live Chroma Key]] or [[Virtual Studio SDK]] (the installer package is the same so it does not matter).  
#Compile and run Vision Mixer C# sample.  
+
# Download sample clips to test chroma keying on (for example these ones: http://files.medialooks.com/colorkey_small.rar ) , or use a live stream.  
#Select "New project"  
+
# Compile and run Vision Mixer C# sample.  
#Add one downloaded file to project (Press "Add file" button -> select downloaded file clip_1.1.avi -> press "Apply" button), or add a live stream from your device.  
+
# Select "New project".
#You will see the stream playback in the main window of the application. To test a chroma key filter, let's try to change a blue backround of a clip into some other color, or a custom picture.  
+
# Add one downloaded file to project (Press "Add file" button -> select downloaded file clip_1.1.avi -> press "Apply" button), or add a live stream from your device.  
#Select your device (file) in a device list (upper left corner) and press "Chroma Key" button. A chroma key properties dialog will appear.  
+
# You will see the stream playback in the main window of the application. To test a chroma key filter, let's try to change a blue backround of a clip into some other color, or a custom picture.  
#Choose a key type (for example, RGB).  
+
# Select your device (file) in a device list (upper left corner) and press "Chroma Key" button. A chroma key properties dialog will appear.  
#Set "Enabled" flag near the Chroma Key dropdown chooser ("Key 1" must be chosen)  
+
# Choose a key type (for example, RGB).  
#Choose a background of a picture in the left side of a dialog. To do that, press the left mouse button (cursor will be turned into cross) on the background area of the picture (if you used our file, the background is blue). You will see that selected area marked with black-and-white squares. Keep pressing on the blue areas, until all background is marked with black-and-white squares.  
+
# Set "Enabled" flag near the Chroma Key dropdown chooser ("Key 1" must be chosen)  
#Press “OK” button. The chroma key properties dialog will be closed.  
+
# Choose a background of a picture in the left side of a dialog. To do that, press the left mouse button (cursor will be turned into cross) on the background area of the picture (if you used our file, the background is blue). You will see that selected area marked with black-and-white squares. Keep pressing on the blue areas, until all background is marked with black-and-white squares.  
#Now the chroma key filter is working.  
+
# Press “OK” button. The chroma key properties dialog will be closed.  
#Change a background of clip in a background properties area. Choose a colored background or use a picture as a background.
+
# Now the chroma key filter is working.  
 +
# Change a background of clip in a background properties area. Choose a colored background or use a picture as a background.
  
 
[[Category: Vision Mixer SDK FAQ]]
 
[[Category: Vision Mixer SDK FAQ]]

Revision as of 12:23, 5 November 2009

Chroma keying (or color keying) is currently available in two SDK editions - Live Chroma Key and Virtual Studio SDK. For DirectShow fans there's the option of licensing our Chroma Key DirectShow Filter.

The easiest way to test is via the SDK samples. Here's what you need to do:

  1. Download and setup Live Chroma Key or Virtual Studio SDK (the installer package is the same so it does not matter).
  2. Download sample clips to test chroma keying on (for example these ones: http://files.medialooks.com/colorkey_small.rar ) , or use a live stream.
  3. Compile and run Vision Mixer C# sample.
  4. Select "New project".
  5. Add one downloaded file to project (Press "Add file" button -> select downloaded file clip_1.1.avi -> press "Apply" button), or add a live stream from your device.
  6. You will see the stream playback in the main window of the application. To test a chroma key filter, let's try to change a blue backround of a clip into some other color, or a custom picture.
  7. Select your device (file) in a device list (upper left corner) and press "Chroma Key" button. A chroma key properties dialog will appear.
  8. Choose a key type (for example, RGB).
  9. Set "Enabled" flag near the Chroma Key dropdown chooser ("Key 1" must be chosen)
  10. Choose a background of a picture in the left side of a dialog. To do that, press the left mouse button (cursor will be turned into cross) on the background area of the picture (if you used our file, the background is blue). You will see that selected area marked with black-and-white squares. Keep pressing on the blue areas, until all background is marked with black-and-white squares.
  11. Press “OK” button. The chroma key properties dialog will be closed.
  12. Now the chroma key filter is working.
  13. Change a background of clip in a background properties area. Choose a colored background or use a picture as a background.
Personal tools