Yee and Firon's (Guide) Videos on Moonshell with BatchDPG Guide
From M3 Wiki
- Original thread here: http://gbatemp.net/index.php?showtopic=35547
- Original credits go to yee from GBAtemp.
- Guide modded by Firon for the new BatchDPG. Thread here: http://gbatmw.net/index.php?topic=1840.0
I've decided to compile a simple guide to converting videos to .DPG format with BatchDPG for view using Moonshell. The parts input and buttons are based on the documentation part of LS5's BatchDPG site. I just simply made it simpler for those that did not get it in the first place.
What is needed:
- AviSynth
- .NET Framework 1.1
- BatchDPG 1.2
- Any sort of video
You can download BatchDPG 1.2 (an improved version made by Firon) at http://utorrent.com/BatchDPG_v1.2.7z
If you used an old BatchDPG version, make sure that you delete BatchDPG.ini before running!
Download it, extract it to any folder (WinRAR can open 7-zip files), and run BatchDPG_v1.2.exe. You'll be greeted by a nice and simple menu.
Input
- Media file: Where you pick the file to convert to watch.
- Subtitle file: If your video has an external subtitle file, BatchDPG can also incorporate it. But at the moment, it only takes SRT, SSA and ASS files (No, not that type of ass).
Helpful tip: If you have embedded subtitles in an MKV or OGM, you'll need to extract them by using VirtualDubMod, opening a video in it, clicking on Streams -> Streams List, clicking the text stream, and hitting Demux. Save it somewhere.
Output
- Temp dir: This is where all the temporary files during converting are placed. I recommend making a folder called "temp" in your BatchDPG installation path and selecting that. If nothing is input, the source folder will be the temp folder by default.
- Output file: Where the converted .DPG file sits in wait once it is done converting.
Video
- FPS: The framerate of the video. You can only use whole numbers meaning no decimels are allowed. By default, it is set to "auto." Auto picks bad framerates for some content, so I suggest manually changing the FPS depending on the Width and Height.
- Suggested FPS settings:
- 256x192: 15
- 256x144: 18
- 256x112: 20
- 256x96: 22
- Profile: If you pick VeryHigh, it will give you the absolute highest quality, and significantly smaller filesizes than all the other profile. If you pick the Low, it will give roughly the same quality as DPGTools.
- Width & Height: Basically, you can set the width and height of the outputted video in pixels. BatchDPG automatically finds these numbers, except in a few cases where it doesn't and asks for a manual input.
- Bitrate & Max Bitrate: A higher number results in a better quality video at the cost of size. The bitrate is variable so you will often the encoder will use more or less bits for scenes that need it to improve overall quality. I recommend setting the bitrate to 256 if using the VeryHigh profile for all types of encodes, since you will typically end up with actual average bitrates much lower than that (160-180). Set max bitrate to 384. Try not to set Max bitrate higher than 384, since higher than that may cause skipping and won't really improve quality.
- Passes: This option lets you use multiple encoding passes to potentially improve video quality. However, this typically does not improve quality and simply makes encoding take longer, and make the video somewhat larger. This CAN help to improve quality (and possibly reduce skipping) in videos that have extremely high amounts of motion and skip in Moonshell. It may also help in very low-bitrate encodes.
- KVCD Matrix: This option will reduce filesizes and improve quality slightly with little to no cost in encoding time. This should always be checked.
Audio
- Bitrate: Everything about video bitrate applies here in audio as well except for the fact that the bitrate you choose for audio is constant, not variable.
- Samplerate: The DS can only take on 48000Hz in Mono, so use 48000Hz for Mono and 32000Hz for Stereo.
- Mono: It helps to lower filesize by letting you use a smaller audio bitrate without sacrificing much quality.
- Joint Stereo: Improves quality significantly for stereo mode, allowing you to keep the bitrate low without sacrifing quality. This is preferred over Mono.
- Normalize: Normalizing raises the volume of the audio to the highest possible level without losing quality. I recommend using this option.
Helpful tip: If your file has multiple audio tracks, install Haali Media Splitter with MKV, OGM and MP4 support, open Haali's properties (Start -> Haali Media Splitter, Media Splitter settings), click Options -> Languages -> Audio language priority, and input the preferred language in the box: eng for English and jpn for Japanese.
Other
- After encoding: Self-explanatory
- Process priority: It only affects Mencoder if you decide to use it. Basically, if you set it to low, it will use less of the computer resources so other programs do not lag as much, and vice-versa. Note that this option will not work if using multi-pass encoding.
Buttons
- Add, delete, clear and run: Self-explanatory.
- About: Display version information.
Steps to Watch Video With Moonshell
- 1. Convert video
- 2. Place anywhere in your SD card. ( I made a folder called Media )
- 3. Open up Moonshell and browse to the folder you made with the video.
Helpful Moonshell Video Buttons
- 1. Pressing Y will lower the volume, pressing X will raise it. Volume ranges from 0% to 400%. Raising this too high beyond 100% may make it sound bad.
- 2. Pressing R will skip to the next video, or if you have just one video, reset it to the start.
- 3. Pressing L will pause the video.
- 4. Holding Pause will give you a debug menu.
- 5. If you touch the bottom screen, it will exit full screen and switch to the touch screen and play the scene with a menu in which you can seek the frame to watch.
FAQ
Conversion errors:
If you ever have any conversion errors, I would recommend getting a few extra codecs for both the audio and video. I recommend getting the K-Lite Full Codec pack and picking the default settings as that seems to fix most of the conversion problems.
Video skips slightly:
Open your "global.ini" in the Shell folder of MoonShell with Notepad and edit the following - Dithering=1 / GOPSkip=1 and replace the 1's with 0's. Also, if the video bitrate and frame rate is too high, it may cause more in-video skips. You can also play around with the AdaptiveDelayControl. What it does if set to 1 is focus mainly on video and sound sync and if set to 0, focus solely on video. I recommend setting it to 0 if you watch animation and 1 if you watch normal shows.
Recommend settings
- FPS: For width & height of 256x192: 15, 256x144: 18, 256x112: 20, 256x96: 22
- Video bitrate: 256
- Max bitrate: 384
- Passes: 1
- KVCD Matrix: On
- Profile: VeryHigh
- Width: (let BatchDPG choose this)
- Height: (let BatchDPG choose this)
- Audio bitrate: 128
- Samplerate: 32000
- Joint Stereo: On
- Normalize: On
I tested these settings with various movies and TV shows. 22 minute TV shows and anime tend to come out at around 55MB with the above settings, with excellent video and audio quality.
Thanks to
LS5 - for creating the best converter for DPG format files for use with Moonshell
Yee - for making this guide
Firon - for improving BatchDPG and this guide
Infantile Paralysiser - for making Moonshell in the first place


