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

How to create video from images on Windows 8 (WinRT)

I'm working on creating media file from list of image files. On desktop we have different ways to stich image files into video (AviFile lib, FFMPEG and DirectShow with managed wrapers). Is there a way to use sme of this libraries on WinRT or may be…
3
votes
1 answer

directshow - How to detect webcam plug / unplug?

Is there a simple way with DirectShow to detect if the webcam is plugged in (USB), or if someone has unplugged it (and then poll or search for it)? I have seen code for Microsoft Media Foundation, but it is complex and Media Foundation isn't…
3
votes
1 answer

Using video codecs like XVid in c#

I'm trying to develop an application which captures a series of images from web cam using DirectShow.Net and then sends it over network to other clients. Everything is working fine, except the images are too big and compression methods like using…
Vahid Rassouli
  • 296
  • 2
  • 10
3
votes
2 answers

How can I select an audio output device in directshow

I was wondering how I can select the output device for audio in directshow. I am able to get available audio output devices in directshow. But how can I make one of these to be audio output device. Its always going for the default audio device. I…
user786981
2
votes
2 answers

Show only small area of the video with directshow

I have a video graph in c# with DirectShow. Now I want to show all video sources with its preview. But it should not adjust the video area to the size of the panel. Currently it shows me the video on the panel, but it adjust the size of the video…
lszrh
  • 1,531
  • 1
  • 19
  • 28
2
votes
1 answer

Get WebCam status using C#

I use DirectShowLib .Net to capture images from WebCam. How get state of my WebCam in C#? I mean if it's alredy using by another app?
Timur Mustafaev
  • 4,869
  • 9
  • 63
  • 109
2
votes
2 answers

directshow.net webcam overlay transparent panel

I am trying to use a webcam to take photos for badges. To do this I have used the directshow.net library and examples, this has got me a webcam preview screen in .NET rendered in a picturebox as per DxSnap sample. I now wish to overlay it with a…
PeteT
  • 18,754
  • 26
  • 95
  • 132
2
votes
1 answer

Is directshow.net video input device filter enumeration broken (in newer environments)?

Every example in the directshow.net samples folder (marked "2010-February") compiles fine, and those that play videos from files work great. However, every example that tries to enumerate the FilterCategory.VideoInputDevices always fails to find any…
Toboe
  • 93
  • 1
  • 7
2
votes
4 answers

Flip video input horizontally C# DirectshowNet

I'm using the dxSnap sample from the directshownet library http://directshownet.sourceforge.net/about.html to capture an image from my webcam. Does anybody know how to flip the video capture horizontally?
MattBH
  • 1,562
  • 3
  • 24
  • 31
2
votes
2 answers

Writing a Direct Show Source Filter

I should have to write a Direct Show Filter which takes input(video,audio) from live source. And it should give the data(video,audio : which are encoded) to a decoder Filter MyCustomDirectShowSourceFilter ---> Decoder Any real working…
Novalis
  • 2,265
  • 6
  • 39
  • 63
2
votes
2 answers

How to check for directshow filters on pc

Is there a way to see what filter's are installed on my machine, because i have a C# winform application that takes a photo using directshow that works perfectly fine on my laptop but won't work on my desktop. On my desktop it says "No combination…
MattBH
  • 1,562
  • 3
  • 24
  • 31
2
votes
1 answer

Is it possible to control 2 DirectShowNet streams from one input?

I am using DirectShow.Net in C#. I made a player that will stream video from a usb device to a video screen and to an avi file at the same time. I want to have a button so the video will preview on the screen but not capture until a button is…
Grant
  • 684
  • 1
  • 7
  • 26
2
votes
2 answers

DirectShow Record Problem - fps

I just create simple graph to record video from a source Filter: SourceFilter ---> Muxer ---> FileWriter I can able to save video which come from SourceFilter to my local disk. But when i try to play the recorded video, it play in "slow motion"…
DSBoy
  • 43
  • 6
2
votes
1 answer

GMFBridge usage in DirectShow

enter code hereI have to stop and start Video Renderer Filter dynamically . That is not possible with "normal" Direct Show Architecture without creating new graph. But with GMFBridge it seems it is possible. But i can not figure out how to use it.(…
setiGuy
  • 121
  • 1
  • 3
  • 8
2
votes
1 answer

Dynamically change filter value without Property Page

I just wrote a simple DirectShow Filter (which inherits from CTransformFilter). But I want to be able to set a variable of my filter dynamically. This can be done today using Property Page. But what i want is change this property programatically.…
setiGuy
  • 121
  • 1
  • 3
  • 8