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

Directshow dvd filter Graph

Is there anyone that can help me, with an example on how to build a dvd filter Graph with menus in Pure C#. I can only find C++ examples and they are no good to me.. C++ Example This is a code snippet I got from the DirectShow.net Samples var…
ArchAngel
  • 634
  • 7
  • 16
0
votes
0 answers

DirectShow SDK + Adobe Flash Player PPAPI

everyone. I use this project. http://www.codeproject.com/Articles/437617/DirectShow-Virtual-Video-Capture-Source-Filter-in It's work on GrabStupid. It's work on browser (for example in Google Chrome(->GH) (in older version) it's work but doesn't…
V. Anton
  • 1
  • 1
  • 1
0
votes
1 answer

DShow Sample Code for playing video does not play the video

The example program provided here to run a video file. I am using "avi" format file for playing with DShow APIs in Visual Studio 2015. Refer to the complete code: #include #include using namespace std; int CALLBACK WinMain( …
sunil_rbc
  • 772
  • 1
  • 8
  • 13
0
votes
1 answer

Adding interface to custom directshow transform filter

I am working on writing custom DirectShow filter for CTransformFilter. The basic filter is working fine. I am facing issues when I add interface to the filter. The filter code that is working fine is written below: interface CVideoDecoder : public…
Saurabh
  • 85
  • 1
  • 9
0
votes
0 answers

IVideoWindow MessageDrain not working in VB?

I have a VB application in which I'm displaying 2 video files using QuartzTypeLib. Now I'm trying to handle a click event and a double click event on each video. The declaration of the IVideoWindow is : Public videowindow(0 To 1) As…
Madalin
  • 129
  • 15
0
votes
1 answer

measuring performance of directshow filter

I have built a mp3 decoder directshow filter for win CE , and I want to measure the performance of the decoder. I found two macros from msdn site, https://msdn.microsoft.com/en-IN/library/ms932254.aspx which is declared in the measure.h header file…
thomachan
  • 378
  • 3
  • 14
0
votes
2 answers

How to send/receive data with complicated data structure via pipe?

HRESULT GrabberCB :: SampleCB ( double SampleTime , IMediaSample * pSample ) { How to send the pSample content via pipe? } I know how to send/receive string by WriteFile/ReadFile after reading this…
Alan
  • 5,029
  • 5
  • 32
  • 37
0
votes
0 answers

Directshow real time compression to output small size video

So i've made an application to view and capture video stream from WDM capture sources, my problem is that the file size is too big (i.e 7 min video would be 1.5 GB). I'm already using an encoder in my graph "ffdshow encoder" but i still need a more…
Sam Nasser
  • 311
  • 5
  • 13
0
votes
3 answers

How to set read lock and write lock in directshow application?

To apply a general lock, I can do this: CAutoLock(CCritSec * plock) But how can I set read and write lock respectively?
Alan
  • 5,029
  • 5
  • 32
  • 37
0
votes
1 answer

High quality and optimized file size video recording using directshow.net

I am developing a application in c# by using Directshow.NET. I am using a virtual camera which will help to record desktop screen. So my graph is: Virtual cam --->color space converter --->sample grabber ---> ASF writer. While coding, I used a…
Amogh
  • 4,453
  • 11
  • 45
  • 106
0
votes
1 answer

Why there are so many ways to get the filter graph manager in directshow?

Way 1: HRESULT hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER,IID_PPV_ARGS(&pGraph)); Way 2: hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER, IID_IGraphBuilder, (void…
user198729
  • 61,774
  • 108
  • 250
  • 348
0
votes
1 answer

how to use a directshow filter programmatically

I am a newbie in development using Directshow.NET. I am trying to capture video using webcam. First I tried to build the graph using GraphEdit it's like. Source cam--->Color Space converter--->Sample Grabber--->ASF writer I know how to add source…
Amogh
  • 4,453
  • 11
  • 45
  • 106
0
votes
2 answers

What's the difference of CSource and CSourceStream in directshow?

These two classes looks similar to me, can you remind me the great difference between these two classes so that I can judge which class a specific interface belongs to without refering to the document??
user198729
  • 61,774
  • 108
  • 250
  • 348
0
votes
1 answer

A problem with Vivek's vcam of directshow

CVCam::CVCam(LPUNKNOWN lpunk, HRESULT *phr) : CSource(NAME("Virtual Cam"), lpunk, CLSID_VirtualCam) { ASSERT(phr); CAutoLock cAutoLock(&m_cStateLock); // Create the one and only output pin m_paStreams = (CSourceStream **) new…
wamp
  • 5,789
  • 17
  • 52
  • 82
0
votes
0 answers

De-Interlacing with Mediafoundation

My problem is that I get interlaced uncompressed UYVY Frames and I need to deinterlace them. My first guess was to do this with directshow and Dscaler, but I cant find a 64bit version of it (did I mention that the app is 64 bit?). I am also not able…