Archive

Archive for the ‘Uncategorized’ Category

Mplayer doesn’t stream from stdin without cache setting

September 28th, 2009

I just noticed that mplayer no longer wants to stream from stdin when I unrared my files straigth to mplayer using

unrar p -inul some_multipart.rar | mplayer -

like I’ve often done before, giving me errors like this instead:

Cannot seek backward in linear streams!
Seek failed

This behaviour has probably existed for a while, however I haven’t noticed it before since I’ve actually been using a workaround for this anyways. To play streams from stdin, a quick fix is to set cache size manually. E.g. like this:

unrar p -inul some_multipart.rar | mplayer - -cache 8092

Cache size can be set to whatever you like it to it seems, so feel free to customize it to your own preferences and bandwith.

Uncategorized , , ,

New blog installation

July 6th, 2009

So, I did a fresh reinstall of my WordPress installation the other day, and the old posts are gone. This could of course have been avoided, but since I didn’t have anything of value posted, I just cleaned out the entire database and did a fresh install.

Currently I’m working on Capgemini’s Summer of Code project in Trondheim, where I’m having a blast. We’re creating a great product, the team I’m working with is excelent – both technically and socially – and the reception from the employees at Capgemini have also been great.

I’m really learning a lot about a bunch of Microsoft technologies these days, including TeamFoundation Server, Silverlight 3 and .NET in general. I’m going to get down and dirty and write a post about some of my experiences working on the Windows platform again any day now. For those of you who don’t know me, I’m a Linux user, and all this Microsoft stuff is pretty new to me, so hopefully there’s going to be quite a lot to write about.

Uncategorized