video2psp
video2psp is a Python CLI tool that converts videos to a PSP-compatible MP4 format, allowing you to select which audio and subtitle track to include (burned in) or optionally use an external subtitle file.
Installation
- Make sure you have FFmpeg (including
ffprobe) installed and accessible in your system’s PATH. - Clone or download this repository and run:
pip install .
This will install video2psp as a console command.
Or install using PyPI
pip install video2psp
Usage
GUI
Prefer a graphical interface? Run:
video2psp --gui
(-g also works). This opens a window where you can pick the input/output files, choose tracks, and tweak volume/preset/CRF without touching the terminal.
CLI
With the tool installed, simply run:
video2psp <input_video> <output_video> [options]
- If you do not specify
--video-track,--audio-trackor--subtitle-track, the script will prompt you to pick which tracks to use. - To skip prompts, you can set them explicitly, for example:
video2psp movie.mkv out.mp4 --video-track 0 --audio-track 0 --subtitle-track 1
- To burn an external subtitle file instead of an embedded track:
video2psp movie.mkv out.mp4 --external-subs subs.srt
- To adjust audio volume (e.g. 150%):
video2psp movie.mkv out.mp4 --volume 1.5
- To trade encoding speed for compression efficiency (default:
medium):video2psp movie.mkv out.mp4 --preset veryfast
Available presets (slowest/best compression to fastest):veryslow,slower,slow,medium,fast,faster,veryfast,superfast,ultrafast. - To control video quality/file size via CRF (0-51, lower = higher quality and larger file, default:
23):video2psp movie.mkv out.mp4 --crf 26
Video is encoded at a constant quality target rather than a fixed bitrate, so simple scenes take up less space;-maxrate/-bufsizestill cap the peak bitrate to respect the PSP's decoder buffer limits.
Notes & Limitations
- The PSP typically supports H.264 Baseline Level 3.0 with AAC audio.
- Resolution is scaled to fit within 480x272 (PSP screen size), preserving aspect ratio and padding with black bars as needed.
- Only one video and audio track is included, and one subtitle track can be burned.
- For image-based subtitles (like PGS or VobSub), you need to convert them to a text format (e.g., SRT) before burning.
Feel free to contribute or customize further. Enjoy converting videos for your PSP!
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file video2psp-0.4.0.tar.gz.
File metadata
- Download URL: video2psp-0.4.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fd873cf6bfa86bc6a7afe55a1950bfe3f8bf3db3102e22b4130c7c61beb7d15
|
|
| MD5 |
d335aa9dc22d6201975b2a48ed01f178
|
|
| BLAKE2b-256 |
f7a4936b98533da16a5a3434d682f1bede710e75f3b5f952b8f7bf5de1775d55
|
File details
Details for the file video2psp-0.4.0-py3-none-any.whl.
File metadata
- Download URL: video2psp-0.4.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65ac8d70a2afec5ceaae42ff5f620e7e225f44aa546bb2690485ed65576947d1
|
|
| MD5 |
d6d32bb86a7e64788eba1b2d10f74c2d
|
|
| BLAKE2b-256 |
8faf51203039c62621d77021be724cfbf16966cb542181dd458ac2bcf34cd53a
|