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

Streaming compressed avi over network using directshow

I'm quite new to Windows programming and I'm trying to setup a directshow graph to stream a webcam feed over a network so I can monitor the output on an ipad. I've setup a graph in csharp using DirectShowLib and FFDShow that compresses the raw…
Josh
  • 37
  • 6
0
votes
2 answers

Programmatically add AVI file header to video stream

I have a capturing device (analogue to digital converter: AverMedia USB Capture Card). When I want to record video using DirectShowLib in C#, I only receive frames. I am able to record frames and play the file using RawVideo Player. How can I create…
Oyle Iste
  • 1
  • 2
0
votes
1 answer

How to configure video camera by directshow.net?

I found some samples that use directshow.net(in C#) to capture video from camera, but i didn't see any sample about configuring video (such as Backlight compensation , Brightness, Contrast, Sharpness, White balance, Hue...) , settings for camera…
MichaelP
  • 2,761
  • 5
  • 31
  • 36
0
votes
1 answer

Is this C++ [out] parameter a pointer to an enumeration, or just a single value?

Currently I'm working with DirectShow.NET, an unofficial .NET "port" for Microsoft's DirectShow (C++). Both IAMAnalogVideoDecoder and IAMTVTuner declare the method get_AvailableVideoFormats. This is how the method is defined in the official…
Rudey
  • 4,717
  • 4
  • 42
  • 84
0
votes
1 answer

Record and view video at the same time DirectShow

I have used the sample code of DirectShow in order to record a video. however, I want to display the video during recording as well. But I can't do it at the same time, this error always shows: ' Const VIDEODEVICE As Integer = 0 ' zero based index…
0
votes
1 answer

Connecting Microsoft DTV-DVD Video Decoder to Sample Grabber?

I have written a WPF application that can open, edit and render .GRF files. When rendering, I did not want it to open a new window (like GraphEdit does), so I found a solution that uses the Sample Grabber to render samples into a WPF brush. Before…
Rudey
  • 4,717
  • 4
  • 42
  • 84
0
votes
1 answer

How to continue playing a capture device when the device is replugged in?

OK,I'm now developing a winform app that can capture stream from a video capture device using DirectShow.NET.   And the problem is when I plug the usb capture device out. the image freezes,and after trying to stop , my code hungs on…
0
votes
1 answer

Is IOverlay interface available in DirectShow.Net

I am pretty new to DirectShow and really just feeling my way round at the moment. I am wanting to host the directshow renderer window of a directshow graph within a WPF app and am currently using the HwndHost class to try to achieve this. What I…
Simon Fox
  • 10,409
  • 7
  • 60
  • 81
0
votes
2 answers

How to determine if pins can be connected?

Currently I'm working on a DirectShow based application for configuring TV capture cards. It's supposed to work with most of the capture cards out there, so it has to be as generic as possible. Since most capture card manufacturers seem to come up…
Rudey
  • 4,717
  • 4
  • 42
  • 84
0
votes
1 answer

Playing AVI movie on directx 9 surface

I have got a directx9 window and i want to play an avi-video on a texture. i have heard that i can use directshow to do this? if this is really posssible, where can i find tutorials or sample code to do this? thanks!
clamp
  • 33,000
  • 75
  • 203
  • 299
0
votes
0 answers

VMR9 Allocator and SwapEffect.Discard

I'm developing an application using a VMR9 Allocator. The allocator allow me to draw the directshow filter graph output to a texture. I noticed that if I don't use the SwapEffect.Copy in exclusive mode my video rate is bellow 25 (the nominal…
Martin Delille
  • 11,360
  • 15
  • 65
  • 132
0
votes
1 answer

duplicate AMMediaType

I am able to copy a VideoInfoHeader which is part AMMediaType with the following lines: AMMediaType mediaType = new AMMediaType(); VideoInfoHeader videoInfo = new VideoInfoHeader(); (pSampleGrabber as…
Amelse Etomer
  • 1,253
  • 10
  • 28
0
votes
1 answer

'unknown error' on renderStream

I have successfully managed to utilize directshownet DirectShow wrapper for the purpose of generating thumbnails of video files. For many test instances the code works just fine. However for some, it throws an 'unknown exception' at the…
Vega4
  • 969
  • 1
  • 11
  • 25
0
votes
0 answers

BufferCB is not getting called?

i developed in windows application in C#.NET4.0 with Directshow Lib,for recording video using webcam.during video recording i put an overlay text by grabing frame in BufferCB and put my overlay bitmap on frame. This application with overlay is…
Amogh
  • 4,453
  • 11
  • 45
  • 106
0
votes
1 answer

Debug DirectShow by Visual Studio 2010

I'm using Visual Studio 2010 and my computer is Win 7 and x64. I successfully built a COM object based on DirectShow, it's a virtual camera and now applications like Skype or YahooMessenger can see my virtual webcam. What I'm wondering now is…
Huy
  • 21
  • 1
  • 3