TrollParty::Caracas (v4)

Edit Page
Text Search
 Page Search
Identification
Language: en

WebCams

Watch'em, but don't feed them !
en > TrollParty
print

Webcamed Trolls


Want to be on the multicam Trolls page ? Just list your login and url of webcam image down there, with your login, url of image, type of webcam, and location:

mose http://mose.fr/cam.jpg Logitech pro 4000 ID:046d:08b2 + pwc Caracas - VE
bureado http://pruebas.sapi.gob.ve/jose-webcam.jpg Logitech QuickCam Express USB Caracas - VE
nicod http://webcam.ho.yi.org/webcam.jpg ID:046d:0840 Logitech QuickCam Express Caracas - VE
niclone http://webcam.ho.yi.org/webcam-labtec.jpg 046d:08a2 Logitech, Inc. Labtec WebCam Pro Caracas - VE
glandouille http://webcam.ho.yi.org/webcam-labtec2.jpg ID:046d:0840 Logitech QuickCam Express Caracas - VE
r1 http://www.thiscow.com/~erwan/shoot.jpg Logitech pro 4000 ID:046d:08b2 + pwc Caracas - VE
amette http://dev.alexander-mette.de/webcam.jpg Logitech pro 4000 ID:046d:08b2 + pwc Ilmenau, DE
ang http://eye.cpst.hu/webcam.jpg spca5xx - Labtec WebCam Pro HU


out of order
mesk - http://delcorp.org/~meskalito/webcam.jpg - deceased cannon - Madrid, ES

(this multicam (multicam.php) page is a simple tiki hack. It read the content of the table above from the wiki content. Read the source on http://caracas.trollparty.org/multicam.phps )

Script

~mose:: Here is the source I use to update my webcam image, it saves images in a dir, with one subdir per day, to store funny accelerated movies.
vgrab.sh requires vgrabbj installed
#!/bin/sh
# v2 by mose

ARCHI="./archi-shoots"
FONT="/usr/share/fonts/truetype/freefont/FreeSansBold.ttf"
TARGET="me@domain.com:~/www/cam.jpg"
COPYCOMMAND="scp -qp"
SHOOT="vgrabbj -i sif -f shoot.jpg -T 10 -q 50 -m 40 -P 2 -e -t $FONT"
DEFAULTOFTEN="30"

echo "vgrab.sh : auto-shooter script. Type ctrl-c to stop it."
echo 
echo -n "Do you want to copy shoots to $TARGET ? [Y/n] "
read COPY
if [ -z "$COPY" -o "$COPY" == "y" -o "$COPY" == "Y" ]; then
  C="ok"
else
  C="no"
fi
echo -n "Do you want to save shoots in $ARCHI ? [Y/n] "
read SAVE
if [ -z "$SAVE" -o "$SAVE" == "y" -o "$SAVE" == "Y" ]; then
  S="ok"
else
  S="no"
fi
echo -n "How long beetween each shoot (in seconds) ? [30] "
read OFTEN
if [ -z "$OFTEN" ]; then
  OFTEN=$DEFAULTOFTEN
fi
echo 

if [ "S" = "ok" -a ! -d "$ARCHI" ]; then
  mkdir "$ARCHI"
fi

while (true); do
  if [ ! -d "$ARCHI/$D" ]; then
    mkdir "$ARCHI/$D"
  fi
  $SHOOT 2&> /dev/null
  H=`date +%H-%M-%S`
  D=`date +%F`
  echo -n "shoot : $D/$H "
  if [ $C = "ok" ]; then
    $COPYCOMMAND shoot.jpg $TARGET && echo -n "(copied) "
  fi
  if [ $S = "ok" ]; then
    mv shoot.jpg $ARCHI/$D/$H.jpg && echo -n "(saved) "
  fi
  echo 
  sleep $OFTEN
done



Just launch it in a console and ctrl-c to stop it.

Make a movie

#!/bin/sh
mencoder "mf://*.jpg" -mf fps=6 -o output.avi -ovc divx4



Contributors to this page: amette , r1 , nicod and mose .
Page last modified on Sunday 05 March, 2006 [15:35:15 UTC] by amette.

Posted messages

Hide all
author message
r1
bugs ?
on: Thu 05 Jan [21:39 UTC] score: 0.00
I had to mkdir the directory for the day + to had "-a -q 100 -F 4" for my poor camera...




Upcoming events
RSS Wiki RSS Image Galleries
[ Execution time: 0.27 secs ]   [ Memory usage: 8.58MB ]   [ 243 database queries used ]   [ GZIP Enabled ]   [ Server load: 0.26 ]
Last update from CVS: Friday 26 October, 2007 [15:59:54 UTC]