This is what happened on my laptop screen on Mar 1, 2010:
One Minute Per Day, March 1, 2010
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).
INSTRUCTIONS:
LINUX:
Using package installer of your choice (apt-get,yum,etc) install the following programs: ffmpeg, imagemagick, and scrot.
MAC:
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 automatic uploading to youtube? Follow the instructions here:
http://broadcasterproject.wordpress.com/2010/03/03/howto-youtube-auto-upload-script/
Let us know what we missed or what didn’t work for you.
Tags: awareness, compression, daily, information, public speaking, publishing, screencast, timelapse

oh yeah. a lazy workaround for mac users that involves no installation of ffmpeg or imagemagick.
just comment those lines out in the script file but leave the renaming of files part that happens at the end of each day.
so now you will have some image directories automatically created and filled each day but no movies made. you can manually “open image sequence” using Quicktime Pro to make movies.
maybe this can also be automated with a script but haven’t look into it…
[...] One Minute Per Day instructions, b1 « Plebian Design: Blog (tags: screenshot art video experimental opmd) [...]
Am I missing something or is there no awesome flip-clock for when things don’t change in this script?
@dg2
I think the awesome flip-clock is his screen saver
Thanks doc! Found it! http://www.9031.com/downloads/screensavers.html
screencapture is unknown command.
using linux debian leny stable with latest update and debian-multimedia. ffmpeg, scrot etc is installed.
wasted one minute of my time :>
I too am having a “screencapture is unknown command.”
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..
Ok, I managed to get the screen shot running, Comment out screencapture line and uncomment scrot line.
However my video is not appearing anywhere.
Any ideas any one?
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’
if [ $NOWDATE -gt $DDDATE ] # THEN THIS CONDITIONAL goes every hour or minute…
then
echo “day change, hour change, minute change, etc…”
counter=10000
# rename files sequentially for FFMPEG to work properly
for f in *.jpg; do
let “counter+=1″
mv $f screen${counter:1}.jpg
done
ffmpeg -r 20 -b 5000 -i screen%04d.jpg ~/Movies/AUTOUPLOAD/OMPD-$DDDATE.mp4
you also have to change the directory in linux. to ~/Videos/ instead of ~/Movies
what are you watching when you get the six video feeds on your monitor? I’m v. curious!
For windows users, the awesome open-source Camstudio ( http://camstudio.org/ ) application can be configured to record time-lapse screen captures through the video options menu.
cat capture.sh | sed ’s/^#/\t\t#/g’
@clmaxwell
6 frame movie is Six Months of Life, a timelapse movie i have recently made. snippet here: http://www.youtube.com/watch?v=nmLVeJ3QhBU
the whole thing will be available for dvd sales and on archive.org within a month or two. thanks.
and another windows option from jeison cardoso->
I used the cygwin B20, that is easier and fast of you install (my
opinion). http://www.caslsoft.com/gcc_tools/cygwin-b20.1-full.exe
As I used ffmpeg.exe that comes with the installation of MediaCoder. It
is enough to copy ffmepeg for the paste of the script.
http://mediacoder.sourceforge.net/
Third party instead of a program * nix used the irfanView, through
command line and it worked very well for so much. To copy only
i_view32.exe the for the paste of the script http://www.irfanview.com/
I had to change a little the script for cause also of the differences of
as the windows encherga the “Pastes” and Cygwin the “Directories.”
I set up two versions more a similar to the original, and another that
turns a little faster, for removing some things, and to simplify others.
I tried to leave the closest of the original in what was possible.
Jeison Cardoso
http://jeisoncardoso.blogspot.com
I’ve made what I hope is a bit more sophisticated version of this script, available at http://github.com/ecognito/timeline
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
evan. that’s cool. i linked to timeline at the top of the capture.sh gist.
here is another little script i just wrote for adding audio to the movies.
http://gist.github.com/341936
if you are uploading, then inside videochecker.sh, just after
for f in *.mp4
add a line something like
./add_audio.sh $f myaduiofile.mp3
and it will take a snippet of your mp3 file of the correct length and add it to the .mp4 file.
or just run it manually from command line in your videos directory.
./add_audio.sh OMPD-date.mp4 myaudiofile.mp3
it then trims and resaves your audio file so make sure it’s a duplicate. boranj!
an example here: http://www.youtube.com/watch?v=De5opBRbFNw
all the new ones should have audio.
maybe work this into it at some point as well…
http://plainfront.wordpress.com/2010/01/16/experiments-with-timelapse-and-audio/
This is awesome, it helped me complete one of my unfinished projects. i’m quite new to these though.
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?