directshow

How to turn Sequence of images into video using DirectShow filters?

How to turn Sequence of images into video using DirectShow filters? I have image A and image B and image C. I want to create a DirectShow graph (Using GraphEdit or with C\C++\C# for example) to create a video of 3 frames in duration where first frame is image A second image B and so on =) How to do it? ...

How to create a DirectShow graph which would wait for incoming images and add them as frames into video file?

How to create a DirectShow graph which would wait for incoming images and add them as frames into video file? Using GraphEdit or with C\C++\C# So I want to have a graph which would work and wait for images incoming into him in any way you think is most easy (for example We can have a folder from where DSfilter would be able to take ima...

How to convert DirectShow Filter to C++\C#?

So we have some filter for DS. It works - uses standard win dll's. We want to convert that filter to some sort of non-using DS program. So we want it to call dlls in write order, do all what DS is doing but not be in any way dependable on DS - only on filter dll's. So... How to convert DirectShow Filter to C++\C#? ...

Where to find DirectShow Graph for working with AverMedia TV sets examples?

I have an old AVerTV USB2.0 PLUS. I have its old drivers and old program for working with it. I want to write my own program (or at least simple graph for GraphEdit) to use this TV device in Windows 7. So for the beginning I want to see some examples of creating DS filters for AVerTV's (model does not matter in general I hope) . So my q...

How to use SampleGrabber with Matroska Muxer in DirectShow?

I made a simple graph to write MKV file. But I do not want to use file writer. I want to use SampleGabber and get stream using simple program. Problem is that I get data from anything but Matroska muxer!( What shall i do? So my question is How to use SampleGrabber with Matroska Muxer in DirectShow? ...

Matroska size problem?

I have size problem – I’ve done a program in graph edit to encode video from virtual camera. I save it into Matroska and AVI (for encoding to H264 I use x264) 5 seconds of .mkv (H264) weight 2 mb while 5 seconds of .avi (H264) weight 200 kb. 5 minutes of .mkv (H264) weight 2.1 mb while 5 minutes of .avi (H264) weight 5 mb. Is it conn...

Is there any XTL DirectShow® Editing Services visual editor?

Is there any XTL Microsoft® DirectShow® Editing Services visual editor? or we shall write all that xml by hand? BTW: Microsoft® DirectShow® Editing Services supports an Extensible Markup Language (XML) persistence format, called XTL. ...

How to write directshow filter to process two input sources ?

I want to look for some source codes about directshow, which implement this feature : Implement one image process filter for two input video source pins, and render the result. For example, open two video files, process each frame from two videos , then composite those two frames into only one output frame. Are there any existing filte...

direcrtshow:calll to Renderstream method returns -2147024809

I'm building .NET application that uses DirectX API for web camera device rendering. I'm using DirectShowNet Library . When I create instance of for ICaptureGraphBuilder2 interface and call RenderStream like bellow Guid cat = PinCategory.Still; Guid med = MediaType.Video; hr =capGraph.RenderStream(ref cat, ref med, capFilter, null,...

How to get video frame using DirectShow.net?

As part of a program I have to be able to pull a few random frames from a user specified video file. I do not have any experience with video processing programming, so this is new to me. I've determined that I need to use DirectShow.net to do this on Windows XP using .Net, but I cannot figure out how to get it done. I'm trying to use th...

Estimating remaining video recording time

Hey, I am developing a piece of software that records video from a live source to WMV files (using WMV1 compression). I am attempting to provide a rough estimate of the recording time remaining, based on the space left on the storage hard drive. I cannot simply base the output file size on the bit-rate of the codec, unfortunately, s...

How to perfrom video editing with Silverlight?

I would like to port an ActiveX of mine (to Silverlight) that have the following features: Embedding a logo image in any video file. Embedding subtitles in any video file. Cropping any video file (for example: cropping 10 seconds of a 1 min. video). Save the video file result (by the current encoders of the client). The current Activ...

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 APIs? The motivation is simply we use the standard Windows PlaySound method for WAVs, and ...

Direct Show (AMCap) - Platform SDK

Hi, I am trying to capture images from multiple web cams simultaneously and save them automatically with minimum delay using C++. I also want the program to be able to alter the parameters of the web cam when ever needed. I was hoping to build Direct show samples (AMCap) on Platform SDK, and then edit the code to suit my application. But...

Missing 'qedit.dll' in Windows Server 2008?

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 anyo...

Where can I find a thorough DirectShow tutorial?

I've read through the MSDN documentation on DirectShow and it's still confusing. I feel like I need more context for what the objects are: Graphs, Pins, Filters...etc. A Google search doesn't give me much to work with. What do I need to grok DirectShow? EDIT: The wikipedia page on DirectShow does a pretty good job. ...

multiple web cams in AMCap

Hi, I built the AMCap sample under direct show in SDK. It is able to handle 2 or more web cam, how do I modify the program for me to use them simultaneously… like press one button that says ‘start capture’ and make sure that all the cameras start capturing and one button that says ‘stop capture’ to stop all the cameras. i want the frame...

HTC camera initialization disables the phone hardware button?

Hi there, I have the following problem: I implement an application that uses DirectShow to capture video and audio data. On HTC phones (Touch Pro 2, Touch Diamond 2, Touch HD) it seems, after initializing the camera via DirectShow (same code is used as CameraCapture and CameraControl sample applications) the application will not react to...

marshalling custom directshow filter interface in c#

Hey folks, I've been stuck on this for the past few days. I have a custom COM interface that I am able to cast to, but when I call one if it's functions I get an AccessViolationException because the this pointer has changed. The below code represents the two interfaces that I am marshalling. All methods result in the same problem. Any...

Using a C++ callback interface in C#

Hey, I am writing an application that needs to record video using DirectShow - to do this, I am using the interop library DirectShowLib, which seems to work great. However, I now have the need to get a callback notification as samples are written to a file, so I can add data unit extensions. According to the msdn documentation, in C++...