Homebrew Videos on Moonshell with BatchDPG Guide

yee

Well-Known Member
OP
Member
Joined
Jul 9, 2006
Messages
615
Trophies
0
Location
Vancouver
Website
revscene.net
XP
547
Country
Canada
Videos + Moonshell + BatchDPG Guide by Bernie Yee

Last updated: May 27th, 2007
Currently up to date with Moonshell 1.71 and BatchDPG 1.3 Beta 5 w/ Multithread Support


Please do not duplicate my guide without acknowledgment.


I've decided to compile a simple thread with step by steps, up to date software, recommended settings, tips, FAQs, etc, to help you get the most of your DPGs and Moonshell.

_______________


What Is Needed:
AviSynth
Microsoft .NET
BatchDPG
Moonshell
ffdshow
Videos

_______________


Download Links:
AviSynth - Click!
Microsoft .NET Framework - Click!
BatchDPG 1.3 Beta 5 w/ Multithread Support - Click!
Moonshell - Click!
ffdshow - Click!

I will always have up to date links for the newest versions here!

_______________


Getting Ready

First, make sure you have the latest AviSynth 2.58 installed, Microsoft .Net Framework 3.0 and ffdshow installed on your computer. If you haven't yet, please do so, reboot your computer and come back.

Once you have all that done, please download BatchDPG, and Moonshell. You are given a choice in which format to download Moonshell in, and I will be using the .ZIP version in this guide.

_______________


Installing BatchDPG + Moonshell

Simply download BatchDPG from the above link, it's the latest version (v1.3 Beta 5 with Dual Core support) and extract it to wherever. Also make sure you copy "avisynth.dll" to your X:\Windows\System32 directory (X meaning wherever you have Windows installed).

Afterwards, open up the second link (it's the file with an .exe extension). It's a self-extracting installation file, so pick a path to wherever you want BatchDPG installed. I used the default path. And once that is done installing, open up the first link, and extract that BatchDPG.exe to wherever you just installed BatchDPG and overwrite the old file. If you updated BatchDPG correctly, it'll say BatchDPG v1.3 Beta 4.5 when you open up BatchDPG.

Moonshell on the other hand, will require your flash memory card (SD, MiniSD, MicroSD, etc) to be plugged into your computer before installation.

Extract the Moonshell Installation archive you just downloaded to anywhere, preferably the Desktop since you'll be getting rid of the files after. Luckily for us, Moonshell comes with a setup file just like BatchDPG to make life just that much easier! Please open setup.exe.

Once you open it, you'll be greeted with a window in which you can select a language. Since English is already ticked, just click OK and ignore the little box under it. Once you click OK, you'll be greeted with another popup. This time, select the drive in which your flash memory card is recognized as.

As you can see, there are quite a lot of options to choose from, but don't worry! I will guide you through this. First of all, hit "all clear" next to ROM image and then tick the one that represents your Slot-1/Slot-2 adapter, e.g. if you have an EZ-Flash V, tick only "EZ5S_MOON EZ Flash 5 (SD Card)" and so on. After you've done that, please tick "moonshl.ini (full) is copied" since that will give you more options if you choose to tinker around with the configuration file later. Everything else is pretty much fine on default except if you want a clock screen saver within Moonshell. If you do, please select the one you like best from the drop down list. Now that we're done setting up the installation settings, click "Setup" and wait for all the files to be copied to your flash memory card.

Once all the files have been copied, you should be greeting with a popup asking you if you want to open the "moonshl.ini" configuration file. On default that is ticked, so just click OK as we'll need to do some tweaking.

When the file is opened, please jump to the [DPGPlugin] section and replace the 1s in Dithering/GOPSkip/AdaptiveDelayControl to 0. That will optimize the settings to make the DPGs run alot smoother on your DS.

And that's it in terms of installing Moonshell and BatchDPG. Now we move on to the good stuff, encoding the video!

_______________


Encoding The Video

Just open up BatchDPG by clicking the link in the start menu and you'll be greeted with a very good looking menu. Click "browse" next to media file and select your media file. Once your video is loaded, please input one of the two recommended settings in the section below and select a temporary path and final output path of your video. Once you are done, just click "Add" and click "Run". Please repeat if you have any more videos. There's also a drop down box next to where it says "After encoding" and it's pretty straightforward.

PLEASE NOTE THAT DUAL CORE FUNCTION IS BROKEN, PLEASE LEAVE AT 1 FOR NOW

If you have a Dual Core CPU, you can set the CPU Cores to 2 for faster encoding, otherwise set it to 1 if you don't or else it may cause problems.

_______________

My Video Is Done Encoding, Now What?

Browse to the output folder, and voila, you should see the DPG(s) that you've just encoded! Sweet eh? Now all you have to do it just copy them over to your flash memory card, load up Moonshell and start watching them!

_______________

BatchDPG 1.3 Beta 5 Recommended Settings For Moonshell 1.71

Fullscreen
FPS: 20
Video bitrate: 386
Max bitrate: 512
Passes: 3
Profile: Ultra
Resizer - Spline16
Width: 256
Height: 192
Audio bitrate: 128
Samplerate: 32768
Mode: Joint Stereo
Normalize: On

Widescreen
FPS: 22
Video bitrate: 386
Max bitrate: 512
Passes: 3
Profile: Ultra
Resizer - Spline16
Width: 256
Height: 144
Audio bitrate: 128
Samplerate: 32768
Mode: Joint Stereo
Normalize: On

* If you guys want, you can lower the amount of passes to reduce encoding time at the possible expense of quality.
* Those are the recommended settings, remember that you can always play around and make your own settings : )
_______________

Moonshell Buttons
1. Pressing Y will lower the volume, pressing X will raise it. Volume ranges from 0% to 400%
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 through.

_______________

FAQ

Conversion Takes Hours: Don't worry, this is normal and mainly due to having the profile set to Ultra because it uses the more extensive features of Mencoder to improve quality/reduce file size at the expense of encoding time. File sizes are usually dropped 1/6 to 1/5 on average and quality is improved visibly in scenes with lots of motion. Sometimes the video will be bigger when it's ran through more passes due to Mencoder adding more data to scenes that require it.

Firon said:
VeryHigh/Ultra is a lot slower because it turns on a lot of Mencoder's options to improve quality / reduce filesize at the expense of extra encoding time. -Especially- the B-frames related stuff. That's the real speed killer, but it also provides the most improvement (filesizes dropped 1/6 to 1/5 on average and quality improved visibly, especially in scenes with a lot of motion). Oh, and if you want to use more than 1 pass, don't use more than 2 or 3, quality is actually reduced beyond that.

_______________

Tips!

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.

Want to get rid of those annoying popups you get when you boot up Moonshell? Simply open your "moonshl.ini" in the "MOONSHL" folder of Moonshell with Notepad, browse to the [Boot] section and replace all the 0s in hiddenAboutWindow=0 / hiddenHelpWindow=0 / hiddenDateTimeWindow=0 to 1s to hide them. You can also play around with "moonshl.ini" as most of the configuration commands are explained and pretty straight forward.

_______________

Thanks to
Triforce, LS5, Firon, Infantile Paralysiser, FAST6191, sscilli and the people here at GBAtemp.net and over at GBATMW.net.
 

G3_Teg

New Member
Newbie
Joined
Dec 18, 2005
Messages
4
Trophies
0
XP
9
Country
Canada
I'm getting an error message in batchdpg saying that my conversion failed and i should run the video file in a direct show based media player or something. Anyone else have this problem?
 

Opium

PogoShell it to me ™
Former Staff
Joined
Dec 22, 2002
Messages
8,202
Trophies
0
Age
36
Location
Australia
Website
www.gbatemp.net
XP
1,163
Country
Australia
I had the same problem. But you must download AviSynth 2.5.6 or above and it'll work
smile.gif


Great guide, i'm stickying this.
 

yee

Well-Known Member
OP
Member
Joined
Jul 9, 2006
Messages
615
Trophies
0
Location
Vancouver
Website
revscene.net
XP
547
Country
Canada
I'm getting an error message in batchdpg saying that my conversion failed and i should run the video file in a direct show based media player or something. Anyone else have this problem?

I downloaded the K-Lite Codec Pack once I got that error and it worked fine, it's stated in the original post.
 

heyyouguys

Well-Known Member
Member
Joined
Mar 1, 2006
Messages
344
Trophies
0
Age
53
Website
Visit site
XP
416
Country
United States
Yee,

I understand you can disable both shoulder buttons, but can you disable only one of the shoulder buttons (L or R) and can you disable any of the a,b,x,y buttons by themselves also?

I understand you can do both shoulder buttons
 

yee

Well-Known Member
OP
Member
Joined
Jul 9, 2006
Messages
615
Trophies
0
Location
Vancouver
Website
revscene.net
XP
547
Country
Canada
Completed testing, I hope you guys enjoy the settings I have posted.

They have all worked perfectly without skipping, out of syncness, etc.

I even tested with FFVII-AC, which has alot of action and movement, and worked perfectly as well.
 

yee

Well-Known Member
OP
Member
Joined
Jul 9, 2006
Messages
615
Trophies
0
Location
Vancouver
Website
revscene.net
XP
547
Country
Canada
Not sure, I have only tried with MPEG and AVIs. I'll put that on my to-do list.

AVS is actually a temporary file, so I'm assuming the conversion isn't done yet.

But yeah, once you're done converting, the DPG file will be in wherever you set the output path to be
smile.gif
 

yee

Well-Known Member
OP
Member
Joined
Jul 9, 2006
Messages
615
Trophies
0
Location
Vancouver
Website
revscene.net
XP
547
Country
Canada
I only recommend installing K-Lite if you have codec problems before installing it.

And offtopic for a sec, the K-Lite will also let you view majority of the videos out there due to the codecs it install with Windows Media Player, but VLC Media Player is one you should also check out.
 

heyyouguys

Well-Known Member
Member
Joined
Mar 1, 2006
Messages
344
Trophies
0
Age
53
Website
Visit site
XP
416
Country
United States
Yee, I use VLC.

Now this may be a stupid question but i thought I read it somewhere.

If you are having problems converting a video file, do you need to open a media player like WMP or VLC to help?
 

yee

Well-Known Member
OP
Member
Joined
Jul 9, 2006
Messages
615
Trophies
0
Location
Vancouver
Website
revscene.net
XP
547
Country
Canada
When it gives you an error in BatchDPG? What problem exactly? The video conversion failed error?

I had them, and I opened the files up with WMP, but it didn't do anything.

All I did afterwards was install the K-Lite codec pack and it worked jiffy.
 

yee

Well-Known Member
OP
Member
Joined
Jul 9, 2006
Messages
615
Trophies
0
Location
Vancouver
Website
revscene.net
XP
547
Country
Canada
Oh, because it has its own codecs, so you don't need to install any additional video decoding codecs. But in this case, Windows need them, so you have to have them,
wink.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sicklyboy @ Sicklyboy: *teleports behind you* "Nothing personnel, kiddo" +1