在一个屏幕上合并2个图像输出(HDMI,DVI,VGA或其他) [英] Merge 2 image outputs (HDMI, DVI, VGA, or other) on one screen

查看:705
本文介绍了在一个屏幕上合并2个图像输出(HDMI,DVI,VGA或其他)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找不常见的东西: 一种设备,可以将来自2个输出(HDMI,DVI,VGA或任何其他类型的图像输出)的图像合并为一个在屏幕上显示的最终图像. 输出可以是相同类型(例如2个HDMI),也可以是不同的,只要可行就行.如果不清楚,下面是一个简单的模式:

I am looking for something uncommon: A device that would allow to merge the image coming from 2 outputs (HDMI, DVI, VGA or any other type of image output) into one final image displayed onscreen. The outputs can be of the same type (e.g. 2 HDMIs) or different, anything that works would do. In case that isn't clear, here is a simple schema:

它可以以不同的方式工作,例如具有优先级的系统(例如,输出1写入其图像,输出2覆盖非透明像素),而不是通过加法(例如,如果输出1上有红色像素0xFF0000)并且在输出2的相同位置上有一个绿色像素0x00FF00,则该像素变为黄色0xFFFF00),或任何其他方法.

It could work in different ways, for example with a system of priority (e.g. output 1 write its image and the output 2 overwrite non transparent pixels), less ideally by addition (e.g. if there is a red pixel 0xFF0000 on output 1 and a green pixel 0x00FF00 at the same position on output 2, the pixel becomes yellow 0xFFFF00), or any other method.

我检查了可用的设备,但似乎没有一个能够做到这一点. 另一个解决方案是拥有一台单独的计算机,该计算机能够捕获来自主计算机输出的视频输入,进行合并操作并将图像发送到屏幕上进行显示. 我可以找到的视频捕获设备只有一个输入和一个输出来记录然后显示图像(这些通常是游戏流设备),并且不允许我实时合并图像. 我找不到具有多个输入的计算机视频捕捉卡,我也可以使用这些图像来合并图像.

I checked the available devices and none of them seem to be able to do this. Another solution would be to have a separate computer, able to capture video input from the outputs of the main computer, does the merging operation and send the image to the screen for display. The video capture device I could find only have one input and one output to record then display the image (these are generally game streaming devices) and wouldn't allow me to merge the images in real time. I could not find a video capture card for computer with multiple inputs that I could use to merge the images either.

如果您对如何完成此操作有任何想法,请告诉我.

If you have any idea on how to accomplish this, please let me know.

谢谢,祝你生活愉快.

推荐答案

在广播行业中,我们称您正在寻找视频混合器.电视台使用的电视非常昂贵,但可以保证24/7全天候稳定运行.这些家伙的信号不是HDMI而是SDI.因此,从HDMI捕获时,他们只需要一个HDMI到SDI转换器即可.

In the broadcast industry we call what you are looking for a video mixer. Those that TV stations use are incredibly expensive but guarantee stable 24/7 operations. The signals for those guys are not HDMI but SDI. So when capturing from HDMI they just get a HDMI to SDI converter.

只能通过投资来解决的基本问题是,您需要一些可以录制hdmi的设备.有很多制造商,我可以推荐的便宜制造商是blackmagic.

The base problem that can only be solved by investing money is that you need some device that allows you hdmi recording. There are many manufacturers out there, a cheap one i can recommend is blackmagic.

在他们的网站上,您可以找到诸如卡扣卡之类的产品,这些产品允许通过PCIe捕获HDMI,您可以抓住其中的2个卡扣卡.或者,您也可以使用USB3或Thunderbolt解决方案来获取其外部卡.但是要为USB3上的不稳定操作做好准备.未压缩的视频信号实际上是大量数据,USB3并不是24/7操作的记录.通常,外部连接不利于24/7操作中的海量数据.

On their website you find products like decklink cards that allow HDMI over PCIe capturing, you could grab 2 of such decklink cards. Or you go for their external cards using USB3 or Thunderbolt solutions. But be prepared for unstable operations on USB3. Uncompressed video signal is really a lot of data, USB3 is just not ment for 24/7 operations. External connections in general are not good for those huge amounts of data in 24/7 operations.

当两个信号同时进入一个盒子时,您需要选择所需的软件.如果您是c ++的人,则可以直接使用Blackmagic的SDK.在任何其他情况下,您都应该注意已经支持感兴趣的捕获卡的软件.例如. ffmpeg似乎支持PCIe卡连接卡.对于这类任务,我最喜欢的SDK是来自medialooks的MFormats SDK,它虽然花了一些钱,但可以大大加快并简化此类任务的开发.

When you have both signals running into one box, you need to choose for the software of interest. If you are a c++ guy, you can directly go with the SDK from Blackmagic. In any other case, you should look out for software already supporting the capture card of interest. E.g. ffmpeg seems to support PCIe decklink cards. My favourite SDK for this kind of task is the MFormats SDK from medialooks, it costs some coins but it massively speeds up and eases development for such tasks.

关于透明度,我会拥有更多的东西,但是我想我写的足够了.

Regarding transparency i would have much more but i guess what i wrote is enough.

我知道我不应该写一个答案,而是投下反对票并发表评论,因为这根本与发展无关,但是发表评论不允许我将所有信息都放在这里.

I know i shouldnt have written an answer but downvoted and commented instead as this is not development related at all but a comment would not allow me to put all the infos in here.

这篇关于在一个屏幕上合并2个图像输出(HDMI,DVI,VGA或其他)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆