Videos on Moonshell with BatchDPG Guide

Discussion in 'NDS - Emulation and Homebrew' started by yee, Aug 8, 2006.

Aug 8, 2006
    • Member

    yee New Member

    Member Since:
    Jul 9, 2006
    Message Count:
    562
    Location:
    Burnaby, BC, Canada
    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.

    _______________

    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.


    • Newcomer

    G3_Teg New Member

    Member Since:
    Dec 18, 2005
    Message Count:
    4
    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?
    • Former Staff

    Opium PogoShell it to me ™

    Member Since:
    Dec 22, 2002
    Message Count:
    8,165
    Location:
    Australia
    Country:
    Australia
    I had the same problem. But you must download AviSynth 2.5.6 or above and it'll work [IMG]

    Great guide, i'm stickying this.
    • Member

    yee New Member

    Member Since:
    Jul 9, 2006
    Message Count:
    562
    Location:
    Burnaby, BC, Canada
    Country:
    Canada
    I downloaded the K-Lite Codec Pack once I got that error and it worked fine, it's stated in the original post.
    • Member

    heyyouguys New Member

    Member Since:
    Mar 1, 2006
    Message Count:
    337
    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
    • Member

    yee New Member

    Member Since:
    Jul 9, 2006
    Message Count:
    562
    Location:
    Burnaby, BC, Canada
    Country:
    Canada
    Sorry, I don't believe you can disable only one button.
    • Member

    yee New Member

    Member Since:
    Jul 9, 2006
    Message Count:
    562
    Location:
    Burnaby, BC, Canada
    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.
    • Member

    heyyouguys New Member

    Member Since:
    Mar 1, 2006
    Message Count:
    337
    Country:
    United States
    Did you change any settings ( i couldn't tell)
    • Member

    yee New Member

    Member Since:
    Jul 9, 2006
    Message Count:
    562
    Location:
    Burnaby, BC, Canada
    Country:
    Canada
    Only settings I recommend changing is Dithering and GOPSkip to 0 from the original 1 in the Global.ini inside the Shell folder.
    • Member

    Konamix02 New Member

    Member Since:
    Oct 2, 2005
    Message Count:
    251
    Location:
    Alabama
    Country:
    United States
    Where is the dpg file supposed to be. I set it to the desktop and all I get is an avs file. Does it have anything to do with the fact that it's an mp4?
    • Member

    yee New Member

    Member Since:
    Jul 9, 2006
    Message Count:
    562
    Location:
    Burnaby, BC, Canada
    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 [IMG]
    • Member

    heyyouguys New Member

    Member Since:
    Mar 1, 2006
    Message Count:
    337
    Country:
    United States
    The dpg file is wherever you said the output folder would be. It should not matter that it is an mp4 as long as you have the codecs.

    Here is another tutorial that may help you as well http://scdev.org/forum/viewtopic.php?t=5187
    (Not to take anything from this tutorial as it is great!)
    • Member

    Konamix02 New Member

    Member Since:
    Oct 2, 2005
    Message Count:
    251
    Location:
    Alabama
    Country:
    United States
    Because I installed AviSynth and K-Lite so I dont know what the problem could be
    • Member

    yee New Member

    Member Since:
    Jul 9, 2006
    Message Count:
    562
    Location:
    Burnaby, BC, Canada
    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.
    • Member

    heyyouguys New Member

    Member Since:
    Mar 1, 2006
    Message Count:
    337
    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?
    • Member

    yee New Member

    Member Since:
    Jul 9, 2006
    Message Count:
    562
    Location:
    Burnaby, BC, Canada
    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.
    • Member

    heyyouguys New Member

    Member Since:
    Mar 1, 2006
    Message Count:
    337
    Country:
    United States
    I haven't had an error for a while and I had the same effect when opening wmp, i was wondering why you recommended vlc (which is rocks!)
    • Member

    yee New Member

    Member Since:
    Jul 9, 2006
    Message Count:
    562
    Location:
    Burnaby, BC, Canada
    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, [IMG]
    • Member

    saxamo Spaaaaace!

    Member Since:
    Aug 6, 2006
    Message Count:
    777
    Location:
    NYC
    Country:
    United States
    Does this work with g6 lite? Sorry if the answer is obvious...
    • Newcomer

    dasdef New Member

    Member Since:
    Aug 2, 2006
    Message Count:
    13
    Country:
    Canada
    Indeed
    i have a g6 lite and it works great [IMG]

SPONSORED LINKS
 

Share This Page