/home/nand

Entries Comments


Category: Linux

Python and webcam, part 2

29 April, 2008 (18:37) | Linux | 8 comments

A few weeks ago, I published a small webcam viewer script written in python using GTK+ and Gstreamer. Rich submitted in a comment some nice enhancements to the code while keeping it under 200 lines: the ability to record videos from your webcam, in high and low quality, and with sound! Good job!

That may be […]

While fighting with sudo…

22 April, 2008 (18:46) | Linux | 4 comments

… I stumble across this strip:

Man I love the Xkcd webcomic!
(Original strip location: http://xkcd.com/149/)

Python power

4 April, 2008 (13:13) | Linux | 4 comments

Since I started hacking with python a few months ago, I never stopped being amazed by its power.
Wanna display you webcam video on a very simple GTK+ app? Less than one hundred lines, thanks to pygst (gstreamer) and pygtk!
#!/usr/bin/env python

import sys, os
import pygtk, gtk, gobject
import pygst
pygst.require(”0.10″)
import gst

class GTK_Main:

def __init__(self):
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
window.set_title(”Webcam-Viewer”)
window.set_default_size(500, 400)
window.connect(”destroy”, gtk.main_quit, “WM […]

Wall Mart && perception of Linux

14 November, 2007 (17:35) | Linux | 1 comment

The other day when I saw Wal-Mart launching their ubuntu-based PCs, I basically froze. Whoah, the first live experiment will begin.
Yeah the first. Because until now, Dell and others manufacturers were explicitly Linux branded, and were distributed on selected areas (e.g. Linux pages). Here it is mainstream on hypermarkets, and it is branded under the […]

Linux time machines

14 November, 2007 (10:04) | Linux | No comments

With the release of OS X Leopard, we saw a lot of interest arise at its Time Machine software, basically a backup system with really nice 3D graphics effects. Personally I have never used it, but I found this great review at Ars Technica as usual. I quote the main idea : “Put simply, Time […]