Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/xercyn/plebiandesign.com/blog/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/xercyn/plebiandesign.com/blog/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /home/xercyn/plebiandesign.com/blog/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /home/xercyn/plebiandesign.com/blog/wp-includes/comment-template.php on line 0One Minute Per Day instructions, b1 « Plebian Design: Blog

One Minute Per Day instructions, b1

Want to make daily movies like this from your screen? Then you came to the right place!!!

This set of instructions refers to the boranj release of the ONE MINUTE PER DAY (OMPD) project.

OMPD refers to the idea of spending one minute per day reflecting on how you spent your time during the day. Here, we’re specifically talking about how you spent your time using your computer. Maybe you’ve considered using various tracking software that will give you such stats as 5 hours on Firefox, 3 hours on Email, 2 hours on OpenOffice, etc. We tried some of those programs and while they are nice, the way the data is presented didn’t seem to help us make changes to our behavior so we ended up making this software. This hasn’t necessarily changed our behavior either but it’s more fun(TM).

MAC:
if developer tools is installed, macports is the easiest. get macports at macports.org, then type sudo port install ffmpeg imagemagick
Install FFMPEG. Follow the instructions on this page.
Install ImageMagick. Follow instructions on this page.

WINDOWS:This probably isn’t that hard to do but we’ve never done it. If you get it to work, please let us know and we will link to you here. Instructions for a cygwin solution in english and in portugese. Others recommend timesnapper.com and camstudio.org.

How the software looks when it is running.

Download capture.sh from here:http://gist.github.com/311181
Put it in your home directory or wherever you want really. Make it executable.chmod 755 capture.sh

You will need to edit the file to make sure the paths are correct for your machine. Mac and Linux are slightly different but the capture.sh file is notated in all the places where you need to change something for mac or linux. You can also change the time between frames and the fps on the movie pretty easily.

Want to add yourself into the mix? Using your favorite webcam utility you can! Order now, operators are standing by.
For mac (use wacaw) and for linux (use streamer). Snap a webcam pic, resize to match the screen size, then blend with imagemagick, voila. Then you can make movies that look like this (ffwed to 41 seconds):

This entry was posted
on Wednesday, March 3rd, 2010 at 4:13 pm and is filed under art.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

Also is changing the folder the only real change necessary to run on ubuntu karmic?
It creates the date folder, but not in the dir specified. Maybe that is due to the missing trailing slash on the address.

But then it fails to capture the shot and then fails to make the video.

I would love to get this going but am not so clued up with nix scripts.
Please help..

can you try to make the video manually?
the videos only happen once per day at midnight.
you can trigger it to try to make a movie every minute or every hour by changing the conditional statement slightly.

make DDDATE=`date +%Y%m%d`
into DDDATE =`date +%Y%m%d%H` or … %H%M’

counter=10000
while [ 1 ] # run all the time
do
DATETIME=`date +%Y%m%d%H%M%S`

then make NOWDATE=`date +%Y%m%d`
into NOWDATE=`date +%Y%m%d%H` or …%H%M’

It pushes all the customisation to a well-documented section at the top of the file, and adds features such as not doing the capture if the screen saver is running, plus trying to keep the time between captures constant.

Evan’s script does not work on Ubuntu 9.10. I tried changing windowmanager to gnome, screensaver to 0, and /usr/tmp/ to /tmp/. No problems with the original script.
I get an endless series of this:
./timeline.sh: 584: [[: not found
./timeline.sh: 584: 0: not found
./timeline.sh: 584: 0: not found
./timeline.sh: 584: 0: not found
./timeline.sh: 584: 0: not found
./timeline.sh: 584: 0: not found
./timeline.sh: 584: [[: not found
./timeline.sh: 584: let: not found
./timeline.sh: 584: cannot open : No such file
./timeline.sh: 584: 1269253301: not found

Some of the images were not displaying correctly but, the web site still looks great. I have been coming to this site for a few months now and i’m really impressed with the content. What is the rss address?

then a little of messing around with script to get it happy. i also installed emacs as a text editor.

a usefull command is dos2unix.exe which you can run on any text file to clean it off many of the annoying carraige return characters that get left around by windows and cause problems when running scripts in cygwin.

I commented it out because terminal was giving me errors. but is that the line that puts the webcam and screen capture together? I’d like to preserve that effect but my setup doesn’t seem to know what to do with that line. error:

woop!
ok, i must be honest i have played around with this a lot and not necessarily kept the github gist up to date with all the options.
composite is part of imagemagick and i use it to do a couple different things depending on the situation.
2 main things. 1 - overlay blend images. and in the line you ask about, 2. warp images with an underlying template.
see how this movie has a wavy texture? http://www.youtube.com/watch?v=DYFlGMv24XI
that’s what that line does. you have to create the gradient file ahead of time, just once. then you can use it whenever. and -displace 7×10 can be changed to make the effect more or less noticeable. a little more about things composite can do here: http://broadcasterproject.wordpress.com/2010/05/18/how-to-layerremix-videos-with-free-command-line-tools/
make sense?
rock!