Video Box

Posted by Jonathan on February 27, 2005

My Media PC is starting to take shape. Mainly as a small pile of boxes and a dented credit card, but it’s a start. I have an old Pentium III 500 which used to be my primary machine. The case, scsi drive and controller, and power supply will live on, but the mainboard and other junk will be binned. The current component list is :

  • Asus mainboard (Nvidia nForce 3 chipset)
  • Athlon 64 3000+
  • OCZ Premium 512M on one stick
  • 36 Gig WD Raptor harddrive
  • Generic NVidia 5200 video card (VGA, DVI, TV-OUT SVID/COMP)
  • NEC Dual Layer DVD drive/burner
  • Apple white/clear USB keyboard (cute and has USB inputs)
  • Logitech media player mouse
  • Firewire for iPod, DV camera
  • … Not yet purchased …
  • Big harddrive ;-)
  • HD TV card

Software stack will be Gentoo GNU/Linux custom-compiled. Mplayer. VideoLan, plus whatever else I need to build a kick ass media computer. MythTV might be cool to use, but installing it looks pretty involved.

XP Windows Media Center

Posted by Jonathan on February 27, 2005

I just spent a bunch of time trying to resolve ‘codec hell’ and actually get Windows Media Center to play actual video files. Here are a couple of solutions if you are having similar problems ;-)

1. Buy actual software to decode mpeg2 …
Microsoft buypacks

2. Download Videolan
Get videolan !!

Does Microsoft Really Support MPEG2 ??

Well, not really. Read their page about Media Center supported formats and go ‘hey, shouldn’t there be something about mpeg2/divx ?’ … I guess at least it’s possible. Note that Media Center uses its own proprietary format for encoding timeshifted TV, so it’s ‘unlikely’ to be able to be played on other machines, e.g. across a lan, without being transcoded and copied first.

Luckily the Videolan software ‘just works’, though I haven’t used it much yet, it hasn’t refused to play anything yet.

Yahoo! on Linux

Posted by Jonathan on February 16, 2005

Finally got Gaim working on Gentoo. It was my problem all along. I didn’t know to configure the ‘port’ to 5050. Quite a few different numbers work for communicating with Yahoo, but 0 is *not* one of them ;-)

Posting this from Firefox running on Gentoo Linux 2.6.10.

110824698100840036

Posted by Jonathan on February 12, 2005


millenium falcon Posted by Hello

110824690090634637

Posted by Jonathan on February 12, 2005


transport1 Posted by Hello

110824688121990497

Posted by Jonathan on February 12, 2005


at-at Posted by Hello

110824685441963228

Posted by Jonathan on February 12, 2005


transport2 Posted by Hello

110824647852419668

Posted by Jonathan on February 12, 2005


Y-wing Posted by Hello

Star Wars Lego

The Star Wars lego is pretty damned cool. I’ve posted some shots of the baby Star Wars models. My favorite is the Y-wing. If you buy all four of the kits, the Y-wing comes free, as you get a few extra bits in each pack.

Tuning Mencoder

Posted by Jonathan on February 08, 2005

Well I finally got round to playing with mplayer/mencoder on my new athlon64 3500+ box…

Playing DVDs

On Gentoo GNU/Linux, you’ll need to set your /etc/make.conf flags appropriately, or mplayer won’t be able to play dvd’s. Here’s my setup :

#/etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS=”-O2 -march=athlon -fomit-frame-pointer”
CHOST=”i686-pc-linux-gnu”
CXXFLAGS=”${CFLAGS}”
MAKEOPTS=”-j1″
USE=”X gnome dvd dvdread dvdlib”

To be honest, I’m not sure which of the dvd flags turns on the appropriate support, but mplayer now manages to play from dvd.

Also, you may need to create a /dev/dvd node in /dev :

ln -s /dev/hdc /dev/dvd

In this case, my dvd player is setup as /dev/hdc, but I think mplayer needs to see it as dvd.

Mencoder

I initially ran mencoder on my test .vob data and got a crummy 35 fps encoding rate. And this is after cranking my memory bios settings to 2,2,2,5. But looking at the initial status page from mencoder showed that the program was compiled with only basic i686 support.

To remedy this, it was necessary to change

CFLAGS=”-O2 -march=i686 -fomit-frame-pointer”

to

CFLAGS=”-O2 -march=athlon -fomit-frame-pointer”

Now mencoder ran at a much better 80 fps. This is more than twice the 35fps encoding rate of my Compaq (HP) Presario AthlonXP 3000+ machine !

I think this certainly shows that the mplayer folks are right when they recommend building it from source.

Encoding Rates

Computer Estimated fps encoding rate OS

Compaq Presario Athlon 64 3500+ 80 fps Gentoo Linux

Compaq Presario Athlon XP 3000+ 35 fps Windows XP Home

Dell Dimension Pentium 4 2.2 GHz 24 fps Windows XP Pro

* These are approximate only, and the windows versions were *not* recompiled for the specific processor. However, on Windows, the pre-built mencoder binaries will use SSE etc., I believe, though it is not optimal.