作者zaqimon (dream)
看板Programming
标题Re: [问题] 如何知道使用的是DirectShow?
时间Fri Oct 12 15:43:29 2012
我猜最简单的是看他有没有呼叫到old32.dll的CoCreateInstance
要更精确可能要hook CoCreateInstance检查CLSID参数吧
不过在Windows下面使用webcam应该不管怎样都会用到DirectShow或VFW之类的吧
例如在我印象中VLC播放档案不会使用DirectShow filter
而是全程使用自带decoder
但是VLC在开启装置的那个选单很明显就是DirectShow enumerate出来的
我没用过Linux不清楚它在Linux下是如何实作(v4l2??)
不过要存取webcam一定是OS dependent的吧
这应该叫做"部分"使用DirectShow吗?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 180.217.21.148