使用多个实例 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屋!