directshow

Direct Print webpage in PDF file

In my site i m fetching my mysql data by using PHP. I want open that data in pdf file when i click pdf print button is it possible? ...

DirectShow.NET BitmapMixer Sample Using Direct3D Surface

I am trying to modify the DirectShow.NET BitmapMixer sample app to use a surface that is rendered with Direct3D. Instead of creating a Surface based on a GDI rendered bitmap, I am creating my surface like this: surface = new Surface(device, new Bitmap(1024, 768, PixelFormat.Format32bppArgb), Pool.SystemMemory); sprite = new Sprite(dev...

Has anyone used VisioForge products?

Has anyone used VisioForge products? If so, could you give me some feedback on the quality of their code and technical support? Thanks... --Bruce ...

C# + DirectShow.NET = Simple WebCam access?

I have found an example for accessing a webcam in C#. The example uses the DirectShow.NET library. I have tried to understand the code, but so far the only thing I could figure out is that somehow the usercontrol calls directshow to draw directly to the surface of the user control. I want to access each frame and put it into a Bitmap ob...

Turn Off Message Dispatch within A Handler

I am working on a Windows program which is completely single-threaded and has no protection to any data structure. However, the program use DirectShow API which open their own internal message-dispatching, IVideoWindow::put_Visible for example. So the event-handling function which invokes IVideoWindow::put_Visible Method give other event...

How to access an audio stream using DirectShow.NET C#

Hi, What I would like to do is to pass an arbitrary audio file to a DirectShow filtergraph and receive a (PCM audio) stream object in the end using .NET 3.5 C# and DirectShow.NET. I would like to reach the point that I can just say: Stream OpenFile(string filename) {...} and stream.Read(...) I have been reading up on DirectShow f...

How to deal with a second event-loop with message-dispatch?

I am working on a program which is essentially single-threaded, and its only thread is the main event-loop thread. Consequently, all its data structures are basically not protected by anything like critical region. Things work fine until it recently integrates some new functions based on DirectShow API. Some DirectShow APIs open a secon...

Screensaver does not play videos in Vista

One of our products is a screensaver that plays movies using DirectShow. In XP this screensaver works when no one is logged in. In Vista no movies are played when no one is logged in. The reason is that "CoCreateInstance" fails with error code 0x80070005 (= "Access Is Denied"). This is the code we use to initialize DirectShow: HRESULT ...

Is the directshow runtime library included with the DirectX runtime?

I'm writing an activex control that uses direct show to capture and display webcam data. If the DirectX runtime contains everything for directshow, i won't need to bundle it with the control. ...

IMovieControl::Run fails on Windows XP?

Actually, it only fails the second time it's called. I'm using a windowless control to play video content, where the video being played could change while the control is still on screen. Once the graph is built the first time, we switch media by stopping playback, replacing the SOURCE filter, and running the graph again. This works fine ...

Gridview dot net layout

I have 7 columns in a gridview. the 7th column holds a 50 word description of the other six. Where can i find help seeing how to lay out the rows so that the 6 fields appear and then the 7th is underneath it. i am struggling to find the template sample, or datalist view, or gridview that shows a sample of how to lay that out properly. In...

DirectShow on Windows Mobile

Creating Media player using directShow... can any one give me light upon this topic... I have to develop the media player for playing 3GP files on Windows Mobile Platform... my language for development would be CSharp... can you please help in with anything in this direction... please. ...

Multiple video with DXVA

Hi, I try to play multiple video using DXVA. And I saw some people metioned that there is a limitation about the number of video can be played using DXVA. I implemented my own testing project using MPCVideo decoder. 2 video on my application are played properly. If I play 3 video, they become jitter. If I play 4 videoes, the whole comp...

Using DirectShow AsyncReader with C#

I am running an AsyncReader to open a shared MPG file that is being downloaded by another application (progressive download). The shared MPG file is created with FILE-SHARE-READ | FILE-SHARE-DELETE | FILE-SHARE-WRITE shared permissions. I have even tried every combination of those flags. Here's the problem: within C# the AsyncReader.Loa...

[C#] DirectShow.NET - webcam resolution property page

I'm using DirectShow.Net to access my webcam. I want to display a property page for my webcam to set video capture resolution and FPS rate. I try this by using a sample demo code from DirectShow.NET samples - DxPropPages. Here is the code. However second tab in property window is disabled. I need this tab to be enabled so user can set ...

SetPosition

Task: grabbing arbitrary frames from mpeg2 video files. Now I use custom render filter for grabbing, but problem with positioning video on required frame. I use SetPosition(), after Pause() for passing frames through graph, wait for filter receive first frame and Stop(). If I get frame by frame, first i receive exact for this time fr...

Directshow in C# for windows mobile- strategy?

I'm trying to figure out how to add some directshow capabilities to a C# application (.net cf 3.5 running on mobile 6 and up), and I'm having a hard time figuring out how to bridge the gap between using unmanaged c++ class(es) in managed C#. I've already written the functionality I need in C++: Basically, I have a manager class that use...

Audio capture to a file using DirectShow from a mic (Any alternative to 'AudioRecorder WAV Dest' )

Hi, reference: http www codeproject com/KB/audio-video/cacsave.aspx?msg=3094764#xx3094764xx I can't find anything like 'AudioRecorder WAV Dest'. Is there any alternative for this as in my PC graphEdit shows these: (Part 1 n related has worked nicely.) WM Speech Encoder DMO, WMAudio Encoder DMO, IAC2, IMA ADPCM, PCM, Microsoft ADPCM, ...

Problem using "MS MPEG-2 Video Decoder" in DirectShow on Windows Vista

I'm trying to render MPEG-2 video files on Windows Vista "Ultimate" using DirectShow. (note: MS included their own DirectShow filter for decoding MPEG-2 in the "Utimate" version of Vista) I'm manually building the following DirectShow filtergraph: [file src] --> [MS MPEG-2 Demux] --> [MS MPEG-2 Video decoder] --> [custom video renderer]...

DirectShow stop/resume live stream

I'm using DirectShow to play audio/video files in my application. I use IGraphBuilder::RenderFile() to build the filter graph and the IMediaControl interface to play/pause/stop the media. This works fine for local media files, but causes problems with live mms streams. If I call IMediaControl::Stop() on a live stream, the stream will st...