Some time ago I created a timelapse video using webcam and mplayer:
Today I was asked how I did it and because I did not remember exactly the command line options I decided to write this post to save you some time reading manpages.
First step is to grab series of JPG images from mplayer using webcam:
while true; do# grab one frame from webcam and save it as 00000001.jpg
mplayer tv:// -vo jpeg -frames 1
# rename 00000001.jpg to something like 1344271221.jpg
mv 00000001.jpg $(date +%s).jpg
# sleep 1 second
Once we are done (break the script with Ctrl+C) we can play the sequence using:
If we are satisfied with the result we can convert these images to video using mencoder (usually located in the same package as mplayer):
mencoder mf://*.jpg -ovc lavc -o out.avi
For more options about creating video or video formats please read mencoder manpage, but lavc output should be OK for most of you . :-)
Today is my last working day at SUSE. I spent wonderful five and a half years at this company. First starting as a package maintainer, learning more and more about the free software movement and its ecosystem. Later I moved to the newly created openSUSE Boosters Team, where I could apply everything I learned about FOSS communities in practice and help to create the best Linux distribution.
Recently I discovered my dormant passion for open hardware, be it analog or digital. I feel that’s where my heart is at the moment and that probably I could do a bigger change in this area.
The good thing is nothing changes from the community side of things. I’ll still be participating in openSUSE development and discussions on the mailinglists or IRC. So, please, put the champaigne back to the fridge, it’s not over yet. :-) If you want to keep in touch and didn’t notice I started using firstname.lastname@example.org email address instead of the corporate ones some years ago, please change your address entries now.
I’m sure we’ll see each other very soon at some FOSS related event (most probably openSUSE Conference in which organisation I’m actively participating in). That’s why this blogpost is titled “See you soon!” rather than “Goodbye”. And of course, remember to have a lot of fun!
In previous blogpost I mentioned my first experiments with LÖVE framework for creating games. Today I found a website run by two friends called Stabyourself. They make games built on this framework and these are simply fabulous! Check out for yourself:
I was so psyched I created packages for all three of them. Simply add the openSUSE Games repository and install packages mari0, orthorobot or nottetris2 respectively to play. Dependency packages like love and lua will be installed automatically, of course.
Update: I was just notified that Not Tetris 2 does not work with LÖVE 0.8.0. I might try to look at it soon.
Today I stumbled upon this fascinating article called The Personal Analytics of My Life by Stephen Wolfram. I immediately started to write my own script which produces the first chart in the article - daily distribution of sent emails. You can fetch it from my misc repo on github and play with it (requires ruby and rcairo). Output for my outboxes looks like this (red dots are personal emails, green ones are related to openSUSE):
I might implement other charts mentioned in the Stephen’s article in the future, but no promises. :)
This is something I should’ve blogged about some time ago, but we wanted to make it a part of a bigger announcement, which did not happen so … here goes.
One of the ideas how to help with Open Build Service adoption was to create some kind of download widget that would be possible to embed into upstream projects’ download pages. After a few days of work I ended up with the page that is now available from this URL:
It contains instructions for all distributions (like adding repo and installing the package), provides direct link to packages (which I recommend using only as a last resort solution), and for SUSE/openSUSE there are One-Click-Install buttons. The page also automatically preselects your distribution (if it’s possible to guess from user agent).
If you want to modify the default color theme just use the following GET attributes (acolor - link color, bcolor - background color, fcolor - foreground color, hcolor - headers color). They accept standard HTML color values like 123 or 112233 (without the #).
PS: Some projects (like for example Geogebra) are already using this, although it was not yet properly announced. Feel free to join them if you think it’s a good idea!