Questions tagged [directshow]
The Microsoft DirectShow application programming interface (API) is a media-streaming architecture for Microsoft Windows. Using DirectShow, your applications can perform high-quality video and audio playback or capture.
directshow
2,040
questions
46
votes
4
answers
52k
views
How to process raw UDP packets so that they can be decoded by a decoder filter in a directshow source filter
Long Story:
There is an H264/MPEG-4 Source
I can able to connect this source with RTSP protocol.
I can able to get raw UDP packets with RTP protocol.
Then send those raw UDP packets to a Decoder[h264/...
38
votes
3
answers
94k
views
How to create virtual webcam in Windows 10?
I would like to take video from a webcam, render some text on the frames and do some motion tracking and pass it on to a virtual webcam so it can be streamed easily.
I found some answers on ...
22
votes
2
answers
35k
views
Virtual Webcam Driver
I want to develop a virtual webcam driver which from User mode I'll pass image to it and it will display as webcam output.
I don't want to use DirectX filter and CSourceStream etc. Because they don'...
22
votes
1
answer
3k
views
Forcing Mpeg2Demultiplexer to use ffdshow to render H264 Digital TV Video
I spend a lot of time trying to make DTVViewer sample of DirectShow work unfortunately with no success. The video format of DVBT network is H264 and I found that the IntelliConnect behavior of ...
20
votes
3
answers
2k
views
How to detect if HDMI cable is plugged into PCMCIA card / no signal?
I'm trying to write a simple helper application that is used to prompt the user to turn on a camcorder if no signal is detected, which in this case would mean the camcorder is off and/or the HDMI ...
17
votes
4
answers
8k
views
GStreamer or DirectShow for Windows development? [closed]
I'm implementing a lecture-capture project for a local university. Multiple video streams will arrive at one PC: the presenter's desktop slides, a video camera image of the presenter himself and ...
17
votes
1
answer
18k
views
DirectShow vs. Media Foundation for video capture?
I'm trying to choose between these two APIs for a Video Capture/Monitoring/Streaming application, and I'm not sure which is going to be the best bet.
A bit of background:
I need it to work with a ...
17
votes
1
answer
26k
views
Including a .idl file in a C++ project
I'm building a project in C++ which uses DirectShow's video capture library to connect to a camera. The video card manufacturer (BlackMagic) has provided .idl (Interface Definition Language) files ...
15
votes
7
answers
6k
views
How can I reverse engineer a DirectShow graph?
I have a DirectShow graph to render MPEG2/4 movies from a network stream. When I assemble the graph by connecting the pins manually it doesn't render. But when I call Render on the GraphBuilder it ...
14
votes
3
answers
9k
views
What does regsvr32 filename.ax actually do?
regsvr32 filename.ax
I just see it said something installed successfully,but what's the whole story?
14
votes
1
answer
46k
views
Virtual webcam input as byte stream
I dont have webcam. And I want to implement virtual webcam (or fake device driver may be) that would work as normal webcam(virtual webcam) and takes memory stream or bytes as input. How can I develop ...
14
votes
6
answers
21k
views
How can I create a video from a directory of images in C#?
I have a directory of bitmaps that are all of the same dimension. I would like to convert these bitmaps into a video file. I don't care if the video file (codec) is wmv or avi. My only requirement ...
13
votes
4
answers
9k
views
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 ...
11
votes
1
answer
8k
views
FFmpeg Hardware Acceleration -> GPU + DirectShow
Is there a hardware accelerated version of FFmpeg (e.g. a version that utilizes the GPU)?
Also, does anybody use FFmpeg with GPU support? Possibly for scaling and converting video format? Or, for ...
10
votes
2
answers
12k
views
Video Capture output always in 320x240 despite changing resolution
Ok I have been at this for 2 days and need help with this last part.
I have a Microsoft LifeCam Cinema camera and I use the .NET DirectShowLib to capture the video stream. Well actually I use ...
10
votes
1
answer
2k
views
Webcam - Camera Preview rotates wrong way
I would like your help please on a WebCamera problem. I've used a library available from Nuget; WebEye.Controls.Wpf.WebCameraControl (version 1.0.0). The URL is https://www.nuget.org/packages/WebEye....
9
votes
4
answers
6k
views
How to debug c++ DirectShow filter
What debugging tools are available for directshow filters? Presently, I have a project that compiles and registers a video source filter that I then setup a graph in GraphEdit. I am using c++ in ...
9
votes
4
answers
6k
views
Cross-Platform webcam access [closed]
I'm looking for a cross-platform video capture library, for webcam access. One that wraps V4L/V4L2 on Linux, DirectShow on Windows, and QuickTime on the Mac.
C or C++ is preferred, but I can work in ...
9
votes
1
answer
6k
views
How to get pointer to IUnknown in C#
.NET interop wraps COM objects into .NET objects (runtime-callable wrappers, RCWs), which hide the usual interface querying. In order to register a COM object representing a filter graph with the ...
9
votes
3
answers
59k
views
Reading a video with openCV
I have a video engine2.avi that I want to read and show with openCV. Here's my code:
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
...
8
votes
1
answer
9k
views
Getting DirectShow Samples on Windows 8
I want to create a Virtual Webcam for Windows 8 and I have two choices: DirectShow or Microsoft Media Foundation. After some looking around I found out that DirectShow has much more exmples and even ...
8
votes
1
answer
4k
views
DirectShow, Media Foundation, DXVA, what?
I'm tasked with revising an application which uses DirectShow for video rendering. The old application works fine, but it's starting to show age.
As I have a gaming background, I figured I should ...
8
votes
1
answer
9k
views
DirectShow - Getting video frames
I'm creating a Windows video capture application and am using DirectShow for capture. As each frame comes in, I want to grab it as a raw RGB bitmap into a buffer, at which point my code will do ...
8
votes
2
answers
3k
views
QueryInterface fails with E_NOINTERFACE on C#
Hi Stack Overflow members,
I'm a newbie to C# programming. I am developing a basic camera streaming and still capture application. Once user takes still, I will be displaying it on overlay using VMR9'...
8
votes
1
answer
4k
views
Can YUV -> RGB conversion be hardware accelerated?
We have an application that reads a GigE YUV video stream and displays it on the screen. By profiling, we have learned that the function converting each frame from YUV (UYVY) to RGB24 is taking at ...
8
votes
2
answers
413
views
In C#, what's a good way for displaying zoomable, pannable video?
I've been sorting through DirectX, DirectShow, etc. and can't figure out which .NET C# library would be the best.
I'm making an art installation that will feature full screen video. I'd like the user ...
7
votes
6
answers
23k
views
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 ...
7
votes
4
answers
12k
views
How to convert yuy2 to a BITMAP in C++
I'm using a security camera DLL to retreive the image from the camera. The DLL call a function of my program passing the image buffer as a parameter, but the image is in yuy2 format. I need to convert ...
7
votes
4
answers
11k
views
Error: Qt5 Video render error code 80040218
When running an application in Qt5 made using the QWebView, I accessed a page with a video player in HTML5, but the video does not play and qt/directshow shows the following error:
...
7
votes
1
answer
5k
views
Mac OS X equivalent for DirectShow, GraphEdit
New to Mac OS X, familiar with Windows. Windows has DirectShow, a good number of built-in filters, COM programming, and GraphEdit for very fast prototyping and snooping on the graphs you've ...
7
votes
2
answers
16k
views
DirectShow Source filter using Dekstop window as source
I am looking for examples of a DirectShow Source filter that would display a Desktop Window. I am sure there should be examples, but I haven't yet found them. Perhaps I am using the wrong terminology.
...
7
votes
4
answers
6k
views
Regsvr32 strange behaviour = > Regsvr32 does not give any success or failure message
I have an directShow filter: MyFilter.ax
When I try to register MyFilter.ax with Regsvr32 utility it gives NO error or any message(success or failure). But the filter is not registered.
Regsvr32 ...
7
votes
3
answers
9k
views
How can I learn a DirectShow programming? [closed]
I'm a .Net C# Developer. I want to develop the media programming about video/audio codec, capture media from source, etc. I'm going to use the DirectShow Lib, but I read it on MSDN, and I'm very ...
7
votes
1
answer
3k
views
"Preferred" method to access webcam from C# in Windows Vista / 7
I've found plenty of posts discussing WIA, Windows Portable Devices API and DirectShow (and giving example code) for accessing a webcam from C# but when you research each method you seem to come ...
7
votes
1
answer
4k
views
How to run video files continuously in Delphi?
I am using Delphi 5.
I want to know when avi file play is completed using 'TFilterGraph'. I want to run number of avi file one after another automatically. So I have downloaded DSPack and used '...
7
votes
1
answer
6k
views
Using DirectShow to capture frames and OpenCV to Process
I have made two different solutions for Video-to-Image Capturing and was wondering if I could intertwine the best of both worlds. I am currently using DirectShow to load in an AVI file and capture ...
6
votes
2
answers
3k
views
ISampleGrabber deprecated?
I have an old computer vision experiment that uses Video for Windows to grab frames from a camera connected to the PC. It's a hack, it uses VfW to create a preview window, then it does a GetDIBits ...
6
votes
3
answers
3k
views
Create COM object from file without regsvr32
Is it possible to create an instance of a COM object with just the dll and no regsvr32?
My main goal here is to create an instance of a directshow filter and insert it into my graph-but I don't want ...
6
votes
10
answers
16k
views
Real-time video encoding in DirectShow
I have developed a Windows application that captures video from an external device using DirectShow. The image resolution is 640x480 and the videos saved without compression have very huge sizes (...
6
votes
1
answer
6k
views
How to play multiple videos in sync over multiple monitors using directshow?
I´ve successfully managed to play up to 8 videos in sync using a single video window with multiple streams using the directshowlib for c#. The problem is the video window plays only on a single screen ...
6
votes
3
answers
66k
views
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 ...
6
votes
3
answers
11k
views
How to use/install custom Directshow filter
I have custom compiled directshow filter - filter.DLL - but how to use, or install this filter in system?
6
votes
1
answer
7k
views
Why might WS_CLIPCHILDREN be necessary for the display of DirectShow window on XP (but not Vista or Windows 7)?
I wrote a program to play MPEG video on a window (of course, DirectShow will open its own window as the sub-window of that window). On Windows Vista and 7, the program works fine. But on XP, the video ...
6
votes
1
answer
10k
views
Building Intel Media SDK Directshow sample: "Cannot open include file: 'streams.h': No such file or directory"
As the title says, I've got this error. I've got installed:
Visual Studio Professional 2010
Microsoft Windows SDK 7.0A (set as default)
Microsoft Windows SDK 7.1
Microsoft Windows SDK 6.1 (...
6
votes
3
answers
5k
views
Hardware accelerated video in DirectShow / WinForms
Currently prototyping a Windows .NET app that needs to play back high definition WMV and H264 video. My test files are full 1080p.
The target hardware has weak Atom processors but strong NVidia 9400 ...
6
votes
4
answers
13k
views
"Fake" DirectShow video capture device
This is tangential to the last few questions I've asked.
I need to get video from an IP webcam (SNC-RZ25N) to Flash Media Server. I'd rather not have to use Windows, but if it makes things easier, I ...
6
votes
2
answers
6k
views
VideoCamera get supported resolutions
I'm using DirectShow library (DirectShowLib-2005.dll) with C# to capture a video camera image. When I'm definig the capture object's size, I have these parameters:
const int VIDEOWIDTH = 640; // ...
6
votes
1
answer
6k
views
Using a DirectShow filter without registering it, via a private CoCreateInstance
So basiclly I read this, http://www.gdcl.co.uk/2011/June/UnregisteredFilters.htm.
Which tells you how to use filters without registering them. There are two methods, new and using a private ...
6
votes
1
answer
15k
views
DirectShow: webcam preview and image capture
After looking at a very similar question and seeing almost identical code, I've decided to ask this question separately. I want to show a video preview of the webcam's video stream to the default ...
6
votes
1
answer
2k
views
Question about setting up FIle Writer in C#
Im using DirectShowLib in C#. I want to use File Writer in C# to set a file output. I want to use File Writer because Graph.SetOutputFileName() wont connect to my encoder, but File Writer will. How ...