https://github.com/pawel-slowik/dpgv4
Convert video files to DPG4 format used by MoonShell for Nintendo DS
https://github.com/pawel-slowik/dpgv4
cli ffmpeg-wrapper nintendo-ds
Last synced: 3 months ago
JSON representation
Convert video files to DPG4 format used by MoonShell for Nintendo DS
- Host: GitHub
- URL: https://github.com/pawel-slowik/dpgv4
- Owner: pawel-slowik
- License: mit
- Created: 2018-12-26T16:08:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-19T11:33:01.000Z (4 months ago)
- Last Synced: 2025-03-27T01:35:29.310Z (3 months ago)
- Topics: cli, ffmpeg-wrapper, nintendo-ds
- Language: Python
- Homepage:
- Size: 4.31 MB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Build Status][build-badge]
[![Coverage][coverage-badge]][coverage-url][build-badge]: https://github.com/pawel-slowik/dpgv4/workflows/tests/badge.svg
[coverage-badge]: https://codecov.io/gh/pawel-slowik/dpgv4/branch/master/graph/badge.svg
[coverage-url]: https://codecov.io/gh/pawel-slowik/dpgv4dpgv4 is a [FFmpeg](https://www.ffmpeg.org/) wrapper for converting video files
to DPG4 format. The DPG format is used by the
[MoonShell 2](https://wiki.gbatemp.net/wiki/Moonshell) media player for the
[Nintendo DS](https://en.wikipedia.org/wiki/Nintendo_DS_family) handheld
console.## Installation
There is no installation script yet. Clone this repository and make sure you
have [Python 3.x][download-python], [Pillow][download-pillow] and
[FFmpeg][download-ffmpeg] installed. The app should work on all systems that
have those dependencies.[download-python]: https://www.python.org/downloads/
[download-ffmpeg]: https://ffmpeg.org/download.html
[download-pillow]: https://python-pillow.org/## 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
- [DPG for X](http://dpg4x.sourceforge.net/) - GUI
- [dpgconv](https://github.com/artm/dpgconv) - CLIHow 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.