Strictly speaking, putting movies onto the PSP is not web development, but I like watching movies when I'm not building the web, so I put together these notes on how I get movies onto my PSP. Hopefully you'll find them helpful.
Disclaimer: I use these tools and techniques for legitimate and legal fair use of DVD-stored movies which I have purchased. I am providing these instructions so that you may do the same. Make no mistake, if you use these instructions to violate copyright, that is stealing, and I do not condone that.
I use two pieces of software: HandBrake (version 0.7.0) and ffmpegX (version 0.0.9u). I need HandBrake to decrypt the DVDs - otherwise I think ffmpegX could probably do it all.
The PSP screen has a resolution of 480x272, but for movies the total number of pixels (width × height) can't exceed 76,800 pixels. Whatever resolution you use, the picture will always (by default) be scaled to the full screen size.
I like my movies in their original aspect ratio, so in HandBrake I rip it that way, making sure I use the maximum dimensions that will not result in cropping and still fit within the 76800 pixel limit.
Some 16:9 sizes that reportedly work: 368x208, 416x176, 320x176, 384x160, 480x160, or 400x192
The PSP uses MP4 as its format with some proprietary changes. First, the name of the file is critical. Second, the name of the movie is embedded within the file. (There are no doubt other changes, but these are the two that I've found I need to be aware of.) Fortunately ffmpegX knows how to take care of these. Also, where the movie file is placed on the PSP is important. (Path: /MP_ROOT/100MNV01/)
HandBrake (http://handbrake.m0k.org/) is a GPL DVD to MPEG-4 ripper. HandBrake was originally built for BeOS, but is now on MacOS X and to GNU/Linux. A Windows beta is available.
Video sources:
Outputs:
A good HandBrake Tutorial: http://www.freesmug.org/tutorial/handbrake/
ffmpegX (http://homepage.mac.com/major4/download.html) is, near as I can tell, really just a GUI front end to other command-line tools that you must install separately, so it's not quite as easy to install as other Mac software (but not particularly difficult either - just follow the directions).
OK... to make sure I have this all worked out, I decided to copy a movie (Outland) to my PSP taking notes as I did so. The result is the following step-by-step instructions. Hopefully this will work for you, though your mileage may vary.
File Format: MP4 FilePicture settings...
Codecs: MPEG-4 Video / AAC Audio
Framerate: Same as Source
Encoder: FFmpeg
Average Bitrate: 1000 kbps
(If I were running this overnight instead of in the morning before work, I'd have probably turned on 2-pass encoding.)
Keep aspect ratio: checked
width: 400
height: 176
Crop: automatic
| R · I · T | |
| © 2006 by Ronald P. Vullo, Ph.D. All Rights Reserved | rpv@it.rit.edu |