/* Template Name:Archive */

Archive for July, 2009

Review – Harry pot head and the half blood prince

So the 6th movie in the Harry Potter series, we’ve invested time in the first 5 movies we’re tied into the rest!

I wasn’t impressed with the Half Blood Prince it took ages to get started and once it did nothing really happened, nothing that made me go WOW!! I have a feeling the creators are saving all the action for the last 2 movies. The movie had a lot more comedy than the previous movies and there were quite a few LOL moments.

As with the previous movies it concluded at the end of term and no doubt the next will begin at the start of term. It seems the Dark Lord likes to take his summer holidays, maybe he’s off to Blackpool with the kids?

Mplayer remote control!

Edit: New version posted here: Linky

I have a pretty nice setup at the minute for controlling media from the iPhone using a combination of VLC and vlcremote, more info on lifehacker.

From my previous postings you can see that I’m using VDPAU to make use of the Revo’s GPU however VLC is lacking support for VDPAU which is why I’m using mplayer.

Mplayer handles the VDPAU perfectly however it lacks a web controllable interface and having searched for ages Ive had to make my own!

A bit of background first, mplayer makes use of a fifo or named pipe file which it constantly monitors for input.  The users echos commands into the file and mplayer acts on it.  What I have set up is a basic PHP page that execute bash echo commands for play/pause/fast forward etc.

To use this you need to have the following:

  • Unix OS
  • Apache & PHP *or similar web server
  • mplayer
  • ffmpeg for thumbnails of videos

First off you need to create the named pipes for mplayer to access:

as your normal user execute:

mkdir ~/.mplayer/

mkfifo ~/.mplayer/in
mkfifo ~/.mplayer/out

chmod 777 ~/.mplayer/in

I experimented with a few different ways of starting mplayer in a service mode and found that the process has to have a TTY value for it to access the named pipes, the best method for doing this was using /etc/rc.local paste the following in and edit it to your own settings:

*my code script isn’t wrapping so until its fixed you can have normal text:

su – nino -c “tail -f ~/.mplayer/in | mplayer -slave -idle -fs -vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau, -ao alsa:device=hw=0.3 -display :0.0 |  cat > ~/.mplayer/out”

replace nino with your normal username as well edit the mplayer string with your own options and you MUST have the following options:

-slave -idle -fs -display :0.0

everything else is optional and what i use for the VDPAU GPU

On reboot you should have an mplayer process running with under TTY8

Next step is to download the script:

Download: Mplayer Control V0.1b  Mplayer Control V0.1b (10.0 KiB, 260 hits)

Place it in a web servable directory and edit a few parameters:

//Set to the video dir
$r00t = "/media/storage/";
//set the fifo file
$fifo = "/home/nino/.mplayer/in";
//shouldnt need to edit anything else

set $r00t to the root directory of where your media is stored, and fifo to the location your fifo file is.

That *should* be everything good to go and you should be able to browse to the php file and start enjoying mplayer with a remote control!  Any issues please post in the comments.

Screenshot:

web interface

web interface

Revo – VDPAU and mplayer

Compiled mplayer with VDPAU support and installed the latest Nvidia drivers resulting in uber fast video decoding!:

httpvh://www.youtube.com/watch?v=00ZViStdx60

The video shows a full HD H264 encoded video being played and the ATOM processor only uses~8% CPU with all the processing being done by the GPU

3GS jailbreak

Decided to do GeoHots jailbreak over the dev teams (god knows when that’s due!)

The GeoHot jailbreak process is utterly fantastic!! A single ~400Kb file, no ipsw to download, no rebuilding the iPhone after jailbreak, ultra simple!!

The guide can be found here:

http://www.iclarified.com/entry/index.php?enid=4253

Best bit is the free memory reported in SBSettings 153MB baby!!!!

New toy – Acer Revo

I’ve been using a full desktop as my home server/media centre which has it’s advantages when performing processor intensive tasks but it draws a hell of a lot of electric!!

I was set on getting the new Fit-pc 2 which is a small fanless answer to a media centre but it comes at a hefty price for what it is.

A colleague bought the Revo and it ticks all the boxes! It’s pretty much a GPU with smaller power CPU (intel atom). The advantages of the nvidia GPU is its specifically designed with the ability to play HD and blueray content in mind!

The Revo isn’t fanless but it is very quiet and has a vey low desktop footprint and can be mounted on the back of a monitor using a mount.

The first task was getting rid of the awful excuse of an OS and installing ubuntu with the latest Nvidia drivers, I still need to do some bench marking but glxgears showed quite a high FPS but the real test will be the full 1080p short movie ” Elephants dream” which was created using open source software.

I didn’t get a chance to fully test the device but I’ll be posting guides and notes as and when I encounter problems etc!

Some pictures:

(taken quickly with the 3GS mmmm macro mode)

Return top