Electronic – Streaming a section of video to an external display

processingvideowindows

I want to be able to connect an external display to my Windows PC (in addition to the existing one), and stream a selected portion of the screen to this display. For example, if I have a small terminal window open on my main monitor, then this smaller display will show only that terminal window, not the rest of my desktop. I guess it's like Picture In Picture (PIP) on a TV, but for a PC instead.

Can anyone recommend the easiest way to achieve this? I don't mind getting into the video programming side of it (maybe using DirectShow?), but if there is a hardware solution, eg on a DSP board,then that would be great.

Best Answer

This is probably off-topic, because the easiest way to achieve this is to use the tools already provided by your graphics card.

Mirror your display, adjust the resolution of your screen to that of the window, and pan the screen until the desired area is displayed.

If you want to be able to select an arbitrary window to be mirrored, you need to add this functionality to your window manager, which is impossible on Windows (but should be doable for most Linux window managers). If you want to do this with an app you're developing (or an open-source terminal), just use a second display.