19 Dec 2004 zeenix   » (Journeyer)

Life

Musharaf was in Karachi the last two days. I am glad he was here cause I normally don't have to walk this much. You must be thinking what has Musharaf's visit to khi to do with my walking long distances. It's because the whole road was blocked to let him pass easily and safely. My western friends should not be disappointed to hear this as they know how important he is :-P

Things have started to settle down a bit now. I have a phone line, a table and a chair.

Gstreamer

As it was Sunday today, I got some time to hack on the plugins I am working on. Both elements are quite near to completion now. I was able to optimize the aavideo2text (which would be the actual name of aafilter) by writing my own code to do the escaping of markup text. Now it takes 1 milliseconds which is quite better than 32 milliseconds at least. This should work perfectly for videos <= 1000 fps (Am i right?).

Unfortunately, pipeline still is quite slow. Upon investigation i came to know that the culprit was gdk_draw_layout. It takes about 50 milliseconds for drawing a layout of ~2000 chars (80 * 25) on a 320x240 pixels wide pixbuf. Now how the hell would i optimize this? Don't tell me i need to write my own version of this function. :(

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!