This page explains how to use the Sony PSP (Playstation Portable) with Ubuntu. |
|
General Use
Mounting your PSP
Generally all you need to do to use your PSP is to plug the cable into a USB port. The PSP should be automatically recognized as a usb drive and appear on your GNOME desktop or in your KDE Device Notifier widget.
Unmounting/Ejecting your PSP
This is an important thing to do. When you have finished using your PSP, you must right click on it's icon and select eject before unplugging it. This ensures that any files being written to the PSP are permanently saved and informs any programs that may be using files on the device.
Troubleshooting
If your PSP is not automatically recognized see the Troubleshooting section at Mount/USB. This could be due to the "usb power" set to "on" over a usb port or wire that does not support usb powering.
PSP Management and Video Encoding
PSPVC
PSPVC (Playstation Portable Video Convertor) is a FFMPEG front-end to convert video files for the PSP.
Installation
- No package is available in the repositories yet, you will have to compile it manually
Download the .tar.gz archive from the official website: http://pspvc.sourceforge.net
- Uncompress the archive in a directory
First you need to install the dependencies:
sudo apt-get install nasm yasm libfaac-dev libxvidcore-dev libgtk2.0-dev liba52-dev
Then go to the uncompressed directory and begin the installation:
sudo ./install.sh
Users wishing to compile DVDs from VOBs may have to recompile with certain options.
Use
to launch the program, type in a terminal:
pspvc
- the mpeg4 videos goes to MP_ROOT/100MNV01 and the H264 videos to MP_ROOT/100ANV01
- Or in the "Videos" Folder
qPSP
QPSPManager is a PSP manager for Linux, Mac OS X and Windows. It has a variety of features, including application management, a savegame backup system, a PSX ISO converter, a PSP ISO compressor and a video encoder.
Note than some of the features provided by QPSPManager are only supported for specific firmware versions.
Installation
- No package is available in the repositories yet, you will have to compile it manually
Download the .tar.gz archive from the official website: http://qpspmanager.sourceforge.net
- Uncompress the archive on the Desktop
First you need to install the dependencies:
sudo apt-get install qt4-designer qt4-dev-tools build-essential zlib1g-dev
Open a terminal, go to uncompressed directory then in the src directory
cd ~/Desktop/qpspmanager-2.0.2
Then you need to compile and install the program:
qmake-qt4
make
sudo make install
Unfortunetly the last step doesn't work for everyone (make install). Instead a QPSPManager executable file is made in the bin directory. You can then copy this to /usr/local/bin yourself.
sudo cp bin/QPSPManager /usr/local/bin
As of 9.04 make produces errors.
src/isocompressor.h:38: error: ‘uint32_t’ does not name a type
The only work around I Could find was on an Italian forum so I thought i would add it here. First edit /src/isocompressor.h to include
# include <cstdint> right below # include <iostream>
Then run qmake. after qmake finishes open the make file and change.
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) to CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) -std=c++0x
Then you can go ahead and
make sudo make install sudo cp bin/QPSPManager /usr/local/bin
Use
to launch the program, type in a terminal:
QPSPManager
Command line video encoding
Please contribute for other output profiles or sources. Of special interest are the current profiles added to the firmware 5.x
# $1 is a file or 'dvd://1' # $2 is a name to give to the result files echo "$1" CROP=$(mplayer -vf cropdetect -endpos 200 "$1" 2>/dev/null |grep "CROP"|tail -1|sed -e's/^.*(\(-vf.*\)).*$/\1/') mencoder -sws 9 $CROP,pullup,softskip,scale=480:-10,harddup,unsharp=l3x3:0.7,expand=480:272 -ofps 24000/1001 -oac faac -faacopts br=128:mpeg=4:object=2:raw -ovc x264 -x264encopts bitrate=650:global_header:partitions=all:trellis=1:vbv_maxrate=768:vbv_bufsize=2000:level_idc=30:threads=4 -of lavf -lavfopts format=psp -o $2.MP4 $1; mplayer -vo jpeg -ss 150 $2.MP4 -frames 2 ; convert -crop 362x272+60 00000002.jpg jpg:-| convert -resize 160x120 - jpg:$2.thm; rm 00000001.jpg 00000002.jpg;