同步两个不同的摄像头,并使用DirectShow进行显示 [英] Sync two different cameras and show both using DirectShow
本文介绍了同步两个不同的摄像头,并使用DirectShow进行显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用DirectShow.我该如何使用两种不同类型的相机并以同步方式从两个相机读取它们的数据并渲染细节?
I am working with DirectShow. How can I work with two different types of cameras and read their data and render detail from both cameras in a synchronized way?
我已经编写了一个程序,可以读取摄像机的原始数据,但是现在我需要使用2台摄像机并对其进行同步.
I have already written a program that can read a camera''s raw data but now I need to work with 2 cameras and synchronize them.
推荐答案
嗨:
您可以将两个相机源滤镜添加到滤镜图中.
还有两个视频渲染滤镜.
然后正确连接它们.
运行筛选器图,然后完成.
:laugh:
通常,您不必故意同步两个摄像头信号.
除非您需要精确的控制.
干杯!
Hi:
You can add two camera source filters to your filter graph.
And also two video render filters.
Then connect them properly.
Run the Filter Graph, then it is done.
:laugh:
In general, you don''t have to purposely sync the two camera signal.
Unless you need a precise control.
Cheers!
这篇关于同步两个不同的摄像头,并使用DirectShow进行显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文