Questions tagged [directshow]

The Microsoft DirectShow application programming interface (API) is a media-streaming architecture for Microsoft Windows. Using DirectShow, your applications can perform high-quality video and audio playback or capture.

The Microsoft DirectShow application programming interface (API) is a media-streaming architecture for Microsoft Windows. Using DirectShow, your applications can perform high-quality video and audio playback or capture.

DirectShow is a part of Windows SDK. Earlier, it was a part of DirectX 9.0 SDK (the last version outside of Windows SDK was dated February 2005).

2033 questions
10
votes
1 answer

Webcam - Camera Preview rotates wrong way

I would like your help please on a WebCamera problem. I've used a library available from Nuget; WebEye.Controls.Wpf.WebCameraControl (version 1.0.0). The URL is https://www.nuget.org/packages/WebEye.Controls.Wpf.WebCameraControl/ The article and…
jova85
  • 317
  • 2
  • 10
9
votes
4 answers

Cross-Platform webcam access

I'm looking for a cross-platform video capture library, for webcam access. One that wraps V4L/V4L2 on Linux, DirectShow on Windows, and QuickTime on the Mac. C or C++ is preferred, but I can work in Java or Python if those have better options for…
Branan
  • 1,819
  • 15
  • 21
9
votes
4 answers

How to debug c++ DirectShow filter

What debugging tools are available for directshow filters? Presently, I have a project that compiles and registers a video source filter that I then setup a graph in GraphEdit. I am using c++ in visual studio 2008. Is it possible to get a…
Mr Bell
  • 9,228
  • 18
  • 84
  • 134
9
votes
3 answers

Reading a video with openCV

I have a video engine2.avi that I want to read and show with openCV. Here's my code: #include #include #include using namespace cv; int main(int argc, char** argv) { string…
Engine
  • 5,360
  • 18
  • 84
  • 162
8
votes
2 answers

In C#, what's a good way for displaying zoomable, pannable video?

I've been sorting through DirectX, DirectShow, etc. and can't figure out which .NET C# library would be the best. I'm making an art installation that will feature full screen video. I'd like the user to be able to pan and zoom in and out on the…
Hairgami_Master
  • 5,429
  • 10
  • 45
  • 66
8
votes
1 answer

DirectShow - Getting video frames

I'm creating a Windows video capture application and am using DirectShow for capture. As each frame comes in, I want to grab it as a raw RGB bitmap into a buffer, at which point my code will do whatever processing I need. I've been searching for…
Matt Kline
  • 10,149
  • 7
  • 50
  • 87
8
votes
1 answer

How to get pointer to IUnknown in C#

.NET interop wraps COM objects into .NET objects (runtime-callable wrappers, RCWs), which hide the usual interface querying. In order to register a COM object representing a filter graph with the Running Objects Table, I need the (native) address of…
Daniel Wolf
  • 12,855
  • 13
  • 54
  • 80
8
votes
1 answer

DirectShow, Media Foundation, DXVA, what?

I'm tasked with revising an application which uses DirectShow for video rendering. The old application works fine, but it's starting to show age. As I have a gaming background, I figured I should just approach this as such. After having made a bunch…
Lennard Fonteijn
  • 2,561
  • 2
  • 24
  • 39
8
votes
1 answer

Getting DirectShow Samples on Windows 8

I want to create a Virtual Webcam for Windows 8 and I have two choices: DirectShow or Microsoft Media Foundation. After some looking around I found out that DirectShow has much more exmples and even here on Stackoverflow it gets recommended over…
Cheiron
  • 3,620
  • 4
  • 32
  • 63
8
votes
2 answers

QueryInterface fails with E_NOINTERFACE on C#

Hi Stack Overflow members, I'm a newbie to C# programming. I am developing a basic camera streaming and still capture application. Once user takes still, I will be displaying it on overlay using VMR9's bitmap mixing concept. What I did? I am making…
Spark
  • 188
  • 1
  • 10
8
votes
1 answer

Can YUV -> RGB conversion be hardware accelerated?

We have an application that reads a GigE YUV video stream and displays it on the screen. By profiling, we have learned that the function converting each frame from YUV (UYVY) to RGB24 is taking at least an order of magnitude more time and CPU than…
user1757226
  • 193
  • 2
  • 9
7
votes
4 answers

Regsvr32 strange behaviour = > Regsvr32 does not give any success or failure message

I have an directShow filter: MyFilter.ax When I try to register MyFilter.ax with Regsvr32 utility it gives NO error or any message(success or failure). But the filter is not registered. Regsvr32 utility works fine for my other filters. Why…
Novalis
  • 2,265
  • 6
  • 39
  • 63
7
votes
1 answer

"Preferred" method to access webcam from C# in Windows Vista / 7

I've found plenty of posts discussing WIA, Windows Portable Devices API and DirectShow (and giving example code) for accessing a webcam from C# but when you research each method you seem to come across references that these are "old" methods. So,…
John
  • 73
  • 1
  • 3
7
votes
1 answer

Mac OS X equivalent for DirectShow, GraphEdit

New to Mac OS X, familiar with Windows. Windows has DirectShow, a good number of built-in filters, COM programming, and GraphEdit for very fast prototyping and snooping on the graphs you've constructed in code. I'm now about to go to the Mac to…
Joe Raglenid
  • 71
  • 1
  • 2
7
votes
1 answer

Using DirectShow to capture frames and OpenCV to Process

I have made two different solutions for Video-to-Image Capturing and was wondering if I could intertwine the best of both worlds. I am currently using DirectShow to load in an AVI file and capture images. However, DirectShow's lack of image…
Seb
  • 3,414
  • 10
  • 73
  • 106