• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

(guide) How to Play MPEG-1 videos using Moonshell (24/01/06)

Started by Koji, December 18, 2005, 01:21:52 PM

Previous topic - Next topic

Koji

Stuff you'll need:
Tsunami Mpeg Encoder http://www.tmpgenc.net/e_main.html
Full Moonshell .8 install (contains moonshell encoder) http://rapidshare.de/files/10655533/20060107_moonshell08-SCSD.zip.html SD version.
http://l33t.spod.org/~cory1492/2006-01-10-moonshell08menumod.zip
CF version

(edit) If you have any problems reencoding your video, or don't get audio when you play back the file moonshell, install FFDshow before encoding with TMPGENC.

1. Load up TmpgEnc and click load "browse" next to video source. Click the video you want to convert.



2. Click the setting button and it will bring up the setting window.

3. Change the video to Mpeg 1 (can use mpeg 2, but mpeg 1 gets better performance)



4 and 5. Check below for a chart where I recommend bitrate and frame rate settings for various videos.

6. Set to constant bitrate if you want to encode faster, choose variable bit rate if you want a smaller file, but longer encode times.

7. Click the audio tab.

8. Select Mpeg-1 Layer II from stream type.



9. Sample frequency 32000hz, Mono, at 128kbps. DPG will reencode it again later, so really just make sure that 32000hz is selected. It's important if you get a lot of audio skipping.

10. Click start on TmpgEnc and wait for it to finish.

11. Take the file from step 10 and open it in dpgenc.

12. Click "more settings" then change the rate to 32000. This is to match your video file you made. Also, disable video reencoding.



13. Hit the option with the green check mark and it will convert the file.

14. Load up moonshell .8 or later and Enjoy!

(guide updated January 10th 2006)

Some information on why I chose to use TMPG over just using the DPG encoder. DPG is simpler, but you have very little control over the settings, it's less efficient (it makes larger files) and overall as someone who reencodes videos fairly often I'm just more comfortable in TMPG.

Common Videos and bit rates:

lowest recommended for viewing
192x144 8fps @ 96-128kbps VBR heavily recommended.
(only to be used to fit big things into small spaces)

Fast movies (action/adventure):
192x144 23.967 FPS @ 224-320 FPS with variable frame rate
(bonuses are super smooth action with low artifacting. Lower res makes for a bit blurry picture though)

Low motion movies/cartoons (comedies, romances, etc. Anything without a lot of motion, not subtitle recommended)
224x160 8 to 12fps @ 128-160kbps CBR would probably be fine but can use VBR.
(Fairly small size while still allowing for fairly good action on low motion things. Fast motion scenes will artifact badly)

Normal movies (cartoons/anime in your language. Anything with fairly large subs, and anything with moderate action scenes):
224x160 12fps (internally 24fps) @ 160-224kbps VBR (224-256 if subtitled. May want to turn off VBR for subs as it can sometimes cause blocking when it "dips" to lower bitrates)
(Probably the standard rate you should use on most videos. Will play most things fine with minimal artifacting and minimal frame skipping)

High quality video (for subtitled films. Works best on low to medium action)
256x192 8fps @ 256-320kbps VBR.
(Image quality is beautiful in this setting. Use this setting if you are viewing anything with subtitles that you want to read. High action films will have a "slide show" effect in such scenes and may cause additional frame skipping, making it even worse. The main downfall is this mode requires the highest bitrate, and thus the biggest size.)

Also note: 320Kbps for video is the highest I have tested. I'm sure you can use a higher bit rate... but from my tests, there has been little need (at least untill the program supports higher frame rates at higher reses) to even use 320. If you want to try higher then 320kbps, use my "High Quality" and tell me how high a bitrate you got before skipping became unbearable.

arjan

great tutorial..
i just found out that if you patch dpgbaserom.nds with the ds loader that you don;t have to patch any converted file anymore.! That makes it compatible with supercard

:wink:

Dudu.exe

i hope they put this video format as default on Moonshell..   DMV enconder rox.. not much work to do .. but the size sux..

this pone the size is better but has lot of work ..

Koji

It'll be added to moonshell for sure (probably next version) but I can't see them creating a full MPEG1/2 encoder just for moon shell.

(edit) Soon I'll add how to cut the video to certain size lengths so you don't go over the 32MB current limit (until someone adds direct SD and CF support)

GatorDeb

I follow the steps.

TPM Encoder to change to MPEG.

Then the MPEG encoder program to change it to NDS.

I replaced the NDS loader file before converting to NDS.

Place NDS in Supercard.  Boot up in NDS mode.  Click on file.  Plugin not found :(

Koji

Quote from: "GatorDeb"I follow the steps.

TPM Encoder to change to MPEG.

Then the MPEG encoder program to change it to NDS.

I replaced the NDS loader file before converting to NDS.

Place NDS in Supercard.  Boot up in NDS mode.  Click on file.  Plugin not found :(

Odd... that doesn't make sense... -frowns- I haven't had any problems. You can instead of using the replaced file, use the original and apply your own loader to the end file and see if that works.

GatorDeb

I got an M3 perfect and I think what I'm going to end up doing is leaving that for GBA, music, and movies and keeping the SC for DS.

It shouldn't be this complicated to get quality movies onto the card, so I think I'll go with the M3 Perfect for that (haven't received it yet).

Koji

Quote from: "GatorDeb"I got an M3 perfect and I think what I'm going to end up doing is leaving that for GBA, music, and movies and keeping the SC for DS.

It shouldn't be this complicated to get quality movies onto the card, so I think I'll go with the M3 Perfect for that (haven't received it yet).

Be thankful you know nothing about video editing. This isn't complicated for me at all <_< but I work for an anime fansub... so I guess I'm used to it by now.

deathrabbit

What settings would you recommend for anime so you can read subtitles?

skydra

you should hook us up with some anime downloads  :lol:
wonderland is hell, and we're heading straight down the rabit hole!

Friend Code-1546-8067-2982

Koji

Quote from: "deathrabbit"What settings would you recommend for anime so you can read subtitles?

I wouldn't recommend it at all. Subtitles are only readable at 256x192 and currently that mode skips too badly to use.

You could try using 256x192 at 12fps at a bitrate of 224-256... but the video WILL skip, and it may skip a whole lot.


sneef

if you want a command line version search for ndsloader.bin

can't remember where i got mine.. it's around..

or you can look for dslazy, a GUI for ndsloader and others...  i think l33t.spod.org has it.. l33t.spod.org/ratx/DS/dslazy .. i think

monk456l

great tutorial, does anyone know what the average size will be of say a naruto episode, and if it gets over 32mb is there a way to split it without splitting up the video first?

deathrabbit

Thanks Koji, I think I will probably hold off on trying this then since thats all that I have files of.

It seems that there is a new version of the encoder out.