graphedit

ISampleGrabber undeclared identifier

微笑、不失礼 提交于 2020-12-15 09:54:20
问题 I'm trying to execute a code generated by graphEditPlus (using VS2010) but having a trouble with the following line: CComQIPtr<ISampleGrabber, &IID_ISampleGrabber> pSampleGrabber_isg(pSampleGrabber); where the errors are: error C2065: 'ISampleGrabber' : undeclared identifier error C2065: 'IID_ISampleGrabber' : undeclared identifier error C2514: 'ATL::CComQIPtr' : class has no constructors I tried downloading different versions of Windows SDK (V7.1, V6.0A, V5) and set the include / lib paths

ISampleGrabber undeclared identifier

╄→尐↘猪︶ㄣ 提交于 2020-12-15 09:51:52
问题 I'm trying to execute a code generated by graphEditPlus (using VS2010) but having a trouble with the following line: CComQIPtr<ISampleGrabber, &IID_ISampleGrabber> pSampleGrabber_isg(pSampleGrabber); where the errors are: error C2065: 'ISampleGrabber' : undeclared identifier error C2065: 'IID_ISampleGrabber' : undeclared identifier error C2514: 'ATL::CComQIPtr' : class has no constructors I tried downloading different versions of Windows SDK (V7.1, V6.0A, V5) and set the include / lib paths

ISampleGrabber undeclared identifier

给你一囗甜甜゛ 提交于 2020-12-15 09:51:32
问题 I'm trying to execute a code generated by graphEditPlus (using VS2010) but having a trouble with the following line: CComQIPtr<ISampleGrabber, &IID_ISampleGrabber> pSampleGrabber_isg(pSampleGrabber); where the errors are: error C2065: 'ISampleGrabber' : undeclared identifier error C2065: 'IID_ISampleGrabber' : undeclared identifier error C2514: 'ATL::CComQIPtr' : class has no constructors I tried downloading different versions of Windows SDK (V7.1, V6.0A, V5) and set the include / lib paths

How to find the IMoniker used to create a source filter?

和自甴很熟 提交于 2020-01-05 06:27:12
问题 Currently I'm writing a DirectShow based application that should help users configuring their TV capture cards, since GraphEdit seems to be too difficult for most to understand. The idea is that this application exports the generated Graph to a .GRF file, that will be used in another application. Users can select which device (IMoniker) should be used to create a source filter, and can change some settings regarding video / audio. Next to exporting .GRF files, my application should also have

Is there any helper tool for creating graphedit files “on the fly” (programmatically)

故事扮演 提交于 2019-12-24 16:17:11
问题 I notice that avisynth can accept as input a "live directshow source" only through a graphedit file that includes that source in it. Is there any help tool out there to create a graphedit file on the fly, given you know a capture sources name (and/or the output format you want from that pin)? ref: http://betterlogic.com/roger/2012/05/avisynth-live-capture The graphedit file syntax is described here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd388788(v=vs.85).aspx (though it

DirectShow - Microsoft LifeCam Studio - RBG24 format lost

折月煮酒 提交于 2019-12-24 02:42:51
问题 I'm using DirectShowNet in C#. I've been developing an application to work with webcams to display video, change resolution, and take pictures (either Still pin or from the Capture stream). I've been testing it on 2 different machines (Win 7 64-bit & Win 8 64-bit) and with the internal webcams on those machines (they are laptops) and 2 other webcams, Logitech C920 and Microsoft LifeCam Studio. One day, the LifeCam Studio stopped working on my Win 8 machine. Using GraphEditPlus, checking the

Make Custom Directshow fiter to accept Parameters

喜欢而已 提交于 2019-12-13 06:37:20
问题 I Created a CTransformFilter, this is used to Resize the output video. It is working with default values which i gave in the code. Is it possible to make this filter receive values, i mean when i create Instance of this filter in my code is it possible to pass the values say like Resizer->width = 100 Resizer->height = 50 here Resizer is the filter. 回答1: You want to implement a "private interface" on your filter and then the controlling application will use it to communicate with the filter.

Reconnect Directshow Filter Pin

故事扮演 提交于 2019-12-11 18:43:55
问题 How to reconnect Filter Pins? I created a resizer filter (c++) and added a property page with options Pal(720X576) and Ntsc(720X480).(default is Pal). In Graph Edit i selected a video file and added My resizer filter to it, when i played the graph it is working fine and showing video in Pal. when i tried to change it to Ntsc, it is not working correctly. To make it work correctly i need to first disconnect the Resizer filter pins and then change the output settings and then reconnect it.(i do