Stream contents of a single window

I've been using VLC to stream my desktop over the network and it's great. However, I would like to stream only the contents of a specific window (like Alt + PrintScren works for screenshots).

Is there some way to do this on Windows?


You have to specify the window coordinates + width and height.

VLC Command Line : Screen Input section

Capture 640x480 pixels in the top left corner:

 "C:\Program Files\VideoLAN\VLC\vlc.exe" --screen-width=640 --screen-height=480