Archive for December, 2007

Read comics on your PSP

Sunday, December 30th, 2007

The PSP also has image viewing support. The following script will extract all images from a comic book archive (CBR/RAR/ZIP file) and format them properly for viewing on the PSP. It will shrink images down to 720 pixels in width which should be more than large enough to read on the 480 pixel wide PSP. The smaller image will then load faster on the PSP.

The directory created underneath your picture folder will be the same name as the CBR file.

The script relies upon the ImageMagick convert program.

Usage: extract_comics -d <mount path to pictures on psp> cbr_file1 cbr_file2 …

Example: extract_comics -d /mnt/psp/picture my_comic.cbr

extract_comics

Encode movies for your PSP on Linux

Sunday, December 30th, 2007

Let’s face it, almost all of the PSP video encoding tools are for Windows. After doing some extensive research, I have finally found an encoding solution that works. The PSP can play MP4 and H.264/AVC, but it is very finicky when it comes to supported files.

So without further ado, I present my script that I use to encode videos. Eventually I’ll get around to making a GUI for it, but right now you can have the script and play with it. Most of the constants are defined in the beginning of the script so they can be easily changed, such as audio and video bitrate. The usage is: encodepsp inputfile outputfile.

The script depends upon a recent build of mplayer/mencoder with x264-svn and aac support.

Example: encodepsp dvd://1 movie.mp4

encodepsp

Attack of the spammers

Thursday, December 13th, 2007

Wow. I guess I need to check my comments more often. Apparently spammers have been commenting on my posts. But at least now I know the best place to order penis enlargement pills.