Using USB webcam (without audio) to display monitored area and make video recording.
- Cheap security camera surveillance.
This is a trial gtkdialog gui that allows the user to choose one of their usb webcams as a source for recording and simultaneous display.
Intended for use with Ozsouth's FossaMid variants (as they seem quite fast) but may work elsewhere.
(Further development is planned to allow video output to be in x minute segments but for now record start/stop is manually controlled)
I don't know yet which pups or which hardware will permit the in-sync display and recording - but so far on my machines this is successful - and useful for monitoring purposes as a sort of poor man's security camera.
.
The "Interrogate" function helps the user decide what formats and resolutions are supported by their chosen usb cam.
(Please let me know if your usbcam supports a specific format that you think I should add...)
NOTE: If your webcam supports a compressed stream such as mjpeg this is the best option for speed and will allow you to choose higher resolutions.
(Current default is yuyv422 as that is more common than mjpeg but just select whatever stream is available from your cam. May need to add other formats depending on cam model)
Currently the gui is only preprogrammed with resolutions up to 640x480 for testing purposes. Higher res can cause image tearing - but all depends on your machine and graphics card. You can type whatever you wish to try in each field.
For testing purposes place the file in /root (That is where it will store the video output by default).
Please rename and delete the false .gz suffix - then make executable. Click to run.
V08 released:
(Better gui arrangement and choice of mkv/avi/mp4 output formats)
.
.
V05 superceeded
Improved the code for interrogation of the cam stream formats to make it easier for user to know what formats are available (requires gxmessage which i think is pretty standard in most pups):
.
.
Changelog:
v08 - Current. Combined interrogation of raw & compressed format buttons using MochiMoppel syntax. Extra output formats.
v05 - Superceeded. Improved interrogation of raw & compressed formats.
v04 - Superceeded. Cam format interrogation direct from gui was not easy to view.