NetAdminTools.com
 
SignalQ Sites:
NetAdminTools - Coprolite - NoNIC - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - MCJ - FixRambler
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


Video for Crackers
Topic: GIAGD   Posted:2003-05-24
Printer Friendly: Print

spacer
Now, you could consider this an article about how to set up a web cam using GNU/Linux or something... Naw... We want to write a story involving chickens. Crackers is Agatha's new GIAGD machine that she uses to put up pictures of the chickens living in her moveable chicken coop. We bought a used SE440BX-2 Motherboard, and put it in a compact case. We hooked up a Logitech QuickCam Express USB, and compiled Video For Linux into kernel 2.4.20. Here is crackers config file. Here is a kernel that uses IDE and has video and usb enabled. See the other GIAGD articles for help in creating a minimal system based on this kernel. We used the USB Quickcam Video Camera driver site at Sourceforge. There is no video device in /dev, so you have to create it:

mknod /dev/video0 c 81 0

Now, we don't want tons 'o stuff on this system. The idea is that it is a minimal system used to gather pictures, rather than a desktop system. So, we wanted a utility that merely grabs a frame from the camera. Videodog is the perfect utility for this. Now, you will need to install the JPEG libraries available on xfig here. Make sure you use the --enabled-shared option when you run ./configure, so you get libraries needed for videodog. The rest is pretty straightforward. To capture a frame:

videodog -x 352 -y 288 -w 3 -d /dev/video0 -j chickenpicture.jpg

Here is the chicken cam:

Chicken Picture

Here is the completed system mounted in the coop:

Robo Coop




Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com

Created by:
MCJ
MCJ CMS