How can I test your chroma key?
From AVObjects Knowledge Base
(Difference between revisions)
(New page: 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. Here is a sequence of actions: #Downl...) |
Revision as of 12:17, 5 November 2009
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.
Here is a sequence of actions:
- 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.
- Compile and run Vision Mixer C# sample.
- Select "New project"
- 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.
- 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.
- Select your device (file) in a device list (upper left corner) and press "Chroma Key" button. A chroma key properties dialog will appear.
- Choose a key type (for example, RGB).
- Set "Enabled" flag near the Chroma Key dropdown chooser ("Key 1" must be chosen)
- 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.
- Press “OK” button. The chroma key properties dialog will be closed.
- 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.