Skip to content

I wanted a way to display an NDI input for program and preview windows, or just to monitor a video input in a borderless window

Notifications You must be signed in to change notification settings

woejefe/PiP_Video_Window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

PiP Webcam Viewer

A lightweight always-on-top window for previewing a webcam or other video source. The window is borderless and can be freely repositioned. It is useful as a small picture-in-picture monitor and works well with tools like TouchOSC.

Features

  • Opens borderless window in a 320×180 window positioned at x=10, y=10.
  • Right click & drag to move the window.
  • Escape or Alt+F4 closes the viewer.
  • F1 for source menu F2 for help menu

Usage

python PiPv1.py

After launching, use the buttons to change sources in the main window. if you need to re-select a source use F1 to pull up source menu The window always stays on top of other applications. Use refresh key in Source menu to update sources Use RTSP key to add a network stream

Dependencies

  • Python 3
  • Pillow
  • imutils
  • OpenCV (cv2)
  • tkinter (usually included with standard Python installs)

Install them with pip:

pip install pillow imutils opencv-python

Additional Notes

See https://github.com/CarlosFdez/pyNDI/tree/master for the underlying NDI implementation.

screenshot

About

I wanted a way to display an NDI input for program and preview windows, or just to monitor a video input in a borderless window

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages