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

Can one Video Mixing Renderer 9 (VMR9) render more video streams?

I am rendering a number of video streams in a Windows form, using the same number of VMR9 instances. I am doing this in C# using DirectShowLib-2005. If there is a need to display 100 videos, I will create 100 FilterGraphs (IFilterGraph2) that will…
Cipi
  • 11,055
  • 9
  • 47
  • 60
2
votes
1 answer

How can I capture a webcam and append to a file?

My application needs to record video interviews with the ability to pause and resume, and have these multiple segments captured to the file. I'm using directshow.net to capture camera stream to a preview window AND an avi file, and it works, except…
Joshua Frank
  • 13,120
  • 11
  • 46
  • 95
2
votes
2 answers

C# : How to use directshow.net to show this dialog?

How to call this dialog using Directshow.net? Filter graph
Prince OfThief
  • 6,323
  • 14
  • 40
  • 53
2
votes
1 answer

C# directshow connect multiple graphs

I'm building a C# application where 2 or more cameras are connected to a processing module that has one or more outputs. I need to be able to connect "monitor" windows to preview each camera and the processed output that can be hidden or shown…
FKEinternet
  • 1,050
  • 1
  • 11
  • 20
2
votes
1 answer

DirectShow GUID missing for DVR device

I am using DShowNET in a C# project and I have been trying multiple cards. The Card I am trying to access is a GV-800_4A, which is a a capture card normally used by GeoVision CCTV software. The problem is it is recognized in the device manager as a…
2
votes
1 answer

IVMRWindowlessControl9 not being rendered into parent WPF window

I'm creating a webcam control using DirectShow.NET. I want to render the video of the camera into a WPF window. What is happening currently is that the IVMRWindowlessControl9 doesn't seem to be going into windowless mode and is not being parented to…
Alan Thomas
  • 1,006
  • 2
  • 14
  • 31
2
votes
1 answer

How to find duration of an uploaded mp4 or f4v video?

I've tried using directshowlib-2005 by installing k-lite mega codec pack. It can't find the duration of an mp4 file or f4v file (avi, wmv and flv has no problem). I use ImediaSeeking interface of directshowlib-2005 to find duration. But in case of…
Harun
  • 5,109
  • 4
  • 38
  • 60
2
votes
1 answer

How to know camera preview successful or ready to snapshot using Directshow

I develop an application using .Net Directshow. Is there any way to get notify message when camera preview successful or ready to snapshot
xiaox2y2
  • 65
  • 6
2
votes
1 answer

Unable to capture a camera feed while previewing using DirectShow

The application is implemented in C# using DirectShowLib and a USB camera (Logitech C930e). The graph is compiled using RenderStream method. SmartTee filter is automatically generated as there is no preview pin provided. RenderStream is called once…
2
votes
0 answers

System.InvalidCastException on FFDShow Video Decoder on "Standard User" account

Exception: Unable to cast COM object of type 'System.__ComObject' to interface type 'DirectShowLib.IBaseFilter'. This operation failed because the QueryInterface call on the COM component for the interface with IID…
Michael Chi Lam
  • 390
  • 1
  • 13
2
votes
0 answers

Alternative to VMR in DirectShow.NET

I am developing an video recording application using DirectShow.NET in C# windows application. Till now I am able to build graph and recording is done using asf writer. While recording I have to show preview window with overlay text on it, For…
Amogh
  • 4,453
  • 11
  • 45
  • 106
2
votes
0 answers

GMFBridge: stuck on BridgeGraphs method

I'm using DirectShow.NET with GMFBridge to build an application similar to the the GMFPreview example application, which allows one to render a preview from the video without glitches when video capture is stopped. In my application, instead of…
Eric Omine
  • 489
  • 4
  • 15
2
votes
1 answer

Compare audio volume from two videos

How Can I compare audio volume level from two videos? One of our clients complains about our output video (from DirectShow based application) increase the audio volume between 0.5db to 1db. How Can I check this? Is there any external tool that can…
tur
  • 33
  • 3
2
votes
0 answers

Change settings of LAV Filters at DirectShow

I am able to render a RTSP video stream (rtsp://10.0.0.11:7070/stream/channel1) with following graph: LAV Splitter -> LAV Video Decoder -> Video Renderer When I open the RTSP stream with VLC, I set Caching to 300 ms and video gets play smoothly…
Mustafa Chelik
  • 2,113
  • 2
  • 17
  • 29
2
votes
2 answers

The name 'Marshal' does not exist in the current context

I got the code below from the bitmapmixer sample (DirectShow.NET) and i tried to reimplement it. The original sample works fine. In my version when I try to compile i get errors. private void AddHandlers() { // Add handlers for VMR…
Haxed
  • 2,887
  • 14
  • 47
  • 73