Description:
|
Enables/disable add effect in real time. Default is 0 , no effect. You may select 0-5. You must call this property after called Start method.. The effect image files found in "Images" folder, For deployment: copy Images folder into the same folder as ChromaKeyFilter.dll
1 - Flower 2 - Birthday 3 - Heart 4 - Romance 5 -Star
|
Example:
|
This Visual Basic set the effect:
Private Sub Capture_Click() VideoCap1.CaptureMode = False VideoCap1.CaptureAudio = True VideoCap1.EffectChromaKeyCapAudioDevice = False VideoCap1.EffectType = 5 VideoCap1.EffectChromaKeyVideoFile = "c:\test\yourvideo.mp4" VideoCap1.EffectChromaKeyVideoIsBg = False VideoCap1.EffectChromaKeyKeepLastFrame = True VideoCap1.EffectChromaKeyFreezeOverlay = False VideoCap1.EffectChromaKeyDisplayMask = False VideoCap1.EffectChromaKeyOverlayX = 0 VideoCap1.EffectChromaKeyOverlayY = 0 VideoCap1.EffectChromaKeyOverlayScale = 50 VideoCap1.Start VideoCap1.EffectChromaKeyBgColor = RGB(0, 255, 0) VideoCap1.EffectChromaKeyEffect = 1 End Sub
|