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

45 Commits
 
 
 
 
 
 

Repository files navigation

PiP Webcam Viewer / Pip Window / Borderless Window

I wanted a way to display a video input such as; NDI,RTMP,Webcam,CaptureDevice, for a preview window viewer in a borderless window without it affecting other windows that always stays on top. If webcam is in use in other program open this first then use number key to chang source

--Opens first webcam input on main screen in 360x180 at x=10,y=10 in draggable window... Alt+F4 or Escape Button to exit... it always stays on top.

--use num keys to change webcam inputs from 0-3

--page up and page down change size of window... will add more resolutions soon

--Drag with Right Click

--Refresh video_loop with middle click

--Works great with TouchOSC to preview a window if using for video mixer . Just drag into position

You can use it as a monitor to see whats happening in on other devices/streams/ basically whatever you can pipe into a webcam input

This is MUCH faster latency in both refreshing and displaying the image than the NDI version ....with the caveat of tying up the webcam input ( it seems to render the frames on the GPU wheras the NDI one seems to be on CPU)

Currently need help on line 74 (should be easy just need to make a variable for the line "self.stream=VideoStream(0)") and also want to have a way to retry the connection on failing to get device

Dependencies are pillow, imutils, tkinter, and C2V

Thanks to https://github.com/CarlosFdez/pyNDI/tree/master i made a version that takes in NDI sources into the same type of window just go to PiP NDI branch

2023-09-08.14-13-22.mp4

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