渲染器过滤器 [英] Renderer filter
问题描述
我的过滤器工作很奇怪:连接到图形时,源过滤器读取avi电影,这很好,当连接到图形时,源过滤器读取wmv电影,wmv解码器运行的处理器时间很多-我每秒获得7帧.
我的过滤器使用ARGB32数据格式,使用direct3d显示数据.
播放wmv电影时,为什么每秒获得7帧?
如我的探查器所示,有一个例外:
My filter works strange: when connected to graph, where source filter reads avi movie, it its fine, when connected to graph, where source filter reads wmv movie, wmv decoder runs to much processor time - I get 7 frames per seconds.
My filter uses ARGB32 data format, displays data using direct3d.
Why do I get 7 frames per second, when displaying with wmv movies?
There is an exception as showed my profiler:
CPU Time Module Function (Full)
BaseThreadInitThunk<-RtlInitializeExceptionChain<-RtlInitializeExceptionChain 12.131s qasf.dll DllCanUnloadNow
CPU Time Module Function (Full)
BaseThreadInitThunk<-RtlInitializeExceptionChain<-RtlInitializeExceptionChain 6.393s wmvdecod.dll DllGetClassObject
(更新)
是真实的.
您是否曾经遇到过wmvdecod.dll(WMVideo解码器DMO适配程序)问题?
现在,我已将源过滤器(同步)连接到升级的WMDemux过滤器.
我每秒获得16-22帧.
原因可能是源过滤器(同步)或WMVideo解码器DMO装配器.
仅当其他效果过滤器在图形中时显示.
我已经从使用ffdshow_rev3631_20101115_clsid的图表中排除了WMVideo解码器DMO拟合器.现在它可以正常工作.
(Update)
It is actual.
Have you ever faced wmvdecod.dll (WMVideo Decoder DMO fiter) problems?
Now I have Source Filter (Sync.) conected to upgraded WMDemux filter.
I got 16-22 frames per second.
The reason may be Source Filter (Sync.) or WMVideo Decoder DMO fiter.
It appears only when other our effects filter is in graph.
I have excluded WMVideo Decoder DMO fiter from graph using ffdshow_rev3631_20101115_clsid. Now it works fine.
推荐答案
应该使用好的(自己的)源过滤器.
Good (own) source filter should be used.
这篇关于渲染器过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!