Prevent display of ActiveMovie Window

Mar 6, 2012 at 5:42 PM

Hi there,

I have the following UserControl:

<UserControl x:Class="CapturePresenter.CapturePresenter"    xmlns=""    xmlns:x=""    xmlns:WPFMediaKit="clr-namespace:WPFMediaKit.DirectShow.Controls;assembly=WPFMediaKit"    >
    <WPFMediaKit:VideoCaptureElement x:Name="videoCapElement"

LoadedBehavior="Manual" DesiredPixelWidth="800" DesiredPixelHeight="600" Stretch="Uniform" FPS="24" />



Then I have this control inside a parent control like this:

<Window x:Class="MainWindow"




        <Grid x:Name="G_CapturePresenter" Style="{DynamicResource S_CapturePresenterGrid}" >            <capturePresenter:CapturePresenter x:Name="M_capturePresenter" />        </Grid>



The code to start capture is:

public void SetSource(string deviceName) {

DsDevice device = GetVideoDeviceByName(deviceName);

if (device != null) {

videoCapElement.VideoCaptureSource = device.Name;





This works fine but if I change DesiredPixelHeight or DesiredPixelWidth before start capture, it is created a window with title "ActiveMovie Window".

Anyone knows how to hide this window or why it is created?



Nov 28, 2012 at 12:36 PM

hello together

i have the same problem.

Did you find a solution?



Nov 28, 2012 at 12:51 PM


I did not find a solution yet. I used a control from Expression Encoder SDK to display captured video.