使用多个实例VMR 9的黑色视频 [英] Black video using multiple instances VMR 9
问题描述
我正在创建类似应用程序的视频墙。该应用程序创建多个窗口来显示视频,并且每个窗口都有自己的过滤器图。在典型配置中,这些窗口将分布在两个显示器上,总共12个窗口。
I am working on creating a video wall like application. The application creates multiple windows to display video and each window has its own filter graph. In a typical configuration, these windows would be spread over two displays for a total of 12 windows.
但是问题是,每当我尝试运行该应用程序时,窗口显示黑色视频。没有崩溃,并且每个图都正确呈现而不会引发任何错误。显示黑色视频的窗口是随机的。
But the problem is whenever I try to run the application, a few of the windows display black video. There are no crashes and each graph is rendered correctly without throwing any errors. The windows displaying the black video are random.
我已经在两个不同的图形卡上对此进行了测试,结果相似。
I have tested this on two different graphics card with similar results.
有人可以帮助您确定问题吗?
Can someone please help identify the issue
推荐答案
VMR9s / EVR由有限的资源支持,您已达到极限。没有独特的错误代码或其他众所周知的/可靠的方法来检测您是否遇到麻烦。
VMR9s/EVRs are backed by limited resource, you are hitting the limit. There is no distinctive error code or otherwise well known/reliable way to detect that you are in trouble.
您的解决方法是要么实现自定义分配器/表示者来管理表面,或使用VMR7。
Your workaround is to either implement custom allocator/presenter to manage surfaces, or use VMR7 instead.
另请参见:
- StressEvr:那么,您可以用一个小工具/测试平台来做多少个EVR?来查看有多少个实例您可以创建特定分辨率和像素格式的VMR7 / EVR
- StressEvr: So, how many EVRs you can do? with a small tool/testbed to see how many instances you can create, VMR7/EVR, at specific resolutions and pixel formats
这篇关于使用多个实例VMR 9的黑色视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!