colinramsay.co.uk

PS3 & HD - MPlayer and More...

24 Sep 2007

Last week we went on a spending spree and bought a new 42 inch LCD HDTV - the Sharp LC42XD1EA to be exact. Notice the "A" on the end, as that signifies a newer revision than the earlier LC42XD1E. I bought it from www.24electric.com who I would definitely recommend, they had the lowest price and delivered very quickly. I had some questions after I placed the order and these were dealt with very quickly and in a helpful way.

The TV itself is great, I'm really pleased, and so I felt obliged to get an HD source to put it to the test. I bought a PS3 from HMV with Motorstorm, some F1 game and two Bluray DVDs.

I wanted to use the PS3 as a media center in the same way I used my old XBox with XMBC, except this time it would support HD formats (my TV goes up to 1080p). Sony doesn't really allow you to play very many video formats from the main GameOS screen, but fortunately the PS3 allows me to install Linux, so I grabbed Yellow Dog Linux and was up and running very quickly. The E17 window manager which it ships with is far and away the best Linux desktop experience I've ever had, but I switched to Gnome, the other available desktop, to allow me to follow a tutorial on installing MPlayer.

After much gnashing of teeth I've managed to get a range of mixed results. I read this report that someone was able to get MPlayer running 1080p content within X, but I can't reproduce that. They say they are "using ffmpeg to decode... using the X11 video output", which on the commandline I interpret as:

mplayer -vfm ffmpeg -vo x11 filename

I couldn't get this to work with either a 720p Prison Break episode I downloaded, or a 1080p movie trailer. MPlayer kept reporting that the system was too slow for it to work.

Instead I rebooted and at the kboot prompt (blink and you'll miss it) typed "ydltext" to start Yellow Dog in text-only mode. From there I tried running mplayer in framebuffer mode:

mplayer -vo fbdev filename

This allowed my 1080p trailer to play as smooth as you like. Nothing I could do would make the Prison Break episode work to my satisfaction.

However, it did boost my confidence that the PS3 will be able to do this sort of thing in the near future. The Prison Break episode was a Matroska file, so this really must be a codec issue somehow. My knowledge isn't strong enough to say for certain but I really hope someone can figure out a cohesive solution which caters for the huge range of video files I could play on XBMC.

Incidentally, I'd like to have an option in the GameOS to boot into another OS, and that way someone could come up with a MediaOS that I could run from the GameOS. At the moment you have to choose the default OS as YDL and boot to that, then back to the GameOS from there. I'd prefer to do it the other way round.

It's taken a lot of forum searching to scrape up enough information to get this far. The PS3 isn't quite there yet but with a push from one of the interested parties (MythTV, FreeVO, MPlayer, Geexbox, XBMX... even Sony) then it could become an enthusiasts dream.