2 Nov 2004 (updated 2 Nov 2004 at 10:32 UTC) »
Theo van Gogh, maker of dutch films and documentaries on society issues, was murdered today. His TV shows were rather poor if you ask me, but his documentaries were a welcome refreshment of the political correct emptiness that we used to hear from all around. He might not have been the first person to do that, but he definately was one of the most influential ones. One of his latest documentaries included Submission, on the position of females in the Islam (targetted at western society, obviously). General consensus was that the reaction from muslim organizations in the Netherlands on this documentary exactly confirmed the message of the documentary.
I guess democracy is really just a really nice name for a blanket on something that nothing and nobody can really fix: idiots.
2 Nov 2004 (updated 2 Nov 2004 at 08:11 UTC) »
However, I can only hope that the US voters will look beyond looks and populism. As much as they are the same in most areas, that effectively means getting rid of Bush. Anything's better than a lunatic that wants to cut neuropharmacological research funding because it's unchristian. Just to mention something else from what all the others will say (wars, international treaties & contacts, ...).
Polls in the Netherlands amongst students show that +/- 85% of the people (ok, so students) wants Kerry. I'll share the majority opinion, just for once.
GStreamer Recorder:
So it had to happen some day, that I would release 0.0.1. It'll be soon. It's basically ready, but requires a new gst-plugins and gst-ffmpeg release because fixes in those are essential for the physical well-being of gst-rec. I can't wait to release. Hopefully, people will use it. It can record to a variety of formats, including MS-MPEG4v3 (in ASF), MPEG-4 (using either of XviD, DivX or FFMpeg's wonderful encoders) in AVI and, of course, Ogg/Theora+Vorbis. I was initially planning to just support Ogg/Theora in this first version, but given the rather poor encoding speed combined with the fact that the others "just work", I didn't really care to remove it. The preferences screen could probably use some UI love, though.
So it's perfect? Nah...
So those of you paying close attention to my blog (don't you all? :) ) would've noticed that my last screenshot of gst-rec actually contained a test image rather than a screenshot of some popular TV series or a good movie. You know why? Because my cables weren't long enough to fit between the TV (one side of the room) and computer (other side of the room)! Of all things that could possibly go wrong, this is the worst. Because you can't fix it apart from going to a shop to buy new cables.
So what's next?
DVD ripping, video transcoding, video editing, it's all there in my magical vision! We've got the widgets and the engine in gst-rec (ok, ok, so editing is a bit more difficult - but who cares). I just need more time. Oh, and Totem will rock your world. More soon! :).
I just rewrote the overlaying code in the GStreamer video4linux element (need to copypast that to the video4linux2 element), because the old code caused a hellofalot of flickering (and took 10x as many lines of code). The next issue to fix is format selection. We used to use filtered caps for that, but nowadays, fixation is the way to go. Lastly, I'll remove all dynamic codec/muxer selection code for now and just default to ogg/theora, and that should be enough for version 0.0.1. Like anyone would want to record a divx movie. -EDONTCARE. :).
And for my own pleasure, I decided that GStreamer Recorder is a stupid name, so I will rename it before the release.
That brings us to the next gear-shifter. Yeah, say after me: I want Totem in the standard GNOME desktop! We're ready for it. Now, surely this isn't up to me since A) I'm biased and B) I'm not the Totem maintainer. But I can always lead the Totem-in-GNOME PR campaign. Let's bring it on! Bastien said he'd look at the whole thing after Fedora Core 3 is released. What do other people think?
I've been fixing a lot of Ogg-related issues in playback for the past few days, and current CVS seems to be quite forgiving for most of the movies and music files out there. It's not there yet, but I have a pretty good clue of the missing bits'n'pieces, also for other (annoying) bugs. Good feeling. It's just a huge todo list, basically:
Disc content detection:
Wrote some code (similar to the code in gnome-volume-control, in hindsight) to detect the type of disc that the user is opening in his favourite movie player. Didn't commit, mainly because the audio CD input plugin in GStreamer is giving me headaches, as in: it eats my memory, it fails to play and if it doesn't do that, it just crashes.
C#/Mono:
So I'm enjoying some C# in the evenings right now. Not bad, not bad at all. I still don't know a lot of things, but I'm getting somewhere. I'm currently messing around with window embedding, which requires me to know the XWindowID of a Gdk.Window (as an ulong; in GDK, you use GDK_WINDOW_XWINDOW ()), and I haven't found a way of getting that yet. Also, I'm wondering how to handle GErrors in Glib#. Still lots to learn!
5 Oct 2004 (updated 5 Oct 2004 at 14:06 UTC) »
Now, one hour later, I still don't know how to add menus. Muine, where I'm trying to learn from, appears to use glade, I would like to just use Gnome.UIInfo for this. So my first try:
private void
AddMenus ()
{
UIInfo[] file = {
{ null, null, "Quit", "Quit", null, UIInfoType.Item },
{ null, null, null, null, null, UIInfoType.Endofinfo }
};
UIInfo[] menus = {
{ null, null, "File", "File", null, UIInfoType.Subtree, file},
{ null, null, null, null, null, UIInfoType.Endofinfo }
};
CreateMenus (menus);
}
Which gives me:
Constant value `null' cannot be converted to Gnome.UIInfo(CS0031) Constant value `null' cannot be converted to Gnome.UIInfo(CS0031) Use of unassigned local variable `menus'(CS0165)
Right. I would actually expect predefined members for Quit and File, but that's probably just me. Can anyone tell me how to add menus to a Gnome.App?
Update:
So I just copied the stuff from the GnomeHelloWorld.cs in mono CVS. Next problem: the anonymous CVS server of Mono.
[rbultje@tux GStreamer]$ cvs -d:pserver:anonymous@anoncvs-spain-1.go-mono.com:/mono co gst-sharp can't create temporary directory /tmp/cvs-serv21785 No space left on device [rbultje@tux GStreamer]$ cvs -d:pserver:anonymous@anoncvs-spain-2.go-mono.com:/mono login Logging in to :pserver:anonymous@anoncvs-spain-2.go-mono.com:2401/mono CVS password: Unknown host anoncvs-spain-2.go-mono.com. [rbultje@tux GStreamer]$ cvs -d:pserver:anonymous@us-anoncvs.go-mono.com:/mono login Logging in to :pserver:anonymous@us-anoncvs.go-mono.com:2401/mono CVS password: Unknown host us-anoncvs.go-mono.com. [rbultje@tux GStreamer]$ cvs -d:pserver:anonymous@anoncvs.go-mono.com:/mono co gst-sharp can't create temporary directory /tmp/cvs-serv19708 No space left on device
Now what do I do?
Life:
Went off to a fair in Leiden with two friends. There was a rollercoaster, a vertical shot (where you sit in a giant sphere attached to elastic wires and are launched into the air) and some other cool attractions that we enjoyed. Had a really good time there.
So there it came today. As I was watching an episode of Sex and the City (yes, I really love that now that I've lived in Manhattan), I suddenly noticed how much this episode touched upon things that I did there. Auch. Had to make some "home"sick phonecalls to friends from New York after that. I miss Manhattan.
FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.
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!