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
7
votes
4 answers

How to convert yuy2 to a BITMAP in C++

I'm using a security camera DLL to retreive the image from the camera. The DLL call a function of my program passing the image buffer as a parameter, but the image is in yuy2 format. I need to convert this buffer to RGB, but I tried every formula I…
Rodrigo Strauss
  • 2,064
  • 2
  • 14
  • 14
7
votes
2 answers

DirectShow Source filter using Dekstop window as source

I am looking for examples of a DirectShow Source filter that would display a Desktop Window. I am sure there should be examples, but I haven't yet found them. Perhaps I am using the wrong terminology. This is for grabbing live output of a Window,…
Lee Atkinson
  • 2,171
  • 3
  • 20
  • 32
7
votes
3 answers

How can I learn a DirectShow programming?

I'm a .Net C# Developer. I want to develop the media programming about video/audio codec, capture media from source, etc. I'm going to use the DirectShow Lib, but I read it on MSDN, and I'm very confused, because I'm a beginner. Do you have the best…
Gramero
  • 1,835
  • 3
  • 24
  • 26
7
votes
6 answers

Simplest way to play mp3 from Visual C++

A few years back, I wrote some util library around DShow/DSound to let me play MP3s in a Windows C++ application. Is that still the normal way to do it in a C++/MFC app, or is that an area of DirectX that has been subsumed into the general Windows…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
7
votes
4 answers

Error: Qt5 Video render error code 80040218

When running an application in Qt5 made ​​using the QWebView, I accessed a page with a video player in HTML5, but the video does not play and qt/directshow shows the following error: DirectShowPlayerService::doRender: Unresolved error code…
Protomen
  • 9,471
  • 9
  • 57
  • 124
7
votes
1 answer

How to run video files continuously in Delphi?

I am using Delphi 5. I want to know when avi file play is completed using 'TFilterGraph'. I want to run number of avi file one after another automatically. So I have downloaded DSPack and used 'TFilterGraph' and 'TVideoWindow' component. avi file…
Vishal Tiwari
  • 739
  • 2
  • 12
  • 28
6
votes
3 answers

C# + DirectShow.NET = Simple WebCam access?

I have found an example for accessing a webcam in C#. The example uses the DirectShow.NET library. I have tried to understand the code, but so far the only thing I could figure out is that somehow the usercontrol calls directshow to draw directly to…
George
  • 15,241
  • 22
  • 66
  • 83
6
votes
1 answer

DirectShow: webcam preview and image capture

After looking at a very similar question and seeing almost identical code, I've decided to ask this question separately. I want to show a video preview of the webcam's video stream to the default window DirectShow uses, and I also want the ability…
Darkhydro
  • 1,992
  • 4
  • 24
  • 43
6
votes
1 answer

Question about setting up FIle Writer in C#

Im using DirectShowLib in C#. I want to use File Writer in C# to set a file output. I want to use File Writer because Graph.SetOutputFileName() wont connect to my encoder, but File Writer will. How can i set the File that File Writer saves to in…
Grant
  • 684
  • 1
  • 7
  • 26
6
votes
2 answers

ISampleGrabber deprecated?

I have an old computer vision experiment that uses Video for Windows to grab frames from a camera connected to the PC. It's a hack, it uses VfW to create a preview window, then it does a GetDIBits from the window DC. I'm finally ready to port this…
Adrian McCarthy
  • 45,555
  • 16
  • 123
  • 175
6
votes
2 answers

Take high resolution photo from USB camera in Windows (C++)

I am developing an C++ application which should use an USB camera to capture high resolution photos. It should have same behavior as the Camera application in Windows 10. I am trying to use DirectShow for doing it. Now I am only able to take high…
radimoid
  • 199
  • 1
  • 9
6
votes
3 answers

Create COM object from file without regsvr32

Is it possible to create an instance of a COM object with just the dll and no regsvr32? My main goal here is to create an instance of a directshow filter and insert it into my graph-but I don't want to us regsvr32 to register the filter. The filter…
Duane
  • 570
  • 4
  • 14
6
votes
3 answers

How to use/install custom Directshow filter

I have custom compiled directshow filter - filter.DLL - but how to use, or install this filter in system?
amanda
  • 69
  • 1
  • 1
  • 2
6
votes
2 answers

Is it possible to use an embbeded control in Excel to preview video feed from webcam using DirectShow?

There are a quite a few of sources to get a video stream from webcam into a picturebox embedded in a userform. Preview a camera in DirectShow and capture a still image - in VB.net How do i use attached webcams to take still image in my…
user1704812
6
votes
10 answers

Real-time video encoding in DirectShow

I have developed a Windows application that captures video from an external device using DirectShow. The image resolution is 640x480 and the videos saved without compression have very huge sizes (approx. 27MB per second). My goal is to reduce this…
madbadger
  • 644
  • 2
  • 10
  • 15