directshow

Virtual Webcam Driver

不羁岁月 提交于 2019-11-26 19:25:15
问题 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 for capturing webcam image. I have to write a kernel mode device driver so. Any ideas? I tried testcap from DDK samples, but it doesn't process image from user mode and doesn't get any input, just it displays 7 colors in webcam... Any help would be

How can I reverse engineer a DirectShow graph?

落花浮王杯 提交于 2019-11-26 17:55:40
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 that I'm not performing on some filter in the graph that GraphBuilder is performing. Is there any way to see debug output from GraphBuilder when it assembles a graph? Is there a way to dump a working graph to see how it was put together? Any other ideas for unraveling the mystery that lives in the DirectShow box? Thanks! -Z You can watch the graph you

How to process raw UDP packets so that they can be decoded by a decoder filter in a directshow source filter

蹲街弑〆低调 提交于 2019-11-26 10:12:53
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 packets can not be decoded by the Decoder[h264/mpeg-4] filter Shortly: How do I process those raw UDP data in order to be decodable by H264/ MPEG-4 decoder filter? Can any one clearly identify steps I have to do with H264/MPEG stream? Extra Info: I am able to do this with FFmpeg... But I can not really figure out how FFmpeg processes the raw data so

How to process raw UDP packets so that they can be decoded by a decoder filter in a directshow source filter

血红的双手。 提交于 2019-11-26 08:50:42
问题 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 packets can not be decoded by the Decoder[h264/mpeg-4] filter Shortly: How do I process those raw UDP data in order to be decodable by H264/ MPEG-4 decoder filter? Can any one clearly identify steps I have to do with H264/MPEG stream? Extra Info: I

Virtual webcam input as byte stream

≡放荡痞女 提交于 2019-11-26 07:36:00
问题 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 know anything. Please help i have found that there are many software that takes video file as input but I want to have byte stream as input. 回答1: Here you go: DirectShow Source filter using Dekstop window as source Writing a Direct Show Source