Uri Goren
Uri Goren

Reputation: 13690

Transparent Background Color in Video Clip

I would like to play a video clip within my WPF application, and make the green color in the video transparent.

How can this be done ?

Sample Video: http://www.youtube.com/watch?v=2XJVkAOEjp0

Upvotes: 0

Views: 1607

Answers (1)

Flot2011
Flot2011

Reputation: 4671

You need to use shaders as explained in this SO question.

WPF Pixel Shader library won't compile out of the box, you will need to make some changes as explained here, in the post before last.

Upvotes: 1

Related Questions