More Spykee with Flumotion

June 18th, 2009

So tonight, I added wizard support for flumotion-spykee and so now anyone with a Spykee robot can control and stream the robot with Flumotion without requiring to write a config file. It can all now be configured with ease in Flumotion, including discovery of Spykee robots on any interface your flumotion installation is on.

Two screencasts (both Ogg Theora videos):

If you want an OS that can browse the web out of the box, forget Windows 7 (in Europe)

June 12th, 2009

Source: BBC

Flumotion UI for Spykee movement

June 11th, 2009

Simple UI to move the Spykee robot around, committed and pushed:

Spykee wifi robot and flumotion

June 10th, 2009

So I bought a Spykee wifi robot on Friday. Alia and I finished building it on Sunday. I wrote some code to control it and stream it via flumotion over the weekend and during evenings this week. Tonight I added audio support, so I can now stream video from the robot’s webcam and audio from the robot’s mic. Also with flumotion remote commands, I can move it about. Next step is to write a gtk admin UI page.

Screenshot from totem of video only:

Code pushed to github url: http://github.com/zaheerm/zspykee/tree/master

Istanbul and Guadec

May 7th, 2009

Dave, saying I was at Istanbul for a Liverpool fan is more like saying I was at the 5th Guadec not the 1st Guadec for a Gnome hacker ;)

GStreamer port to S60

March 11th, 2009

So I spent some time on the weekend porting GStreamer to S60. Using Martin’s excellent instructions on how to build for S60 on Linux.

Symbian have thankfully ported some libraries (though with caveats) to S60 for ease of porting “OSS” code. In their “OpenC” sdk, they have glib (including gobject, gmodule, gthread etc.), libpthread, libc and a few others. This has of course made the port to S60 possible.

A few hurdles have been the lack of poll(), glib being old (2.10), having to include and to have some definitions for which there is no mention in the docs.

I have got libgstreamer and libgstbase compiled (though I have put them in same lib). I have compiled the core elements: fakesrc, fakesink, pushsrc, typefind, filesrc, filesink, fdsrc, fdsink, capsfilter, tee, queue, multiqueue but I currently have the error in linking that it cannot find the libgstreamer dso.

Once I get an app compiled that does fakesrc ! fakesink, I will start putting up a git branch of my stuff.

Scheduled recording successful

March 3rd, 2009

So the recording was successful. The snippet that my brother in-law wanted, I put up on youtube here. It is my 2 nephews’ birthday card being read out. Jameel is 4 today and Jaabir was 2 on Sunday.

Scheduled Recording of DVB in Flumotion

March 3rd, 2009

So while watching 24 after dinner tonight, Alia received a text from her brother in-law reminding her to record channel Five from 6am until 9am tomorrow morning. So naturally, I set it to record on my Sky HD box. However the Sky HD box is being recalled as it is one of the Pace ones that has an unknown fault that is not related to safety. The engineer is due to replace it tomorrow morning. Oh yes, I have been credited 3 months of free HD subscription for the inconvenience. One of the inconveniences is that the only way to get the recordings off the box is via a DVD recorder/VHS recorder connected over Scart.

Anyways that is not relevant to this story. Five is a TV channel that is Free to Air both on DVB-T and DVB-S here in the UK.  So I thought I’d record it on my computer. The natural choice is Gnome DVB Daemon from Sebastian which is a fantastic product from the Gnome GSoC 2008 (my mentoring of this project was very little to do with its success, Sebastian was an excellent student). However my current installation of Gnome DVB Daemon is broken and I didn’t have much time tonight. I started writing a crude one-time use python app with twisted to start recording at 6am and stop at 9am. Then it dawned on me, Flumotion can do this without me writing a single line of code. So I created a simple flow, with a dvb-ts-producer and a disk-consumer. The disk-consumer can take an ics file, so I generated one in Evolution with 2 events: a test event at 23:19 for 5 minutes and the real thing.

Flow file is here:

<planet name=”flumotion-test”>

<atmosphere>
</atmosphere>

<flow name=”default”>
<component name=”producer-video”
type=”dvb-ts-producer”
label=”producer-video”
worker=”localhost”
project=”flumotion”
version=”0.5.2.1″>
<property name=”polarity”>horizontal</property>
<property name=”frontend”>0</property>
<property name=”dvb-type”>S</property>
<property name=”adapter”>0</property>
<property name=”code-rate-hp”>5/6</property>
<property name=”frequency”>10773250</property>
<property name=”symbol-rate”>22000</property>
<property name=”program-numbers”>6335</property>
<clock-master>false</clock-master>
</component>

<component name=”disk-ts”
type=”disk-consumer”
label=”disk-ts”
worker=”localhost”
project=”flumotion”
version=”0.5.2.1″>
<eater name=”default”>
<feed alias=”default”>producer-video:default</feed>
</eater>
<property name=”directory”>/tmp</property>
<property name=”rotate-type”>none</property>
<property name=”start-recording”>False</property>
<property name=”ical-schedule”>/home/zaheer/fivetv.ics</property>
<clock-master>false</clock-master>
<plugs>
</plugs>
</component>

</flow>

</planet>

This created a flow, Here is a UI of flumotion-admin:

Anyways, now it is time to sleep.

Barack Obama’s middle name

March 10th, 2008

I have seen many articles talking about Barack Obama and his middle name Hussein. None of them point out how much he should be proud (and America also to have a presidential nomination candidate) to have been named after such a great personality from the human race, Husayn Ibn Ali.

Just a few quotes about his personality from some heroes of humankind in one way or another about Husayn Ibn Ali:

Mahatma Gandhi: “My faith is that the progress of Islam does not depend on the use of sword by its believers, but the result of the supreme sacrifice of Husayn (A.S.), the great saint. I learned from Husayn how to be wronged and be a winner.

Charles Dickens: “If Husayn fought to quench his worldly desires, then I do not understand why his sisters, wives and children accompanied him. It stands to reason therefore that he sacrificed purely for Islam.”

Thomas Carlyle: ” The best lesson which we get from the tragedy of Karbala is that Husayn and his companions were the rigid believers of God. They illustrated that numerical superiority does not count when it comes to truth and falsehood. The victory of Husayn despite his minority marvels me!”

We have just completed 2 months of mourning where every year we commemorate the inhumane massacre at Karbala on Ashura day (Muharram 10 in the Islamic calendar) of Imam Husayn (A.S.), his companions and his family (including a young baby who was murdered with a 3 pronged arrow) and his companions and also the torture of the women and children left over who were taken as prisoners with clothes ripped off them and earrings torn off them and made to walk chained from Karbala in Iraq to Kufa in Iraq and then Damascus paraded all along the way as captives and then imprisoned in Damascus. It is a very emotional period for all Muslims as we see the family of the Prophet Muhammad (peace be upon him) being butchered and treated worse than animals so soon after the death of the Prophet by so called Muslims.

It brings some parallels with some current day Muslims who terrorise innocents such as in the inexcusable events of 9/11, and maybe it should help Senator Obama to be an even stronger candidate to be commander in chief of the USA by sharing a name with such a great man.

Streaming DVB

March 2nd, 2008

We at Flumotion stream a lot of TV and radio channels by acquiring them from DVB (either satellite or terrestrial) with the help of gstreamer and flumotion-dvb. I was browsing through some blogs today and found this completely hilarious entry (showing that KabelBW, supposedly a big ISP in Germany) capture their channels for streaming for their “IPTV Service” with the analog output from Dreambox set top boxes.