PDA

View Full Version : Guide to make DPG videos


SoraK05
4th September 2007, 09:38 PM
Guide for making the best videos (DPGs) for DS (played in MoonShell)
--------------------------------------------------------------------

This is a guide to try and produce the best quality DPGs that maintain full speed, on your DS with MoonShell. It's not 100%, and isn't the truth, whole truth, and nothing but the truth.
It's how I make my DPGs, after experimenting with quite a lot of videos and time...


THE SHORT VERSION
After doing a lot of research and encoding, I believe BatchDPG is the better program to use, over DPGTools, as much as I thought otherwise. You'll find out why if you read more, and how to encode all videos to work, including the ones that the DPG encoding programs don't work with - like ones which refuse to open altogether, or ones that just do the video, or just the audio, etc.


Heads up:
Some MicroSDs like DPGs, and some don't.. even Japanese ones can sometimes be fussy, so if a DPG doesn't work, it could just be that MoonShell doesn't like that particular MicroSD...

Also wanted to mention that it takes a very long time to produce a good quality DPG...


From my experience, you'll need the following software:
(Keep in mind, I don't pirate, so can't hand out software or links, find them on your own)

Essential Software:
1) ImTOO 3GP Video Converter 3 - Best converter made (that I found.. much better than TVC <below>, but doesn't handle FLV. TRY THIS FIRST)
2) Total Video Converter - This is JUST FOR FORMATS ImToo 3GP Video Converter 3 doesn't handle, like FLV files.
2) TMPEGEnc Plus
3) BatchDPG & Avisynth
4) DPGTools
5) MoonShell



Idea for best video:
Since you'll need to convert your original video, the idea of quality loss during conversion comes into play. For this reason, I recommend the following software, and in this order:

1) ImTOO 3GP Video Converter 3 (or Total Video Converter for files it doesn't work with, like FLV)
2) TMPEGEnc Plus

Using this software, you can keep your video in it's pure original state, and convert it into a file that can be converted very easily with the program of your choice.

The idea is to keep the aspect ratio identical, and also the audio and video bitrate, so it's an identical conversion of the video in question. The idea is also to prepare a your video, through converting, to guarantee that it will convert using BatchDPG and DPGTools 100%, without any degradation or stuff missing, like audio or such.. the conversion process of your original video before using the DPG program is also to increase compatibility of the video in question, and should be done in the order recommended, as if you skip a step, may end up with a video that doesn't work.



Speed for videos:
It's important to note that when making a video, the higher quality the video, the more it would definately lag when playing in MoonShell. I found that when I make the best possible DPG, it skips and jumps, and then the only way to get it to smoothen out is if you lower the volume in MoonShell, which is sometimes straining so hard, that you have to actually pause the video with 'L' and then you can lower the volume properly.
I've tested best quality videos possible on a crappy MicroSD, and on a 1GB Nokia Made in Japan with a Random Access Time of 0.6ms.. I've never tested it on a card that comes with a NAND Flash on it.

There is a heavy video I have to benchmark with:
David Guetta - Love Is Gone
If you put the ultra highest settings, you will hardly watch 1 second before it starts lagging on some cards.. for this reason, you have to balance your settings for your software.

N.B
Unless you are watching a low quality DPG, It's recommended to keep the volume of MoonShell itself at about 68%, to reduce lagging in the videos.




Instructions for conversion:
Step 1
Part a)
Open up ImTOO 3GP Video Converter 3, then load up a video into the menu. Load up the profile 'MPEG-1 Movie'. Highlight the video you put in, so you can highlight the options on the right.
Set the options as so:

GENERAL:
Duration: Full
Start Time: 00:00:00
File name
Target

VIDEO:
Video Codec: mpeg1video
Standard: Auto
Video Size: 640x480
Bit Rate: 4000
Frame Rate: 25
Aspect: Auto
Same Quality: False

AUDIO:
Audio Codec: mp2
Bit Rate: 320
Sample Rate: 48000
Channels: 2 (Stereo)
Disable Audio: False

Now, click on SAVE AS where the profiles are and save it as "Custom DPG". That is the profile you are going to use to convert all the videos you're going to convert.

NOW. Where it says "Zoom:" at the bottom, click on "Full (Keep aspect ratio)".

Load up all the videos you want, and make sure when you highlight all of them, they are all using the Custom DPG profile.

Encode the videos.


Part b)
If you want to convert an FLV, open up Total Video Converter.
Load up the video you want, then click on the MPEG box.
ONLY USE WITH FLVS.. IF YOU HAVE OTHER TYPES, USE IMTOO 3GP CONVERTER, UNLESS IT DOESN'T OPEN IN THAT PROGRAM.

Highlight the video you are converting, then click on SETTINGS.
Set them up as follows:

--AUDIO OPTION:
Audio Channel: Auto
Audio Codec: mp2

Sampling rate:
Original Frame Rate (or System default)

Bit Rate:
Original Bit Rate (or System default)

Adjust audio volume: LEAVE OFF

--VIDEO OPTION:
Video Codec: auto

Frame Rate:
Original Frame Rate (or System default)

Bit Rate:
Original Video bit rate (or System default)

Activate high quality settings:
ON

Advanced
OFF

--VIDEO RESIZE:
Resize: Original Size
Aspect: Normal

Don't touch VIDEO CROP & PAD


N.B
Now just process the file, after double checking that the settings you put remained. Sometimes, if you deselect the file and highlight it again, the settings reset to the settings of the current highlighted preset.. It makes it difficult for making more than one video.. To do that, you'll have to open each preset, and save them all with the above setting, then you can batch process FLV files....

At this point, you have two choices - either go straight to your DPG Processing tool, or recovert this product into a 'better' MPG. In my opinion, it's better to take the extra step, for pure compatibility. The problem is, sometimes, if you convert this product into a DPG at this point, you might still not be allowed to, i.e. the DPG program won't let you, or you might still have audio/video not working, or the sorts. To guarantee that your video WILL WORK, and with NO DEGRADATION:



Step 2)
Open up TMPGENc Plus, and have a new project open.

Click on the 'setting' tab, and do the following:
--VIDEO
Stream type: MPEG-1 Video
Size: 1:1 (VGA)
Frame rate: 29.97 fps
Rate control mode: Constant bitrate (CBR)
Bitrate: 4000
Motion search precision: Highest quality (very slow)

--ADVANCED
Video source type: Non-interlace (progressive)
Field order: Bottom field first (field B)
Source aspect ratio: 1:1 (VGA)
Video arrange Method: Full screen (keep aspect ratio)

Leave the rest, in my opinion

--AUDIO
Stream type: MPEG-1 Audio Layer II
Sampling frequency: 48000
Channel mode: Stereo
Bitrate: 320

--SYSTEM
Stream type: MPEG-1 System (automatic)

With these settings, click on OK, then 'save' to save the preset. Save it as 'DPG Preset'


You're done setting it up. Now just browse to the video in the 'video source' tab, and open it up. You should see the numbers just after "MPEG-1" changing, to indicate it's matching the resolution of the video you just entered. It should do this for every video.

This should set the aspect ratios and whatnot to be just what you're looking for for this conversion - maintaing the video, and ensuring no degradation.

Now just click on "Start" on the top-right, and it will encode the video into the best format of MPG you can have - which is the easiest format for your DPG encoders to handle.

-- As a head's up, the files you are preparing are going to be VERY BIG in size. You'll need a fair amount of hard disk space...



That product is ready to be converted into a DPG now.

You could, alternatively, click on FILE in TMPGEnc Plus, and on "MPEG Tools". Find the "Merge & Cut" tab, and load your final product video into the menu, if you would like to cut the video into different segments, in case it's a video with many shows and you would like to split them. You can do that here.



Best program to use for DPG Conversion:
After extensive experimetation, I figure it's BatchDPG.. It takes a fraction of the time, and the videos will pretty much never jerk, unless you put the audio quality to 48000khz. DPGTools will frequently jerk if you try to raise quality. On top of that, the best quality DPG of DPG tools isn't *that* much better that the BatchDPG video, plus it will never jerk using BatchDPG, unless you put the audio to 48000KHZ.. and put the bitrate to the highest too.



Best settings for BatchDPG and DPGTools:
If you want to have a smooth consistent video, generally speaking, and for any format (crap/good MicroSD, or NAND) you have to set:

N.B
To get BatchDPG to install, you have to install AviSynth first...

- For BatchDPG:
Bitrate: 224 (or 192 for bad MicroSDs)
Samplerate: 32000
Normalize: On

If the Bitrate is higher, regardless of samplerate, there will be lagging, and if the samplerate is higher, there will be lagging, regardless of the opposite setting.


- For DPGTools:
Format: MP2
Bitrate: 192
Pixel format: RGB21 for quality
Video aspect ratio: Auto Detect
Video bitrate: 256 (or 192 for bad MicroSDs)
Video framerate: 24 (or 22 for bad MicroSDs)
Smooth frame blending: Off (or On for bad MicroSDs)
MEncoder: High-quality profile (slow encode)

If you can't select some of these settings, check 'advanced settings' to On.

If you increase anything, like the bitrate for audio or video, then it will compromise the video.. Already with this setting, you'll notice in the heaviest of videos that there might be lagging, but this is generally the best you can squeeze from DPGTools and get it to work as best as possible on any MicroSD/NAND.


Now all you have to do is encode the file in your program of choice.

That's it!

Here are some videos I uploaded:

David Guetta - Love Is Gone (BatchDPG).dpg
Made in BatchDPG with the following settings:
Bitrate: 192
Samplerate: 32000
Normalize: On

David Guetta - Love Is Gone (DPGTools).dpg
Made in DPGTools with the following settings:
Format: MP2
Bitrate: 192
Pixel format: RGB21 for quality
Video aspect ratio: Auto Detect
Video bitrate: 256
Video framerate: 24
Smooth frame blending: On
MEncoder: High-quality profile (slow encode)

David Guetta - Love Is Gone (DPGTools - ULTRA).dpg
Made in DPGTools with the following settings:
Format: MP2
Bitrate: 256
Pixel format: RGB21 for quality
Video aspect ratio: Auto Detect
Video bitrate: 512
Video framerate: 24
Smooth frame blending: On
MEncoder: High-quality profile (slow encode)

Download link:
(Compressed with WinRAR)
http://rapidshare.com/files/53441951/David_Guetta_-_Love_Is_Gone__DPG_.rar

42.4 MB

Cless
6th September 2007, 12:17 AM
Nice Guide:D

SoraK05
6th September 2007, 12:21 AM
Thanks.. :)

tomqman
6th September 2007, 03:17 PM
kool very nice thanks

LordMelkor
6th September 2007, 08:11 PM
Hey Sora... after reading your guide I'm feeling slightly skeptical, admittedly I haven't invested the time to do all the conversions yet :o . I find it kind of amusing how you keep emphasizing things like "To guarantee that your video WILL WORK, and with NO DEGRADATION:"

Why that strikes me as strange is the fact that it's not true (granted you have a disclaimer) But mpeg1 video uses a lossy video codec (as an analogy if you have ever heard of things like FLAC for music files, FLAC is lossless... no degradation... compared to mp3 which is lossy). So no matter what you do WHENEVER you reencode a video with a lossy codec, no matter what program you use you WILL lose data (actually if you increase the bit rate during a reencode you will be adding data, but its not data that adds to quality, it'll just be like grain or other general shittiness).

Another point is that to play properly on a DS the video needs to be resized, the act of resizing a video (during an encoding process, not necessarily playback) is basically deleting for example every other pixel so that you can stick the remaining pixels closer together thus shrinking the video (its slightly more complicated but thats the general idea) aka MORE data loss aka degredation. Thats why some times if you shrink a video it will look really crappy or not depending on what resizing algorithm is used.

Even when you reencode to the same bitrate using the same codec there is quality loss. Each time some of your data bits that contain the actual video information face possible deletion or replacement with junky bits that codec uses to save space. Because what these converters do is that they first decode the already encoded data, and then apply the lossy method again.

-- http://www.oreillynet.com/cs/user/view/cs_msg/21365 <-- go there for a slightly more eloquent example.

Now I'm looking at your procedure and you are suggesting that people re-encode their videos THREE times (in addition to the fact that chances are the file they are converting has already been encoded in some way so that it is a nice file size and viewable on the computer).

I think the FAR better alternative would be to mess around with the BatchDPG settings a bit and find the optimal settings, that way you are only dealing with the data loss from 1 encode. And don't be afraid to try turning down the bit rate slightly. BatchDPG seems to use mencoder, which although not the best mpeg converter, is pretty decent.

BTW as a side note... CCE is far superior to any other mpeg1 compression tool in terms of quality preservation.

(When people talk about the quality of video files in terms of encoding, it refers the the amount of the original video data that is accurately preserved and subsequently perceived.)

*Conclusion* For those who don't feel like reading what i wrote... I'm basically saying that this guide is rather misleading and quite inefficient in theory. The only foreseeable reason that someone would need to do all the steps listed, is if their video is messed up and wont play after just the original batchDPG or DPGTools encode.

&& @sora nothing personal... your guide on the 3-in-1 was really helpful :-D .

SoraK05
6th September 2007, 08:22 PM
Well.. if the original video you're using in BatchDPG works without an issue, then there's no need for the guide...
However.. like you said, for videos that don't work, that's the best way to get them to work without a problem, and perhaps instead of NO degradation, it should be 'AS LITTLE DEGRADATION' as possible..
And theoretically, there shouldn't be that much loss even if the video works directly in BatchDPG with this method.. not so much.. but I do agree, that the best coversion possible would be a direct one - I guess if the makers of BatchDPG could add more support to their codecs and whatnot, then the procedure listed above wouldn't really be necessary...

euphemism
6th September 2007, 08:36 PM
Nice Guide, I use a different video converter though. It's called the Simplified Universal Player Encoder & Renderer, or SUPER © (http://www.erightsoft.net/SUPER.html). It's freeware, and just....amazing. The download link is at the bottom of the page if you want to try it out. ;)

SoraK05
6th September 2007, 08:52 PM
Wow, nice find! Thanks!

arjunsood2003
25th September 2007, 02:20 PM
i found this super converter thing...on a site called erightsoft site...im scared to post the link in case its a pirated software or something..

is the thing safe to dload? i mean free of virii/spyware?

thanks

fragus
26th September 2007, 03:42 PM
Nice Guide, I use a different video converter though. It's called the Simplified Universal Player Encoder & Renderer, or SUPER © (http://www.erightsoft.net/SUPER.html). It's freeware, and just....amazing. The download link is at the bottom of the page if you want to try it out. ;)

Euphemism is right; SUPER © works very very well.
I have converted many DVD of live concerts already with good results.

Gh0st
27th September 2007, 11:16 AM
SUPER is just a graphical user interface (GUI) ... it works fine but it all depends on your config.

Watch here for an impressive official list of Unofficial Packages ;-) http://www.mplayerhq.hu/design7/projects.html#unofficial_packages

Also read HOWTO Mencoder Introduction Guide (http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide)

As windows player GUI you should also go straight to MPUI (http://mpui.sourceforge.net/) ( a VLC strong challenger now ... ) ... Mplayer Control (http://mplayerc.sourceforge.net/) is another one, strong built & stable but with less GUI options. It works flawlessy with a PII and a matrox G400 ;-)

Don't miss additional codecs pack for reading weird formats if the player fails alone !

berkley
27th September 2007, 01:38 PM
Will any of this software work for mac or what?

Gh0st
1st October 2007, 04:57 AM
If you read it you will found a section called Mac OS X



Mac OS X


* MPlayer OS X / MEncoder OS X
binary distribution of MPlayer and MEncoder with GUI
* djoPlayer
simple and easy to use MPlayer GUI
* MPlayer Controller
MPlayer remote control over a Bluetooth phone
* D-Vision
MEncoder GUI for DivX 3/4, XviD and H.264 encoding
* DVDibbler
GUI for the Mac OS X port of MEncoder
* mConverter
Mac OS X GUI for converting video files
* ffmpegX
shareware FFmpeg and MEncoder frontend
* ffmpegX Companion
ffmpegX Companion helps you convert the MEncoder autocrop settings to entries which ffmpeg can understand.
* DVD Juggler
DVD/movie collection manager

Akoi Meexx
23rd November 2007, 03:10 AM
Has anyone else had a problem with mencoder crashing? I get the audio transcoded, but mencoder fails once it's initialized for the video.

SoraK05
23rd November 2007, 01:26 PM
Sounds like a video it doesn't like - I think you'll have to convert the video to another video format, then encode that converted video.. Read the thread to figure out how to convert a video.. should fix the problem I think..

Eponasoft
24th November 2007, 02:42 AM
I wish I had read the entire thread before acting, as I spent the $29 on ImTOO 3GP Video Converter 3. Granted it was not a huge expense, but when you're a low-budget studio like us, every dollar has to count. Oh well. SUPER does the job very well, and makes life very easy. I did, however, also have the problem with the crashing mencoder application, so fear not, Akoi Meexx, it's not just you.

Gh0st
24th November 2007, 07:20 AM
If you want to dig more inside encoding you can check http://gbatemp.net/index.php?showtopic=35547 also

With a clean fresh install you will avoid most crashes ;-)

+ A very nice tool : Internet Video Converter (http://ivcsoft.free.fr/)

jenshoofd
10th January 2008, 08:13 PM
can some one help me out for a second?
well i just downloaded the programs but i also can just put my video file in the batch dpg well atleast i think cause i dont know how it works i just need the simply'est way cause this whole thing doesnt work for me =(

SoraK05
11th January 2008, 12:27 AM
After you install both Avisynth and BatchDPG, click on the top-right button to browse and select the file(s) you want to convert.
After that, select the Temp folder it will do the coversion in, and the Output folder for the DPG product.
I'd recommend leaving all the other settings the same besides changing the Audio Bitrate to 160kbps, then click on ADD to add the files you want to convert, then click on RUN to do the conversion.

jenshoofd
11th January 2008, 08:10 PM
then What to do:confused: :confused: i really dont know i mean how to put it on your ds cause there are a lot of files
+ netwerk resource is unavailable i also got im too 3gp video converter witch works perfectly but i dont know what to do tell me=5 do thx

gsourze
29th January 2008, 12:53 PM
On that page that you offered for that cool conversion program where is the actual link to start your download?

Its a whole bunch of writing!

gsourze
29th January 2008, 01:01 PM
DW got it!

angelordevil
9th February 2008, 08:28 PM
I tried the Simplified Universal Player Encoder & Renderer unsuccessfully - kept getting error messages. Instead, I've found that DVD Fab Platinum 4.0.5.5 http://www.dvdfab.com/ works really well. Converts from DVD to DPG in one go, typically in 40 - 50 minutes. Also handles movie conversion for iPod, PSP, Zune, X-Box 360, PS3, Cell Phone, PVP & PDA. No further need for complex conversion using multiple pieces of software. 30 day trial allows full functionality to convert NDS movies, allowing you to test it before buying.

laz305
26th March 2008, 09:05 PM
thx hope batch works for me, seems like a mission tho might need some more help lol

SoraK05
26th March 2008, 10:35 PM
Feel free to post and ask questions :)

leavemealone347
29th March 2008, 10:16 PM
Anyway to convert these on OS X?

I just found this: http://www.somefreesoftware.com/?p=3

But apparently it doesn't work

Timothy
28th April 2008, 08:58 PM
well , i don´t know anything about converting , not even when i read the wole threat , can any body please , please give a real simple converter , like when you want to convert it , you throw it in and the thing you need comes out ? ( realy dumb said :D but i am not that smart with computer programmz)

DJ FreeLicks!
11th August 2008, 03:27 PM
I must admit, I can sympathise with those who find this all a bit complicated. I don't understand half of the terminology these programs (and the posts in this topic) throw at me. I actually managed to get BatchDPG to work and got a movie onto my DS albeit at not great quality. I'm about to move overseas though and just formatted the laptop and now apparently I'm missing a codec to use BatchDPG... the genius thing is: it won't tell me which one. I even have CCCP installed and it's still a no-go. I'm downloading SUPER now, so we'll see how that works but I would recommend some more ultra-simple guides on this page.

SoraK05
11th August 2008, 07:47 PM
You need Avisynth installed to make BatchDPG work, and 'prepping' the videos in Super C (to MPEG-1) is recommended in order for BatchDPG to be able to convert most, if not all you want it to convert..

arch feline
22nd August 2008, 03:32 AM
I am converting from *.avi. It has been some time since I have tried because I had lots of trouble running them through batchdpg.

If the tutorial tells you how to convert from *.avi, then I missed it because the tutorial seems to talk about mpegs.

aekx
24th August 2008, 03:47 AM
check kinda throwin this in here, but how do i convert rmvb's to dpg?
i was looking around and batch DPG doesnt support it.

easiest way to keep the quality up between rmvb and dpg and convert?
basically, i want decent quality dpg's from rmvb's.
which program do i use?

Karbrino
26th August 2008, 04:50 PM
Simple explanation to make .flv into .dpg?

malatata
23rd January 2009, 04:15 AM
has anyone tried Xvid4PSP. Despite the name, it does converting to nearly every single format and the files are much smaller than SuPER encoded files

WW3
23rd January 2009, 05:25 AM
wow.... im surprised that super wasn't #1 on that list xD although it does take some horsepower to run it :p ... :S it's like a video conversion god:)

Sticks
23rd January 2009, 04:54 PM
More like a bloated piece of fail-software. Seriously.

I'd second XviD4PSP. Though just BatchDPG is fine.

WW3
23rd January 2009, 05:04 PM
More like a bloated piece of fail-software. Seriously.

I'd second XviD4PSP. Though just BatchDPG is fine.

not one of my dpg videos have failed... and can you really complain about something that is free? just saying

amak1131
23rd January 2009, 06:16 PM
not one of my dpg videos have failed... and can you really complain about something that is free? just saying

Downloading from their site is a pain...but it is a great AiO conversion tool.

WW3
23rd January 2009, 09:36 PM
i can second this... but the auto update sure does come in handy :)

malatata
26th January 2009, 09:50 PM
Xvid4psp is free too

amak1131
26th January 2009, 11:43 PM
Xvid4psp is free too

Does it convert any other formats besides DPG? That's the reason I keep SUPER on hand:D

ChuckMcB
27th January 2009, 09:39 AM
Does it convert any other formats besides DPG? That's the reason I keep SUPER on hand:DSeems that it does (http://www.videohelp.com/tools/XviD4PSP):

More information and other downloads:
Import formats:
AVI DIVX ASF MPG MPE MPEG VOB TS M2P D2V MOV QT 3GP HDMOV RM RAM RMVB RPX SMI SMIL MKV OGM WMV DVR-MS PMP FLV.

Export formats:
PMP AVC, MP4 PSP 2.80, MP4 PSP 480, MP4 iPod, MP4 iPod 640, MP4 PS3, MP4, AVI, AVI DV PAL, AVI DV NTSC, MPG, MPEG-2 PAL, MPEG-2 NTSC, FLV.

Guitar1969
28th January 2009, 09:24 PM
not one of my dpg videos have failed... and can you really complain about something that is free? just saying

I really wanted to like SUPER, but after it gave me the blue screen of death 4 times, and then knocked out the audio completely on my XP system, I gave up and unistalled it. Tried to use their forum, but that wouldn't load either.

I am back to DPGTools

WW3
28th January 2009, 09:35 PM
sorry about the 4 bsod's :( but hopefully you enjoy your video's:)

amak1131
29th January 2009, 12:16 AM
Seems that it does (http://www.videohelp.com/tools/XviD4PSP):

Hmm...looks very good except no mp3 exporting support...oh well, thanks for finding the info.

chaoticanarchyX
20th February 2009, 02:46 AM
I've been using DVD Fab 5 To rip the DVD's into Generic (AVI file.) I put the FPS to 30, Look for the biggest screen res, and go for the max Bit rate. After that I use Batch DPG Unoffical and have it set to 128 kbs and 4800khz for the audio, have the frame rate set to 30, I'm sure that it wont actually encode the full 30 frames a second though, and go from there and all my videos have been comming out great. I've been messing around with the bicubic, spline16 and stuff, and still havent noticed a diffrence in any of the vidoes yet. I havent seen much at all in the way of jerkyness.......