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

Get output data from x264vfw filter

I need get H264 stream from x264 encoder and make some kind of live streaming server. Client will connect to the server, then via rtsp recieve video. How can I get data from x264vfw output pin? In what way better do that?
no.Oby
  • 107
  • 8
0
votes
1 answer

Directshow Live Source Filter Design

I am developing a Live DirectShow filter. I have an H264 stream source which i can get streams via SDK API. In my filter I have a Queue which i Enqueue (push) incoming stream from a thread. Then I consume (Dequeue,pop) these streams inside the…
Novalis
  • 2,265
  • 6
  • 39
  • 63
0
votes
1 answer

IGraphBuilder use of ColorConverter

I try to use this code to get pictures of my cam: IGraphBuilder _graph = null; ISampleGrabber _grabber = null; IBaseFilter _sourceObject = null; IBaseFilter _grabberObject = null; …
bobschi
  • 325
  • 1
  • 3
  • 13
0
votes
1 answer

How to create directshow filter for Expression Encoder 4? or work with GRF

I have a digital tuner for cable , and i need to capture it with expression encoder the graph looks like in the picture : My problem is that i'm not that good with c++ i know a little bit of c# and from what i understood i'm supposed either to…
adi sba
  • 621
  • 1
  • 12
  • 32
0
votes
3 answers

Getting MP4 File Duration with DirectShow

I need to get the duration of an mp4 file, preferably as a double in seconds. I was using DirectShow (see code below), but it keeps throwing a particularly unhelpful error. I'm wondering if someone has an easy solution to this. (Seriously, who knew…
RedHack
  • 285
  • 7
  • 18
0
votes
1 answer

How to enlarge(zoom) a section of a video and overlay it on the original video using Directshow.Net

I currently developed a media player using directshow.net. The videos have a small timestamp at the top left corner, which is very small. I need to enlarge it, so that it is visible/readable while the video plays. I have tried…
DanC225
  • 171
  • 14
0
votes
1 answer

text overlay issue?

by using directshow.net i can able to record the video and with recording i am doing text overlay for this i configured sample grabber and in buffercb method i am working on frames here is the code.. int ISampleGrabberCB.BufferCB(double SampleTime,…
Amogh
  • 4,453
  • 11
  • 45
  • 106
0
votes
1 answer

How to zoom into a specific area of a DirectShow window?

I'm trying to zoom into the area of the DirectShow window between Marker A and Marker B(It's a RangeBar) which represent the width of the video window. I've tried using SetWindowPosition but all that does is move the video window around. I'm new to…
CharlesBryan
  • 181
  • 1
  • 16
0
votes
1 answer

c# DirectShow graphbuilder output filename issue

I'm new to using Directshow. I'm more than willing to post the pages of code I've writen but I'm hoping someone could explain or hint in the right direction for a solution so I can figure it out myself. Basically I have a WPF program that displays a…
0
votes
1 answer

How to Show Preview in PictureBox?

my is too record video from webcam using DirectshowLib and c# but during video recoding video preview is also be shown so for this i have done following steps 1.i got the available video device init. IFilterGrapth2 object by using Graph =…
Amogh
  • 4,453
  • 11
  • 45
  • 106
0
votes
1 answer

How to do video recording with Text overlay using Directshow and C#?

According to my previous post i have tried to use sampleGrabber which will grab frames from video file and then it calls call back function: Type comType = Type.GetTypeFromCLSID(new Guid("e436ebb3-524f-11ce-9f53-0020af0ba770")); IGraphBuilder…
Amogh
  • 4,453
  • 11
  • 45
  • 106
0
votes
2 answers

Text overlay when video is recording using Directshow and C#

By using DirectShowLib i can able to record the video by using ASF writter here is the code to start recording try { IBaseFilter capFilter = null; IBaseFilter asfWriter = null; IFileSinkFilter pTmpSink =…
Amogh
  • 4,453
  • 11
  • 45
  • 106
0
votes
1 answer

BufferCB not being called by SampleGrabber

I'm using a SampleGrabber to get audio data, however my BufferCB method is not being executed. What am I doing wrong ? //add Sample Grabber IBaseFilter pSampleGrabber =…
CharlesBryan
  • 181
  • 1
  • 16
0
votes
1 answer

IVideoWindow interface does not show video frames properly in UserControl

I am using DirectShow.NET library [ http://directshownet.sourceforge.net/ ] and I use below code in order to show video streams. videowindow.put_Owner(handle); videowindow.put_WindowStyle(WindowStyle.Child |…
Novalis
  • 2,265
  • 6
  • 39
  • 63
0
votes
1 answer

Create DirectShow Filter to Select HWND

How to create a DirectShow Filter and the main concern is how to select the window to follow. I want to do something like google plus hangout uses to select the window to show in screen share. Thanks to help :)
diogopalhais
  • 369
  • 1
  • 4
  • 14
1 2 3
27
28