directshow

GMFBridge Problem When Seeking Source Graph

I'm trying to use GMFBridge to switch between multiple stream buffer graphs and I seem to have two problems. Here's a diagram of the graphs: http://massivefailure.net/dshowgraphsalt.jpg The VMR on the the bridge source graph that's connected to the bridge render graph is very choppy -- displaying a new frame every 4-5 seconds. If I se...

DirectShow: ieee1394id <- does that also describe USB devices?

I am trying to understand a DirectShow library implementation. What is a IEEE1394-id in DirectShow terminology? IEEE1394 is firewire. Does it usually also describe ids for USB devices? it gets retrieved by IAMExtDevice::get_ExternalDeviceID() ...

DirectShow DVD playback

I have created a custom allocator/presenter that works fine for playback of normal media files. However, when I use the following code to try to playback a DVD, it fails with a stack overflow exception. vmr9_ap = new vmr9ap(); HMONITOR monitor = MonitorFromWindow(hwnd, NULL); IGraphBuilder *graph; IBaseFilter *filter; IDvdGraphB...

DirectShow API for analog tuning to put a frequency?

I'm looking for the interfaces in DirectShow that will let me push a frequency only. The IAMTVTuner interface allows you to 'put_channel' but this requires pretuning your card. I want to just specify the frequency to tune to. Is this possible with analog? (you can do it easy with the interfaces for digital streams however). ...

Extract frame from VOB(DVD) file

I need to generate thumbnail from video files, i m using IMediaDet to get frame from video, it not working for (*.vob) file DVD, how can i get thumbnail from DVD in C# .. ...

Minimising DirectShow Memory Consumption

Hey, So, I have an application which streams two video sources over a local area connection. Each video has its own filter graph, puts the video through a decoding filter, and an Inifinite Pin Tee filter, and then there is a GMFBridge filter, which is used to turn on/off recording using the WM ASF Filter. There is also a video renderer...

Custom WM profile - issues with codec

Hello I create my custom WM encoder profile. The reason I need a custom, non standard WM profile is that I need that the video resolution must be the same as input video stream. I created below profile but after I encode my video and audio with it, the WMP while loading says that the WMV1 codec is not found and prompts me for downlo...

Displaying live video from a raw uncompressed byte source in C#: WPF vs. Win forms

I have a live 16-bit gray-scale video stream that is pushed through a ring-buffer in memory as a raw, uncompressed byte stream (2 bytes per pixel, 2^18 pixels/frame, 32 frames/sec). (This is coming from a scientific grade camera, via a PCI frame-grabber). I would like to do some simple processing on the video (clip dynamic range, color...

TrustedInstaller is preventing registry writes to HKCR\DirectShow\MediaObjects\Categories

Hi, I'm trying to install a DMO which requires me to write to HKCR\DirectShow\MediaObjects\Categories\57f2db8b-e6bb-4513-9d43-dcd2a6593125, this registry path is protected by TrustedInstaller and it seems that this protection is new in Windows 7 (it work on previous platforms). How am I suppose to install DMOs? There are plenty of p...

Display active window for video in custom allocator

I am displaying video over panel using custom allocator sample, for some file it play video on some active window and this show separately . how can i avoid this unwanted window to be open. ...

Custom File Format And Codec ??

Hi everyone; I'm messed up with codec issue for days, and still couldn't see the big picture yet. It is my first time do deal with audio/video formats and codecs. So I really need some help about that. Here is the work. I'm writing several components that is responsible for encoding and decoding customized mpeg files. On top of standar...

How to make the render filter not to maintain the aspect ratio?

I have write a DirectShow video transform filter, which is inserted between a video decoder and a video render filter. It will add a photo frame around the input picture. So the output picutre's size and aspect ratio is different from the input one. Unfortunately, I found the video render would maintain the original aspect ratio and so...

DirectShow on multiple machines with wcf

Is it any how possible to run DirectShow on multiple machines with wcf? ...

DirectShow Editing Services on multiple machines in parallel?

Is it in any way possible to process at least 1 DShow video project on multiple machines in parallel at the same time for faster rendering or just for fun? In any language? With help of any program? ...

Has any one Used DMO in C#?

Has any one Used DMO (Microsoft DirectX Media Objects) in C#? Not using DShow. Any Libs, Wrapers, etc? ...

Video mixer filter

I need to find a video filter in order to mix multiple video streams (let's say, maximum 4). I've found a video mixer filter from MediaLooks and is ok, but the problem is that i'm trying to use it in a school project (for the entire semester) and so the 30 days trial is kind of unacceptable. So my question to you is that: are you aware ...

Use Winsock insde DShow Filter

Hi, I am trying to develop a DirectShow filter with internet access. When I try to use Winsock, 1) In TCP, I wait connections but cannot access to server (try with Telnet) and 2) In UDP in data wait step (recvfrom(...)) program breaks. Is it not possible? Or do I have to change library settings for the filter? ...

DirectShow Capture with delayed play

I'm developing a custom video capture application. The idea is to capture output from a webcam, and simultaneously display a delayed preview. For instance if a user specifies a delay of 5 minutes, after 5 minutes of video capture the video preview will star playing what was captured 5 minutes ago, and will keep playing until five minu...

C# - Encode ASF with a custom data stream

Hi all. I'm trying to create an ASF file and instead of using sound or video data I want to create a stream made of custom packets with binary data. Can someone provide a code example of a couple of things : 1) setting up a profile. 2) configuring a custom stream 3) inserting custom packets into the stream. Much appreciated. Thanks! ...

How to set brightness and contrast and saturation of video/Image in directx

I am playing video using custom allocator using directshow. I want to set brightness, contrast and saturation of a video. How can I do this? ...