dpgv4 is a FFmpeg wrapper for converting video files to DPG4 format. The DPG format is used by the MoonShell 2 media player for the Nintendo DS handheld console.
There is no installation script yet. Clone this repository and make sure you have Python 3.x, Pillow and FFmpeg installed. The app should work on all systems that have those dependencies.
Run:
~/path/dpgv4.py *.mp4
Run with --help
for a list of options.
Run with -v
to see the ffmpeg commands used for reencoding. Note that the
ffmpeg commands write binary audio / video data to STDOUT, so if you decide to
run them e.g. for debugging purposes, you should probably redirect the output
to a file.
How is this project different?
- uses FFmpeg (ffmpeg and ffprobe) instead of mplayer / mencoder / mpeg_stat,
- only supports version 4 of the DPG format,
- less options / quality settings to play with,
- better temporary file handling with tempfile.TemporaryFile,
- modern code structure: small, hopefully easy to understand functions, tests, pylint.