个人工具
登录
查看“UbuntuHelp:PSP”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:PSP”的源代码
来自Ubuntu中文
←
UbuntuHelp:PSP
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/PSP}} {{Languages|UbuntuHelp:PSP}} This page explains how to use the Sony PSP (Playstation Portable) with Ubuntu. {{http://doc.ubuntu-fr.org/_media/materiel/psp.jpg?cache=cache&w=373&h=144&end=.jpg}} == 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 [[UbuntuHelp:Mount/USB|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. {{http://pspvc.sourceforge.net/images/capture2.png}} ==== 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: <pre><nowiki> sudo apt-get install nasm yasm libfaac-dev libxvidcore-dev libgtk2.0-dev liba52-dev </nowiki></pre> * Then go to the uncompressed directory and begin the installation: <pre><nowiki> sudo ./install.sh </nowiki></pre> * Users wishing to compile DVDs from VOBs may have to [http://sourceforge.net/forum/forum.php?thread_id=1684676&forum_id=535914 recompile] with certain options. ==== Use ==== * to launch the program, type in a terminal: <pre><nowiki> pspvc </nowiki></pre> * 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. {{http://farm4.static.flickr.com/3388/3508675894_f6d9ec0457_o.png}} ==== 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: <pre><nowiki> sudo apt-get install qt4-designer qt4-dev-tools build-essential </nowiki></pre> * Open a terminal, go to uncompressed directory then in the src directory <pre><nowiki> cd ~/Desktop/qpspmanager-2.0.2 </nowiki></pre> * Then you need to compile and install the program: <pre><nowiki> qmake-qt4 </nowiki></pre> <pre><nowiki> make </nowiki></pre> <pre><nowiki> sudo make install </nowiki></pre> 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. <pre><nowiki> sudo cp bin/QPSPManager /usr/local/bin </nowiki></pre> As of 9.04 make produces errors. <pre><nowiki> src/isocompressor.h:38: error: ‘uint32_t’ does not name a type </nowiki></pre> 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 <pre><nowiki> # include <cstdint> right below # include <iostream> </nowiki></pre> Then run qmake. after qmake finishes open the make file and change. <pre><nowiki> CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) to CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) -std=c++0x </nowiki></pre> Then you can go ahead and <pre><nowiki> make sudo make install sudo cp bin/QPSPManager /usr/local/bin </nowiki></pre> ==== Use ==== * to launch the program, type in a terminal: <pre><nowiki> QPSPManager </nowiki></pre> === 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 <pre><nowiki> # $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; </nowiki></pre> ---- [[category:CategoryHardware]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Http://doc.ubuntu-fr.org/ media/materiel/psp.jpg?cache=cache&w=373&h=144&end=.jpg
(
查看源代码
)
模板:Http://farm4.static.flickr.com/3388/3508675894 f6d9ec0457 o.png
(
查看源代码
)
模板:Http://pspvc.sourceforge.net/images/capture2.png
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:PSP
。