Re: Quick DirectShow question
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 6 Feb 2006 13:17:56 -0500
Andrew,
I don't like this example, personally. I think you would be better
using the ISampleGrabber interface and hooking into the video stream. For
AVI files, these samples ^should^ be in Bitmap format.
There is a library called DirectShow.NET, which has a good number of the
interfaces for DirectShow defined in a .NET assembly. You can use these to
access the render graph and insert your filter.
Here is a link to a good example of how to do this:
http://www.a2ii.com/tech/directx/tutorialDS6.htm
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Andrew Bullock" <andrewREMOVEbullockTHIS@xxxxxxxxxxxxxxxxxxx> wrote in
message news:j7MFf.28627$mf2.6298@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I'm trying to use direct show to grab arbitrary frames from a DV .avi.
I'm using the PlayWnd code from this example:
http://www.codeproject.com/cs/media/directshownet.asp
Currently an IGraphBuiler is cast to an IVideoWindow, which is passed the
Handle of a picturebox to display the video in.
How can I grab the video directly into a bitmap object?
Thanks
Andrew
.
- Follow-Ups:
- Re: Quick DirectShow question
- From: Andrew Bullock
- Re: Quick DirectShow question
- References:
- Quick DirectShow question
- From: Andrew Bullock
- Quick DirectShow question
- Prev by Date: Re: App "Freezes" when getting atom feed
- Next by Date: Re: Windows service and net drive
- Previous by thread: Quick DirectShow question
- Next by thread: Re: Quick DirectShow question
- Index(es):
Relevant Pages
|