Questions tagged [directshow.net]

The purpose of this library is to allow access to Microsoft's DirectShow functionality from within .NET applications. This library supports both Visual Basic .NET and C#, and theoretically, should work with any .NET language.

The purpose of this library is to allow access to Microsoft's DirectShow functionality from within .NET applications. This library supports both Visual Basic .NET and C#, and theoretically, should work with any .NET language.

Microsoft's managed solution to allowing access to DirectShow from .NET isn’t nearly as complete as the DirectShow interfaces for C++. For developers who want the complete range of functionality of DirectShow in .NET, this library provides the enums, structs, and interface definitions to access them.

Reviewing the source code will show that there is very little executable code in this library. There are a few helper functions (mostly in DsUtils.cs), but everything else in the library is just definitions.

DirectShow.NET web site

419 questions
5
votes
1 answer

Dxsnap not displaying the video properly after first time open

I am using DirectShowLib-2005 - DxSnap example to display and capture the image from Webcam. Everything works fine with the example. But when i try to merge it with my application (i tried to call that form from my main form) it is working for the…
Olivarsham
  • 1,576
  • 5
  • 23
  • 47
5
votes
3 answers

Blackmagic Decklink Interfaces for .Net

I am searching for interfaces for a decklink video device for C# .Net using DirectShowLib.Net. It seems, there are available, because they are used here: blackmagic SDK in c# Unfortunately there is no information, which library is used and the…
Maria
  • 86
  • 1
  • 3
4
votes
3 answers

How to access an audio stream using DirectShow.NET C#

What I would like to do is to pass an arbitrary audio file to a DirectShow filtergraph and receive a (PCM audio) stream object in the end using .NET 3.5 C# and DirectShow.NET. I would like to reach the point that I can just say: Stream…
Hauke
  • 2,464
  • 3
  • 24
  • 28
4
votes
2 answers

Given a WPF Image control, is it possible to determine its HWND?

I am integrating a webcam in a WPF application. I can see the camera feed in the main window, as I pass its HANDLE on to the DirectShow functions. But this is not what I want. The main form has a Image control, where I'd like to see the output.…
Anthares
  • 1,023
  • 1
  • 13
  • 30
4
votes
1 answer

Am I using the GMFBridge.DLL to preview/capture a stream correctly?

I am trying to use the GMFBuilder so that i can preview a stream from a webcam and save it periodically without restarting the whole graph. However Im not sure if this is correct or not, I was trying to follow examples but the codes been updated and…
Grant
  • 684
  • 1
  • 7
  • 23
4
votes
3 answers

IMediaControl.Run() is successful still camera preview is black

By using Directshow.NET and c# I have developed an application which shows camera preview. Everything is working fine since 1 year but suddenly client complaint about black camera preview. After some digging to issue I come to know that anti-virus…
Amogh
  • 4,220
  • 9
  • 36
  • 91
4
votes
1 answer

DirectShow throws error on my Source Filter (UNSUPPORTED_STREAM) that i use to decrypted the buffer stream

I compiled and registered the DLL that is included in the DirectShow samples ( Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\filters\async) I modified it to decrypt the buffer as I receive it (Because the file I received is encrypted. I…
Michael Chi Lam
  • 390
  • 1
  • 13
4
votes
2 answers

Fliped cursor icon on desktop recording using directshow

Using Directshow.NET I have developed an application which will record the desktop screen, to get mouse pointer we need to paint mouse pointer by our own. So I added SampleGrabber adn in BufferCB I have written below code: public const Int32…
Amogh
  • 4,220
  • 9
  • 36
  • 91
4
votes
2 answers

VideoCamera get supported resolutions

I'm using DirectShow library (DirectShowLib-2005.dll) with C# to capture a video camera image. When I'm definig the capture object's size, I have these parameters: const int VIDEOWIDTH = 640; // Depends on video device caps const int VIDEOHEIGHT =…
K. Roland
  • 326
  • 2
  • 11
4
votes
2 answers

DirectShow cast sampleGrabber to ISampleGrabber

I have a strange error that I cannot wrap my head around. I have a graph created in a separate thread that runs and I'm trying to access the IBaseFilter sampleGrabber outside the thread which worked in a console application but I moved the code to a…
bl4kh4k
  • 1,400
  • 4
  • 18
  • 32
4
votes
2 answers

Any sample project use DirectShow.NET library to capture image and capture video in the same project?

Is there any sample project use DirectShow.NET library to capture image and capture video in the same project?
user1301587
  • 395
  • 4
  • 9
  • 22
4
votes
3 answers

Audio Sync problems using DirectShow.NET

I have started a thread on this at DirectShow.NET's forum, here is the link http://sourceforge.net/projects/directshownet/forums/forum/460697/topic/5194414/index/page/1 but unfortunately the problem still persists... I have an application that…
keisar
  • 5,026
  • 5
  • 24
  • 26
3
votes
2 answers

directshow : display graph result onto wpf window

I am a beginner directshow programmer I am trying to make WPF App that contain (live feed) from certain web camera and then I can snap a picture from this "live feed" I defined a GraphBuilder and I did as following : static void…
Amer Sawan
  • 1,866
  • 1
  • 21
  • 35
3
votes
1 answer

How to capture audio and Video using DirectShow NET?

I'm trying to learn C# net. Cause I already know OO PHP some Java and C++ (which i never really used because of manual memory handling) I was thinking I'm going to start with something useful instead of another book full of artificial problems. I…
Lord_JABA
  • 2,285
  • 4
  • 25
  • 49
3
votes
1 answer

Is there a way to fake a DirectShow filter in a program?

I have an IP Camera that receives a char buffer containing an image over the network. I cant access it until i setup the connection to it in a program. I am trying to dissect windows source filter code and im not going very fast so i thought i'd ask…
Grant
  • 684
  • 1
  • 7
  • 23
1
2
3
27 28