Login
 
Archive
Links
Search
Blog List
There are no categories in this blog.
 
Nov 3

Written by: Jeremiah Morrill
11/3/2008 9:04 AM 

Capture

I've been working a MediaDetector control over the weekend.  It will be a simple control to easily detect what type of media you have, codecs, streams, etc.  It also allows you to get thumbnails for video at any specific time.  Since the control is not finished, but the the helper class  is, I have commited that class to the MediaKit.

It's pretty simple to use:

MediaDetector det = new MediaDetector();
det.LoadMedia(@"c:\myvideo.avi");
for (int i = 0; i < 100; i++)
{
   BitmapSource bitmap = det.GetImage(TimeSpan.FromSeconds(i));
}

I'll let you guys know when the WPF control is ready.

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
  Minimize
Text/HTML Minimize
Copyright 2007
Downloaded from DNNSkins.com