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.

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 is a part of Windows SDK. Earlier, it was a part of DirectX 9.0 SDK (the last version outside of Windows SDK was dated February 2005).

2033 questions
45
votes
4 answers

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/mpeg-4] [DS Source Filter] But those "raw" UDP…
Novalis
  • 2,265
  • 6
  • 39
  • 63
37
votes
3 answers

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 stackoverflow suggesting that I should use DirectShow.…
Lukáš Neoproud
  • 872
  • 3
  • 10
  • 20
22
votes
2 answers

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't work on some programs which doesn't use DirectX…
Franklin
  • 319
  • 2
  • 3
  • 5
22
votes
1 answer

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 IFilterGraph prefers to use Mpeg2 Video format. For…
Bakhshi
  • 1,299
  • 16
  • 25
20
votes
3 answers

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 cable is not plugged into the PCMCIA capture card. If…
klcjr89
  • 5,862
  • 10
  • 58
  • 91
17
votes
1 answer

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 which add new capture graphs to the standard…
wyatt
  • 3,188
  • 10
  • 36
  • 48
17
votes
1 answer

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 wide range of video capture cards/dongles. The app…
Roddy
  • 66,617
  • 42
  • 165
  • 277
17
votes
4 answers

GStreamer or DirectShow for Windows development?

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 optionally a digital whiteboard capture. These…
StackedCrooked
  • 34,653
  • 44
  • 154
  • 278
15
votes
7 answers

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 renders fine. Obviously there is some setup step…
ZebZiggle
  • 678
  • 2
  • 9
  • 11
14
votes
3 answers

What does regsvr32 filename.ax actually do?

regsvr32 filename.ax I just see it said something installed successfully,but what's the whole story?
wamp
  • 5,789
  • 17
  • 52
  • 82
14
votes
6 answers

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 is that I specify the frame rate. This does not…
JP Richardson
  • 38,609
  • 36
  • 119
  • 151
13
votes
1 answer

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 this? Can DirectShow be helpful in this? I dont…
Nikunj Patel
  • 21,853
  • 23
  • 89
  • 133
13
votes
4 answers

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…
JimDaniel
  • 12,513
  • 8
  • 61
  • 67
11
votes
1 answer

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 example, use DirectShow for image scaling and…
NoviceAndNovice
  • 705
  • 2
  • 13
  • 21
10
votes
2 answers

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 WPFMediaKit, but I am in the source code of that dealing…
Adam
  • 16,089
  • 6
  • 66
  • 109
1
2 3
99 100