Search code examples
videodrivervirtualdirectshowrtsp

RTSP stream to virtual video device on Windows 8


I have searched hi and low but I have not found something that could point me to creating a windows application that grabs an rtsp stream (H.264) and flushes it to a virtual video device. I need this so that I can select that virtual video device instead of my connected cam in my flash application. Most of the posts in stackoverflow refer to already build apps, which is not really helpful eg. Convert RTSP stream to virtual web camera

I could use DirectShow on Windows 8 but found out that is being phased out on Windows 8 SDK ( I downloaded windows sdk but there were no directshow samples)

Also I found this article about directshow and filters but it seems that is not great help to me since it refers to old versions of windows. http://www.infognition.com/blog/2013/accessing_raw_video_in_directshow.html

So, how do you program DirectShow features/filter graphs on windows 8. I have looked into Windows Presentation Foundation but there are not a lot of samples, furthermore directshow seems to be much more straighforward.

why did Microsoft go this way anyway?


Solution

  • Actually VMIX video mixing software will pull from just about any stream, diretx compatible video capture card (including the easy cap 9$ capture card on ebay) and then output to a directshow compatible virtual device, AND it can do it to two virtual devices at the same time..

    AND the free version allows up to 4 inputs with flawless switching, there are pay versions that allow 1000 inputs. I currently am using it for it weekly broadcast capturing with 3 usb capture cards from camcorders componant outputs, mixed with a title overlay, outputs to a virtual device that microsoft expressions encoder then grabs transcodes down and send to windows media services server. At the same time VMIX records at 360p to an h.264 file, and streams to the local netowrk on port 80 AND creates another virtual device that is grabbed by another running copy of expressions encoder and sent to a another server in IIS smooth streaming format..

    VMIX is a great FREE and inexpensive program from basic everything video to complex video mixes and file conversions..