Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 00:20
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
WebCam Server 2
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
Geoffrey


Joined: 30 May 2010
Posts: 1513
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Fri 23 Nov 2012, 08:37    Post subject:  WebCam Server 2
Subject description: WebCam Server with inbuilt viewer and desktop widget
 

Update

Made a few changes, moved the slider controls, can now close the viewer widget by right clicking the mouse on the small preview in the main UI, this also restarts the preview, fixed so that the snapshot directory opens with the default file manager, configuration is saved when server is run.


Some time ago I wrote some scripts to utilize a webcam-server which was reliant on a java applet to be viewed, I've revisited this and spent the last few weeks coming up with something that is more featured than my previous attempts.

I'm no way a great script writer, so this could well be improved on by anybody that finds it useful, everybody's welcome to add anything they feel would be an improvement.

This now uses gtkdialog4 buttons in conjunction with gtk <timer> for the viewers, a preview in the main UI and a separate viewer for the desktop that can be used as a widget if need be, the widget function is achieved by using akash_rawal's gtk2desklet-3.1.pet from here http://www.murga-linux.com/puppy/viewtopic.php?p=588570#588570

It is not streaming video but a series of jpegs that are snapshot using wget and by no means perfect, it may not work with every video device, though I have managed to have it work quite well in Carolina/Saluki and pemasu's Upup Precise 54X3 with the usb webcam that I have,

Also included in the package "pho", a small image viewer that allows images to be rotated, zoomed, advanced and deleted using the keyboard , anyway here it is, there isn't a lot more I can say about it other than to use it over the internet you will need some knowledge on forwarding ports in the your router, there are some sample html scripts in the package that can be used on a web site to view your webcam, they are located in /usr/share/webcam/Docs/html_samples, these will need to be edited, they currently work on the 127.0.0.1:8888

zigbert has a small webcam viewer that will work with this server, http://www.murga-linux.com/puppy/viewtopic.php?p=508041#508041 this can be used on other computers to view either on a LAN or over the internet.
webcam_server-0.3.pet
Description  the gtk2desklet-3.1.pet in required for the widget function to work, it will work without it.
pet

 Download 
Filename  webcam_server-0.3.pet 
Filesize  144.91 KB 
Downloaded  374 Time(s) 
webcam.jpg
 Description   
 Filesize   91.72 KB
 Viewed   739 Time(s)

webcam.jpg


_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1513
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Thu 29 Nov 2012, 08:39    Post subject:  

Updated to version 0.3
_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0432s ][ Queries: 13 (0.0037s) ][ GZIP on ]