Question Microsoft LifeCam libraries

maxhertz

Member
Joined
Jul 21, 2011
Messages
8
Programming Experience
10+
Anyone had any experience of using the MS LifeCam .net webcam libraries/API or know where to find any documentation?
I have just bought a LifeCam Cinema webcam and noticed that there are a whole bunch of .net libraries in the application folder:

Microsoft.LifeCam.Application.dll
Microsoft.LifeCam.Camera.dll
Microsoft.LifeCam.Controllers.dll
Microsoft.LifeCam.Framework.dll
Microsoft.LifeCam.FxMgr.dll
Microsoft.LifeCam.Interfaces.dll
Microsoft.LifeCam.Interop.dll
Microsoft.LifeCam.Logging.Core.dll
Microsoft.LifeCam.Logging.dll
Microsoft.LifeCam.PubMgr.dll
Microsoft.LifeCam.Streamer.dll
Microsoft.LifeCam.Views.dll
Microsoft.LifeCam.Webcam.dll

They seem to be for .net 3.5, using WPF.
The Microsoft.LifeCam.Streamer library provides a WPF control called PreviewView which seems to provide a live view of the output from the camera, although I have not managed to get it to work.

It can be seen by using something like:

HTML:
<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="512" Width="1073"
    xmlns:strm="clr-namespace:Microsoft.LifeCam;assembly=Microsoft.LifeCam.Streamer">
    <strm:PreviewView Name="prev1" />
</Window>

It would seem that it needs to be initialised using the Streamer class, passing a reference to the PreviewView.

The application that I would like to use them for is to occasionally save the last two minutes of video, to a wmv file, in a similar way to the provided LifeCam application does.

thanks

John
 
Last edited:
Changing
StartCapture(cap_info)
to:
CaptureFrame(cap_info, 1)
seems to work.
StartCapture would seem to be solely for capturing video to file.
 
HI there.....

Any chance of providing us with a full version. Really struggling to get this up and running.

Any help would be really great.

Thanks

Changing
StartCapture(cap_info)
to:
CaptureFrame(cap_info, 1)
seems to work.
StartCapture would seem to be solely for capturing video to file.
 
Back
Top