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
0
votes
1 answer

DirectShow VB.net can't change recording format

I'm using direct show to try and capture a webcam stream in to my vb.net program. Heres the subroutine running which works: Private Sub CaptureVideo() Dim hr As Integer = 0 Dim sourceFilter As IBaseFilter = Nothing …
MissCoder87
  • 2,669
  • 10
  • 47
  • 82
-1
votes
1 answer

Directshow.net not displaying overlay image on video

In my Directshow.net app I am drawing a timestamp on each frame using the BufferCB. The timestamp is displayed on the screen and in snapshots but not when written to an AVI file. What am I missing? int ISampleGrabberCB.BufferCB(double SampleTime,…
-1
votes
1 answer

How to add a WmAsfReader Filter into the directshow filtergraph using c#? Using the qasf.dll right?

I create a Directshow Filtergraph using c#,but i dont know how to add a WmAsfReader Filter which can decode the video file into the filtergraph. Can anybody help,thanks! The code below is what i have done. /*MediaUriPlayer*/ protected virtual void…
-1
votes
1 answer

Memory Leak in ISampleGrabber

I have implemented this below code. Basically I'm trying to grab a snap from a camera. The code works well for the integrated cam but when an external cam is attached the issue starts. It takes first snap only and the second snap never comes. Code…
Shivendra
  • 159
  • 1
  • 7
-1
votes
2 answers

Using DirectShow API from Silverlight

We would like to leverage the codec capabilities of DirectShow from Silverlight. Is this possible?
Joy
  • 69
  • 5
-1
votes
1 answer

How can i change resolution in real time with the Elgato preview?

I'm using directshow to preview live video from the Elgato device connected to the usb. In form1: private void button3_Click(object sender, EventArgs e) { Elgato_Video_Capture evc = new Elgato_Video_Capture(); …
-1
votes
1 answer

Encode video stream using Direct Show

I want to Encode video stream using H264,I use H264 DirectShow library to encode the video but I did not work.I have searched but I have not get any result is there any link to help?
Miral
  • 79
  • 11
-1
votes
1 answer

how to compress the uncompressed avi by ffmpeg or DirectShow.net

I have a uncompressed avi file and i want to compress it by program . how to compress the uncompressed avi by ffmpeg or DirectShow.net ? Thanks!
-1
votes
2 answers

How to create a direct show filter for vp9 video deocder

I am new to Direct show. I have an C solution of vp9 decoder and want to create an direct show filter which can decode and play my compressed file. Can some body please help me on how to add these filters to the Direct show which allows me to decode…
-1
votes
1 answer

Why i get bad image result from my webcamera?

I am getting wrong image result from SampleGrabber filter. Instead of colourfull image, image is in grayscale with red/green pixels between and image is repeated twice horizontaly. I had to forget something important. using System; using…
wh1sp3r
  • 1,640
  • 2
  • 17
  • 30
-1
votes
1 answer

How do I use the CreateFilter method in directshow.net?

Would someone just show me an example of how this createfilter method in directshow should work? I see that a string is passed as a parameter but I don't understand what that string exactly is. I only understand the GUID part of it.
Josh
  • 13,530
  • 29
  • 114
  • 159
-1
votes
1 answer

Capture image and record video from specific camera

I am developing a project with C# which is using the directshow.net library. In this project I am using three web cams and I am able to find all three using the library. The problem is that I don't know how to capture image or record video from any…
user1301587
  • 455
  • 4
  • 11
  • 23
-2
votes
1 answer

Can put xml reader function into D3drenderer.cs?

Below is the standard d3drenderer.cs file coding: using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Threading; using…
Coolguy
  • 2,225
  • 12
  • 54
  • 81
-2
votes
3 answers

How can i detect in this class if the process finished?

using System; using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Runtime.InteropServices; using DirectShowLib; using System.Windows.Forms; using System.Collections.Generic; namespace…
user1477444
  • 107
  • 1
  • 2
  • 12
1 2 3
27
28