Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.76 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.76 KB

Build Status Coverage

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.

Installation

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.

Usage

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.

Similar projects

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.