I'd like to call this method inside a Python script, with as few extra dependencies as possible. How can I do it? I've tried DirectPython, but it's installer installs only for 32-bit architectures, it seems. I've tried comtypes, but the installer can't find my Python installation.
...
Is looking for a way of rendering a byte stream using DirectShow. IGraphBuilder.RenderFile already does the heavy lifing when the stream is in a file on disk, but I can't seem to find a good example of how to provide the data myself using a stream into the filter graph. I'm a total newbie to DirectShow, so from my point I have a stream t...
I am trying to view camera feed from a Logitech9000 camera using DSVL(DirectShow Video Library) http://sourceforge.net/projects/dsvideolib/. The xml file currently looks as below:
<?xml version="1.0" encoding="UTF-8"?>
<dsvl_input xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Documents and Setti...
I'm trying to interact with a webcam from Java on Windows (without going through the FMJ or JMF frameworks) by using COM4j. However, I'm unable to find the typelib identifier for Direct Show in order to build the interfaces. The COM4j site recommends using OleView to find the typelib, but I've gone through the list of typelibs there an...
Is it possible to open incomplete video-files for playback using directshow?
The current solution first downloads the video file (.avi-container, can be h.264, mpeg2, mpeg4) and then starts playback. This can of course be a rather lengty operation.
The downloader fetches the videofile in chunks from a database so in theory it should be ...
If you download the vcam from http://tmhare.mvps.org/downloads/vcam.zip will see inside /Bin directory it's VCamD.ax and VCam.ax
How are these files supposed to run?
The link is from an answer from my previous question here
...
I need to create a video files (without audio) from in memory bitmap data. I tried to modify the GSSF example from directshow.net and combine it with DxPropPages example.
None of the many ways I tried to create a graph works. Without setting a compressor, everything is fine. With a compressor (I tested several different ones, ffdshow try...
hi there,
i´m currently dealing with windows media foundation. however. due to some problems with the microsoft h264 decoder and some missing decoders for custom format, i´d like to know if it would be possible to instantiate a DirectShow Decoder directly using CLSID, and build a proxy around it that exposes IMFTransform to get a decode...
Hi,
I'm working in an app in wich we use IMediaDet to get stream lengths. Now we're starting to work with MP4 containers. The problem is, when I try an IMediaDet::put_fileName() with the MP4 file, I get HRESULT = -2147024770 (ERROR_MOD_NOT_FOUND). Using a comercial mp4 demuxer, I see the video stream uses mpg2 encoding.
My questions: H...
I'm currently looking to implement a directshow filter to convert the colorspace from the output of the standard SampleGrabber to the Video Mixing Renderer. All of the video decoders I'm using output the MEDIASUBTYPE_YUY2 and I need to convert to MEDIASUBTYPE_RGB24.
Does anyone know of a freely available filter or definition of this con...
regsvr32 filename.ax
I just see it said something installed successfully,but what's the whole story?
...
Does anybody know any reasons why IMemAllocator:GetBuffer (Directshow) hangs, apart from all samples being in use?
I have a directshow application which uses GMFBridge by Geraint Davies to connect two graphs. The GMFBridge is used to be able to switch inputs, but I am not switching in this situation. The application captures audio and v...
I'm having a great trouble trying to understand this,
what's the least set up to compile/run directshow apps?
I've already installed visual c++ 2008 express.
A hello world will be nice,
RGS!
...
Hi there
I've succeeded to capture live video stream from my camera with directshow.
But how can I share the stream to another process, any ideas?
RGS!
UPDATE
Can illustrate with some code samples?
...
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 CVCamStream*[1];
m_paStreams[0] = new CVCamStream(phr, this, L"Virtual Cam");
}
What's...
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??
...
I read in a book that CreateInstance is a MUST for a source filter in directshow,but when I see this I doubt whetger it's true:
CFactoryTemplate g_Templates[] =
{
{
L"Virtual Cam",
&CLSID_VirtualCam,
CVCam::CreateInstance,
NULL,
&AMSFilterVCam
},
I can name the CreateInstance static met...
I have a problem connecting Microsoft DTV-DVD Video Decoder to my filter. This usually happens with flv files. Here is how VIDEOINFOHEADER2 looks after connection and after play start (when first frames have passed):
Before play (after connection):
VIDEOINFOHEADER2:
rcSource: (0,0,544,368)
rcTarget: ...
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 **)&pGraph);
What's the difference, why ?
...
HRESULT GrabberCB::SampleCB(double SampleTime, IMediaSample *pSample)
{
//how to copy the pSample to memory for late use?
}
In fact I need to first store it to memory,and late share it with other applications via pipe.
I'm pretty new to this, anyone knows?
...