GStreamer and Google Summer of code

So we have managed to put together a preliminary set of webpages for trying to get into this year’s Google Summer of Code. We already have a list of proposed
projects, but the list needs more work. Both in terms of details for the existing items and in terms of number.

Since we are doing this in our Wiki any who is interested in helping out with organizing Soc this year is welcome to join
in by editing the pages, adding information and suggestions.

Current GStreamer developers are especially recommended to check the list to sign up as mentors. Students can also mark their interest by adding a note with their name to the various proposals.

Schrodinger announced

With the team lead by Thomas Davies at the BBC working hard for many years now on creating Dirac it is great to see the specification out. It was equally great to see David Schleef announce Schrodinger 1.0.0 at the end of last Month. Schrodinger is as most of you know a high performance implementation of Dirac in ANSI C. It is meant as a tool for people to be able to easily integrate Dirac support into their applications and systems. Which is also why it is available under very liberal licensing terms in the form of a GPL/LGPL/MPL/MIT quadruple license.

Anyway to celebrate the release of both the specification and the implementation we managed to put together and send out a press release for the Schrodinger project.

So once again congratulations to everyone involved, lets all work to get Dirac widely adopted. Personally I am hoping to that combination of Dirac video, FLAC audio in a Matroska container could be a killer combination to get started on mainstream adoption.

Gary Gygax death

Was saddened today to read about the death of Gary Gygax. As the creator of the original Dungeons & Dragons roleplaying game I owe him thanks for countless hours of fun playing AD&D and I also give him indirect credit for both helping create an audience for fantasy litrature and set the stage for MMORPG games like World of Warcraft.

Happy to see him get a mention on most major new sites and of course on gaming related sites such as Penny Arcade.

To see the kind of influence he had on today’s computer games I think the quotes on the Bethesda blog. sums it up quite nicely.

Rest in peace Gary.

DVB-C now working with GStreamer

I bought myself a TT-Connect C-1200 USB card from DVB-Shop. Last evening and today I been testing and trying to get it to work with Zaheer‘s help. With a few patches from Zaheer it now works in Totem as the screenshot show. Still a few issues that needs sorting out, like not requiring a pre-generated dvb-channels.conf file and better deinterlacing, but all in all things are looking fine.

Totem playing DVB-C

So with upcoming versions of Totem+GStreamer you should be able to receive the Freeview channels over Virgin Media. Could open the way for an alternative to the noisy, slow and
unstable V+ box.

Also in case its useful for anyone. To generate the dvb-channels.conf file we needed this information put into a file called ‘uk-Virgin’ under /usr/share/dvb-apps/dvb-c

# scan config for Virgin Media cable provider
# freq sr fec mod
C 643000000 6887000 NONE QAM64

Manifestestations of a more confident atheism

I always subscribed to a view that the world as our social norms and cultures develop do so through a series of reactions and counter reactions to what has gone before. For each such cycle though you rarely go back to things exactly as they where before and thus society change over time. So in recent years there has been a sense of growing religious activity in response to the increasingly secular nature of modern governments, as we witnessed in the form of the takeover of the US republican party by the so called evangelical Christians and by the growth of radical Islam across the middle east and to a lesser degree a more assertive Hinduism in India in the form of BJP election victories some years ago.

One response to these developments have been that atheist has suddenly started asserting themselves more strongly in the public arena. Atheism have for a long time been slumbering, opting for a live and let live attitude instead of direct confrontation with the religious world, but with the recent developments I think it became clear to a lot of leading atheists that unless they started speaking out and advocating their world view things might get out of hand. Supporters of religious faiths, even in the west, have tried to paint religion as something not to be criticized. Attempts are being made to paint religion as similar to inherent traits such as skin color or gender, instead of self chosen beliefs by it adherents (and while there is an argument about how self chosen something being brainwashed into you from a you age is, there can be no doubt that at the end of the day we all exercise free will and have the chance to break free).

So in the last few years we have seen the start of this movement with people like Richard Dawkins best selling book The God Delusion and later on Christopher Hitchens book God Is Not Great: The Case Against Religion being released. Having read both I strongly recommend Hitchens book over Dawkins. Dawkins book is a bit to theoretical and academic in his approach, while Christopher Hitches book is more willing to tackle todays major religions more head-on.

Anyway, it was with great interest that I came across this little gem by Ricky Gervais, the well known comedian from shows such as The Office and Extras. The story outlines his own path to atheism and also includes a nice little gem of statistics on the religious faith of the US prison population (funny due to the oft repeated claim by religious leaders that morality and good behavior would cease to exist if not being bolstered by religion.)

Ricky´s article made my think of my own path to atheism as it to was cemented at a young age of what I felt was a logical fallacy in the bible. That said my road to declaring my atheism was shorter as I grew up in a family where religion never played any major role and my fathers side of the family having been atheist for many a generation. Yet I remember when we where thought the ten commandments in school I started wondering about how, if those where the direct words of God, they by their wording seemed to clearly indicate that women where the property of men since it said you should not covet your neighbors wife, and putting women on the same level as oxes and donkeys in that regard. While I guess some would conclude that God is sexist and that women truly are the property of men, I instead came to the conclusion that it was probably a sign that these so called word of ‘God’ where actually the words of men of their time. And with that conclusion and further pondering I realized that if the only words in the whole bible claiming to be the direct words of God where false, then it was quite likely that if there was a God the people who had written these books and stories had most likely not the faintest idea about the will of such a being. of course only later did I also realize the Norwegian ten commandments I read was edited as they didn’t include the implicit endorsement of human slavery that I find the the English version.

Of course such conclusions only put me on a clear path to deism not atheism, but I guess I never found a compelling reason to believe in the supernatural. I love the quote ‘Any sufficiently advanced technology is indistinguishable from magic.’ which I think is from Arthur C. Clarke. It reminds me that a lot of the things we understand today was perceived as magical and mystical to those who went before us.

Anyway, I guess this little blog entry is my little way of making a stand for what I think is right :)

Official announcement of Songbird using GStreamer on all platforms

So Mikael Hallendal reported last week about SyncTV using GStreamer across Linux, MacOSX and Windows for their multimedia support. Well Songbird‘s Georges Auberger reports in his blog how they are now going to be using GStreamer as their multimedia engine on all platforms going forward. This has been brewing for some time now and the DirectShow/Windows and Quicktime/MacOSX integration plugins in GStreamer CVS are there thanks to Songbird. Another group using GStreamer on multiple platforms who I found thanks to the Songbird comments are Chameleo who are creating a video player/platform.

Songbird has been using GStreamer for a good while now on Linux of course so for those interested in testing it out I recommend heading over to the homepage and grab the latest build.

Dirac bitstream frozen!!

So the Dirac specification is now frozen and has a 1.0 release. This means that video encoded with any Dirac 1.0 compliant encoder is sure to keep working in future Dirac decoders. David Schleef is working hard on getting Schroedinger 1.0 ready which will feature both a Dirac encoder and decoder, both specification compliant of course. I have big hopes for Dirac is it provides the free and open source software community with an absolutely top notch codec comparable to things like H264 and VC1.

More on the World of Transcoding

I got a lot of feedback in regards to my previous blog entry about transcoding applications. Based on that feedback I tested Movic and OGMRip (thanks to Billl and Michael Kanis for those links), both of which had GUI’s which was closer to what I wanted. That said neither of those two applications supported the container format/codec combination I wanted.

So up to this point dvd::rip is still the application that has come the closest to doing what I needed. However it turns out that some of the rips I did using dvd::rip the audio and video got horribly out of sync a bit into the video. Hopefully if we get a GStreamer based application going we will be able to sort such things out as keeping audio and video in sync is among the things we have spent a lot of times on getting right in GStreamer.

People also pointed out other parameters that would be useful for a ripper application which I hadn’t included in my mockup. And while I agree that other parameters can be essential at time I fear that one would quickly end up back in the dvd::rip style GUI if one includes them where there are just a ton of options which for the common user might as well be ancient Egyptian. The reason I wanted a new application was to offer users a more friendly alternative, not to replace dvd::rip as the application of choice for highly technical users.

The world of Transcoding

Spent some time early this week trying to figure out how to get my NTSC DVD’s ripped and transcoded into a format I could store and play on my PS3. My main goal was to keep the AC3 audio intact and use the best video codec possible and at the same time have it working on the PS3. After some trial and error I learned that MPEG PS was the only way to combine AC3 audio and H264 video into a file and have the PS3 be able to read it.

None of the various Linux rippers seemed to support this combination however and trying to use gst-launch I discovered that the mpeg ps muxer from gst-ffmpeg did not seem to work to well.

As part of this process I got reminded of a couple of things. The first being that we really need an relatively commonly used application using GStreamer to test and make sure our muxers and encoders keep working. Pitivi would fit that role, but its a complex application which I think is still some way away from being a tool for everyone. A simple transcoder application would probably be a better choice to get us started. That said looking at the current rippers out there the either are very targeted at a specific target (like Thoggen) or have a GUI which I think is unnecessarily complex for the average user (dvd::rip). I do not consider myself a multimedia novice, but I still only had a vague idea what the various options exposed in dvd::rip would accomplish. I am not saying dvd::rip sucks though, it was in fact the only application I was able to find for Linux which produced files that my PS3 actually recognized (although I had to use ac3 and mpeg4 part 2 in avi to make it happen.) Tried another application called Handbrake, which was fairly easy to operate although only being command line for linux, but the only files it could make that worked was h264 and aac in mp4 which meant I lost surround sound output due to my PS3 being connected by s/pdif to my amplifier.

Mockup of gstreamer transcoder

So thinking about what kind of GUI I thought a transcoder should/could have I took a screenshot of dvd::rip and started modifying it in the Gimp. The result you see above. The idea would be that you select your input source at the top and then choose your target container format. Based on which container you choose the codecs which are supported by that container get ungreyed, while the remaining ones stay grey (unselectable). One are able to query muxers for the codecs they can mux so with the aid of pbutils one should be able to ungrey the codecs dynamically (which is an advantage as muxers could have new mappings added as time goes on.)

Once we have managed to stabilize/improve the muxers and encoders in GStreamer due to this application being tested and bugreported upon we could move this page into a ‘advanced’ tab. The new default view should then be a list of presets for various devices like N810, PS3, PSP, iPod and so on. These presets could then of course in addition to the codec choices also include resizing based on target device.

While there are use cases where one might still want/need a more advanced GUI which need all the options exposed by something like dvd::rip I think for the vast majority of us this application would do the job.

So if anyone out there would be interested in trying to hack up this application using gst-python for instance that would be really cool :)

Back from the yuletide vacation

Spent Yuletide and New Years in Oslo this year with family and friends. Was nice to be back for an extended period of time seeing everyone. The first few days in Oslo was particularly nice as many days of frost had caused all trees to be covered in frost, creating a very scenic experience. Unfortunately the temperature jumped above zero the day before christmas eve and stayed in the single plus digits until the day before I left.

Always nice to fill up with Norwegian yuletide foods like roasted ham, cooked dried smoked lamb and moose casserole. Only cloud somewhat hanging over the celebration this year was the fact that my mother is going in for brain surgery at the end of February. While it is supposedly a relatively routine operation, the fact that they are going into her brain makes it a bit worrisome nonetheless. Might end up taking a few days back in Norway in February to be there for moral support.
Had Jan and Jaime visit Norway for a few days around New Years Eve, had a good time and while the New Years Party was quite low key, it was pleasant and fun. Also since the current Norwegian government believes that anything that people find entertaining and fun should be banned, as some people being happier than others go against their philosophy of equality (and its always easier to make everyone equally unhappy), there was a lot of fireworks on New Years Eve due to this being the last New Years Eve where private airborne fireworks is allowed.

Managed to get a flu a couple of days before my return to Cambridge and due to the plane needing to get de-iced I got delayed with about and hour and a half at least when flying out. Stumbled into the house at 3am this morning, hating the world (and Ryan Air in particular) due to my flue and the long journey.

Brought quite a bit of food from Norway, so I be hosting some dinner parties serving fermented fish, reindeer steak, minced moose and whale meatcakes in the coming weeks.