Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
psp [2017/02/24 13:05]
beandog [PSP]
psp [2023/04/09 12:02] (current)
beandog [HandBrake]
Line 4: Line 4:
   * [[http://​dtcwee.blogspot.com/​2014/​02/​transcode-to-psp-using-handbrake.html|Transcode to PSP using Handbrake]]   * [[http://​dtcwee.blogspot.com/​2014/​02/​transcode-to-psp-using-handbrake.html|Transcode to PSP using Handbrake]]
   * [[http://​tools.rodrigopolo.com/​mp4box_aspect_fix/​|MP4Box Display Aspect Ratio Calculator]]   * [[http://​tools.rodrigopolo.com/​mp4box_aspect_fix/​|MP4Box Display Aspect Ratio Calculator]]
 +  * [[https://​forum.handbrake.fr/​viewtopic.php?​f=7&​t=35849|HandBrake Forums - PSP Howto]] - I wrote this
  
 I have a PSP 1000 (the very first model) that I use to playback video on, just for fun. ''​ffmpeg''​ used to have a preset output for it, but no more. Encoding for the hardware is simple enough, with the right settings. I have a PSP 1000 (the very first model) that I use to playback video on, just for fun. ''​ffmpeg''​ used to have a preset output for it, but no more. Encoding for the hardware is simple enough, with the right settings.
Line 9: Line 10:
 These playback settings are designed to run with the most recent firmware, version 6.61. These playback settings are designed to run with the most recent firmware, version 6.61.
  
-Playback is at 480x272, with a 16:9 aspect ratio.+Playback is at 480x270, with a 16:9 aspect ratio.
  
 The video player does have support for chapters, but adding them to the MP4 doesn'​t have any effect. [Note: when using HandBrake. Probably need to use the proper supported subtitle formats for MP4] The video player does have support for chapters, but adding them to the MP4 doesn'​t have any effect. [Note: when using HandBrake. Probably need to use the proper supported subtitle formats for MP4]
  
-If you're encoding something video that's **widescreen**,​ then scale the width to 480 so that you're using the entire length and have black bars on top and bottom. On the other hand, if it's **fullframe**,​ then do a height of 272 so it's not stretching the video, and you have black bars on the left and right.+If you're encoding something video that's **widescreen**,​ then scale the width to 480 so that you're using the entire length and have black bars on top and bottom. On the other hand, if it's **fullframe**,​ then do a height of 270 so it's not stretching the video, and you have black bars on the left and right.
  
 ==== Playstation Manual ==== ==== Playstation Manual ====
Line 25: Line 26:
 The baseline profile has less features than the main. The x264 encoding settings using the Main profile will set the amount of B-Frames to 3. However, the PSP won't work with any encoding higher than 1. So any changes to the default encoding here reflect that one difference. (also note that the linked article above disables more features than this -- I started with his configuration -- which worked great -- and then tweaked until I found mine) The baseline profile has less features than the main. The x264 encoding settings using the Main profile will set the amount of B-Frames to 3. However, the PSP won't work with any encoding higher than 1. So any changes to the default encoding here reflect that one difference. (also note that the linked article above disables more features than this -- I started with his configuration -- which worked great -- and then tweaked until I found mine)
  
-==== Encoding ==== 
  
-I haven'​t tested encoding anything in a higher preset than medium, and don't really want to chase that down since it's such a small display size anyway. If you're looking for better quality, improve the CRF instead. :) +==== ffmpeg ​====
- +
-==== libav ====+
  
   * Scale video automatically   * Scale video automatically
Line 40: Line 38:
  
 <​code>​ <​code>​
-avconv -y -i video.mp4 -sn -vf scale=480:​-1 -c:v libx264 -x264-params bframes=1 -profile:v main -ac 2 bravia.mp4+ffmpeg ​-i video.mpg -sn -vf scale=480:​-1 -c:v libx264 -x264-params bframes=1 -profile:v main -ac 2 -y psp.mp4
 </​code>​ </​code>​
  
-For a video source that is taller than wider (pan & scan), set the height to 272:+For a video source that is taller than wider (pan & scan), set the height to 270:
  
 <​code>​ <​code>​
-avconv -y -i video.mp4 -sn -vf scale=-:272 -c:v libx264 -x264-params bframes=1 -profile:v main -ac 2 bravia.mp4+ffmpeg ​-i video.mpg -sn -vf scale=-1:270 -c:v libx264 -x264-params bframes=1 -profile:v main -ac 2 -y psp.mp4
 </​code>​ </​code>​
  
Line 54: Line 52:
  
 The video player itself for the PSP will list a video as "​Unsupported Data" if it can't be played back. However, don't depend on this icon completely as proof of failure. Some files it will show the video icon, but then have "This video cannot be played."​ when trying to watch it. An example being where something'​s encoded with the Main x264 profile alone. The video player itself for the PSP will list a video as "​Unsupported Data" if it can't be played back. However, don't depend on this icon completely as proof of failure. Some files it will show the video icon, but then have "This video cannot be played."​ when trying to watch it. An example being where something'​s encoded with the Main x264 profile alone.
 +
 +For thumbnails, have a JPEG of 160x106 with the same basename as the video in the same directory.
  
 ==== HandBrake ==== ==== HandBrake ====
Line 63: Line 63:
  
 <​code>​ <​code>​
-HandBrakeCLI -e x264 --encoder-profile main -x bframes=1 -w 480 -i /​dev/​dvd ​-o movie.mp4+HandBrakeCLI ​-i /​dev/​dvd ​-e x264 --encoder-profile main -x bframes=1 ​--mixdown stereo ​-w 480 -l 272 -o psp.mp4
 </​code>​ </​code>​
  
Line 77: Line 77:
  
 <​code>​ <​code>​
-HandBrakeCLI -e x264 --encoder-profile main -x bframes=1 -w 480 --subtitle-burned 1 -i /​dev/​dvd ​-o movie.mp4+HandBrakeCLI ​-i /​dev/​dvd ​-e x264 --encoder-profile main -x bframes=1 ​--mixdown stereo ​-w 480 -l 272 --subtitle-burned 1 -o psp.mp4
 </​code>​ </​code>​
  
 {{:​star-wars-psp-subs.png|}} {{:​star-wars-psp-subs.png|}}
  

Navigation