directshow

Missing 'qedit.dll' in Windows Server 2008?

不打扰是莪最后的温柔 提交于 2019-12-06 03:17:26
We've found that Windows Server 2008 SP2 doesn't contain QEDIT.DLL. This 'DirectShow Editing' DLL contained several useful DirectShow filters, namely SampleGrabber, that we had been using. I found some references to this issue during the Windows Server 2008 beta cycle, but it was supposed to have been added back for release. Does anyone have any current knowledge of this, and if there are any workarounds other than copying a version from Vista or Win2003? The SampleGrabber filter is one of the MSDN sample filters. I'm not sure whether all the filters that you need are available as samples

Correct Media Type settings for a DirectShow filter that delivers Wav audio data?

偶尔善良 提交于 2019-12-06 03:00:29
I am using Delphi 6 Pro with the DSPACK DirectShow component library to create a DirectShow filter that delivers data in Wav format from a custom audio source. Just to be very clear, I am delivering the raw PCM audio samples as Byte data. There are no Wave files involved, but other Filters downstream in my Filter Graph expect the output pin to deliver standard WAV format sample data in Byte form. Note: When I get the data from the custom audio source, I format it to the desired number of channels, sample rate, and bits per sample and store it in a TWaveFile object I created. This object has a

Custom DirectShow Source Filter - Dynamic Resolution Change

青春壹個敷衍的年華 提交于 2019-12-06 02:32:27
I've asked a very similar question before for a video renderer filter. See here: Custom DirectShow Video Renderer Filter - Dynamic Resolution Change But this time, I need a solution for a source filter. This source filter connects directly to the video renderer. Decoder is embedded. I'm able to get the resolution changes from the stream. I also resize the buffers when I get a new resolution. But I don't know how to notify my new resolution through the pin. Should I somehow create an instance from CMediaType , fill in the new values and call pin's SetMediaType() method or what is the proper

How to capture frames using Delphi/DSPack without displaying it on TVideoWindow?

老子叫甜甜 提交于 2019-12-06 00:53:49
DSpack has example code to play a DirectShow compatible video device and to capture the video frames simultaneously. A TVideoWindow is attached to the FilterGraph to display the video (Firgure-1). If you remove the TVideoWindow, then the Operating System (Windows) will automatically bring up ActiveMovie and display the video on a separate window (Figure-2). Is there a way to use DSPack to capture video frames without using any of the GUI components and without displaying the video? DSPack forum has some mention about NullRenderer filter but there is no documentation or examples on how to use

Media player/recorder (phonon)

a 夏天 提交于 2019-12-05 23:44:57
I would like to develop a media player/recorder. The primary target platform is Windows, support for other OSs would be nice, but that's not a high priority. It should be able to play formats like wav, mp3, avi. It should also be able to record audio (microphone) and video (webcam or capture card). As I have some experience with QT and C++, I looked at QT (4.7.2) phonon with DS backend. But unfortunately I was unable to play a simple AVI, even with the MediaPlayer sample that comes with the QT demos. I could only hear sound, but saw no video. The developer machine is a 64-bit Vista. I also

How do I inject custom audio buffers into a DirectX filter graph using DSPACK?

末鹿安然 提交于 2019-12-05 18:32:40
I am using Delphi 6 with DSPACK to do several operations involving audio and DirectX. I have the "input" side figured out where I assign one of the enumerated audio input devices to a TFilter object and connect that filter to a TSampleGrabber object and that gives me the audio buffers I need to send audio to Skype. It is the logical inverse of that graph that I need to figure out. I receive audio buffers from Skype via a socket. I need to create a graph that has a filter that would be the complement to TSampleGrabber. In other words, a TFilter that instead of delivering audio buffers during an

How to grab constant stream of bitmap images from webcam in c#

五迷三道 提交于 2019-12-05 16:06:59
We have a c# application that performs processing on video streams. This is a low-level application that receives each frame in Bitmap format, so basically we need 25 images each second. This application is already working for some of our media sources, but we now need to add a webcam as an input device. So we basically need to capture bitmap images from a webcam continuously so that we can pass all these frames as a "stream" to our application. What is the best and simplest way to access the webcam and read the actual frames directly from the webcam as individual images? I am still in the

How to take a still photo in either DirectShow or Media Foundation

不想你离开。 提交于 2019-12-05 15:39:37
Is there a way to make a photo (still image) with either DirectShow or Media Foundation APIs? I got video capture working and I can just capture the very first frame and call it a day, but that's not what a photo is. Usually cameras have distinct video and photo modes, where photo mode allows for a lot greater resolution. For example, I have Logitech HD Pro Webcam C920 and it claims to allow to do 15mp photos. The software that came with it takes 5168x2907 photo images. So far I haven't seen any photo mode in DirectShow or Media Foundation, and the highest resolution I can take with that

Alternatives to DirectShow for video capture on Windows [closed]

亡梦爱人 提交于 2019-12-05 15:14:51
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I am looking at updating a program that currently uses DirectShow for video capture. While DirectShow seems to work well, I was wondering if there were any more powerful or up to date SDKs or APIs that I should look into. Some features that would be helpful would be ones that will: Provide a consistent framerate (33ms between frames for NTSC) during capture. Work with DirectShow compatible capture devices. Not

How to eliminate 1 second delay in DirectShow filter chain? (Using Delphi and DSPACK)

怎甘沉沦 提交于 2019-12-05 10:48:29
I have a Delphi 6 Pro app that uses the DSPACK component library to send audio to Skype from the system's preferred audio input device. I am using a TSampleGrabber component to tap into the Filter Graph chain and then send the audio buffers to Skype. The problem is that I am only getting audio once a second. In other words, the OnBuffer() event for the TSampleGrabber instance only fires once a second with a full second's worth of data in the Buffer parameter. I need to know how to modify my Filter Graph chain so it grabs data from the input device at a faster interval than once a second. If