問題描述
我正在使用 Flash Live Encoder.它使用相機來傳輸視頻.支持論壇說我可以創建我需要的自定義直接顯示過濾器和流數據.我不明白直接顯示過濾器將如何顯示在實時編碼器的源列表中.我嘗試使用一些商業虛擬相機,它工作正常,但它不能使用來自網絡流的源.
i'm working with Flash Live Encoder. It's using camera for streaming video. Support forum say's that i can create custom direct show filter and stream data that i need. I cann't understand how direct show filter will display in the source list of the live encoder. I've tryed to use some commercial virtual camera and it work's fine, but it cann't use source from network stream.
總結.我有幾個網絡流.我認為我必須為每個人創建虛擬相機.但是如果我在 C# 上找到帶有直接顯示過濾器的示例,我找不到虛擬相機.
Summary. I have a several network streams. I think that i must to create virtual camera for each one. But if i find examples with direct show filter on C#, i cann't find for virtual camera.
推薦答案
這里有一個如何做虛擬捕獲設備的例子.您將不得不使用 C++ 來實現它.您還必須實現代碼以獲取網絡流并將其解析為樣本以供 DirectShow 理解.
There is an example here of how to do a virtual capture device. You will have to use C++ to implement it. You will also have to implement the code to get the network stream and parse it into samples for DirectShow to understand.
捕獲源過濾器過濾器(版本0.1) 86 KB 壓縮,包括二進制文件.一個模擬源過濾器的示例視頻捕獲設備貢獻...視頻捕獲設備貢獻...
Capture Source Filter filter (version 0.1) 86 KB zipped, includes binaries. A sample source filter that emulates a video capture device contributed...video capture device contributed...
http://tmhare.mvps.org/downloads.htm
這篇關于網絡流的虛擬攝像機/直接顯示過濾器的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!