Merge 2 image outputs (HDMI, DVI, VGA, or other) on one screen

[亡魂溺海] 提交于 2020-01-15 14:11:11

问题


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:

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.

Thank you and have a good one.


回答1:


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.

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.

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.

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.



来源:https://stackoverflow.com/questions/49543935/merge-2-image-outputs-hdmi-dvi-vga-or-other-on-one-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!