IPB

Welcome Guest ( Log In | Register )

 
Closed TopicStart new topic
> DVD/MPG to DPG (Nintendo DS)
Dubz
post Feb 19 2007, 07:16 AM
Post #1


Expert
****

Group: Members
Posts: 582
Joined: 12-May 05
From: Toronto, ON
Member No.: 7,580



This guide is targeted for people who want to watch their movies on their Nintendo DS. I travel alot between Toronto and Montreal and I don't own a laptop. It's conveniant for me to convert my movies to DPG format to watch while I'm on the bus/train.

I will recommend settings that will give you the best quality conversion for viewing on your DS. There is a challenge here because unlike converting to optimize quality and retain as much as you can from the source, the DPG is being decoded using the NDS processor meaning if we set the bitrates too high, the video will be choppy; too low and it'll look aweful. So there is a balance we must attain. I will try and update this guide from time to time as I find better settings to achieve this balance.

Tools you will need:
  1. DVD Decrypter
    • To bypass the encryption and other anti-copy schemes and get your DVD files onto your PC. You can use alternative tools like DVDfab Decrypter, CloneDVD, AnyDVD, DVD Shrink etc. I like DVD Decrypter.
  2. TMPGenc Express
    • This tool is used to extract the audio, video and subtitle streams from the VOB file you will end up with after using DVD Decrypter. There are other TMPGEnc products that allow the use of MPEG Tools. I've tested and had troubles with TMPGEns Plus v.2.5 though, where Express worked fine.
  3. BeLight
    • This tool will be used to convert the AC3 stream to WAV so that BatchDPG can do its job. You will also need to have BeSweet in the BeLight folder for it to work, so download both.
  4. BatchDPG
    • This app will convert your MPG file to DPG so that you can view it on your Nintendo DS. You could use DPGEnc alternatively, however BatchDPG supports subtitles which can turn the tides for anyone using this guide to convert a movie needing captions/subs. I made sure that the source files going into BatchDPG would also work with DPGEnc, so you could really use what you like. Google for these tools.
  • You may also have to use Subrip, I link to another guide for that. You need to have SRT, SSA or ASS type subtitles to work with BatchDPG.
Part 1: Obtaining your Source file
You will need to use DVD Decrypter or a similar app to get the movie onto your computer. If you already have the source file on your computer, skip this step.

The 1st part is a no-brainer. Put in your DVD, close the auto-run if there is one, Run DVD Decrypter and you may get the following pop-up:


Choose the corresponding region and hit okay. Next select 'IFO' from the 'Mode' drop-down:


Now you choose the main movie from the list on the right:


I'm using the movie Snatch as my source DVD. Great movie. Now a quick look on the Stream Processing tab shows me that VTS_01 is 16:9 (widescreen). This isn't what I want. My DS screen is small enough without nasty black bars on the top and bottom of the screen. VTS_02 appears to be the 4:3 (Fullscreen) that I want of the movie. If your source DVD is Season 1 of the Simpsons for example, you might want to backup the whole DVD or use File mode. Alternatively you could do it ep by ep as I'm showing here.


Now on the Stream Processing Tab you check 'Enable Stream Processing' then tick off which Video, Audio and Subtitle file you want. In BatchDPG you can only have 1 subtitle/caption file per movie. It gets hardcoded in (meaning you can't choose to turn it on/off). So only choose 1 of each type of stream. When choosing your Audio stream look for LCPM stereo or something that isn't surround sound or AC3. We will need a WAV file in part 3, if you can get it here, all the better. Also, you don't have to choose any subtitle stream if you don't want one in the end. I've chosen one only to show how to go about processing it for the sake of the guide. *At the bottom notice how you can choose Direct Stream Copy, Demux or RAW. At the time I couldn't get DVD Decrypter to Demux properly at this stage, I've since been readin the userguide for DVD Decrypter and will update on how to capitalize on this option after I've tested it properly.

Now, let's alter one important setting. We don't want multiple VOB files. Rejoining them is a pain in the ass and can cause audio sync issues. That said, under the 'Tools' dropdown, choose 'settings...', click the 'IFO MODE' tab and select 'None' from the 'File Splitting' drop down.


That's it. Click okay, choose your preferred output destination and click the Decrypt icon (the one that looks like a DVD with an arrow going to a Hard Drive). You will end up with a VOB and an IFO file. It shouldn't take more than 10-20 minutes to complete depending on your PC and the size of the movie/episode you want.


--------------------
Downloading copyrighted material that you are capable of buying, that has an alternative that you are capable of buying or that has a free alternative is is indeed an act worthy of punishment. Unless it's music and you live in a place like Canada. Or unless you have another just reasoning. But hey, it's a free service. If you can live with that, then by all means go for it.
Go to the top of the page
 
+Quote Post
Dubz
post Feb 19 2007, 07:17 AM
Post #2


Expert
****

Group: Members
Posts: 582
Joined: 12-May 05
From: Toronto, ON
Member No.: 7,580



Part 2: Converting your Subtitles
You can skip this step if you didn't choose a Subtitle/Captions stream in Part 1. If you have taken a subtitle stream, note that it will be hardcoded into the DPG file. You will not be able to turn them off. That said, please follow step 1 and 2 of the following Subrip guide: http://www.doom9.org/subrip.htm

You may notice that this tool is mistaken in picking up some letters. My SRT file had 50% of the letter 'c' peing picked up as an 'o'. A few minutes in MS Word with spell check fixed most of it.


Part 3: Creating an MPG file that will work with BatchDPG or DPGEnc
Using MPEG Tools from TMPGEnc Express we are going to de-multiplex the VOB file, edit the streams so that they will work in the DPG encoder, then re-multiplex the streams together into an MPG file. Open TPMGEnc Express and choose MPEG Tools...


Now click the De-Multiplex tab anc click the 'Browse' button at the top;


You cannot select your VOB file by default, choose 'All Files (*.*)' from the 'Files of Type' dropdown at the bottom of the browse screen:


It will output automatically to the same folder. Click okay and let it demux the streams:


You will end up with an m2v video stream and either an AC3 or a WAV file. Once it's done demuxing, close TMPGEnc.

If you have an AC3 file, we will have to use BeLight to convert this to WAV format. To use BeLight, you have to have the Besweet files in the same folder as shown:


Now, we run BeLight, File>Open and browse for your AC3 file and click open. Now on the right side choose the WAV/PCM tab. You want to keep 16 Bit Stereo WAV, leave the other settings to their defaults.


If you know of better BeLight settings for an AC3 to WAV conversion, please write in the comments and I will update the guide. Mind, the WAV file is going to be re-converted with our DPG Encoder and having a higher quality here likely will not transfer over to the final product.

Now that we have our DPG compatible streams we can remux back to MPG format. Re-open MPEG tools and Multiplex:


The 'Format' will auto-detect and fill on its own. As will the Audio field after you browse and find the m2v file. Be sure to check that it is picking up the correct audio file. Unless you've moved it, it will take the ac3 file by default. You want the WAV.

Part 4: Converting the MPG to DPG
After several tests and google searches, the following are my preferred settings. They don't lag on my DS and the picture is decent, the audio is pretty good aswell. No matter what I've tried so far the background is noticably pixelated. If you know of the settings, or a new tool that can raise the quality a bit, please post a comment. This has worked well on 3 of my sample videos, I will be transcoding about a dozen DVDs to DPG over this next week and if I find better settings or a quicker method I'll update here.


If your DS lags with these settings, then lower the bitrate of the audio or video, lower the FPS or set the audio to mono. See the next section for alternative settings. My settings are significantly higher than the ones to follow. I have only tested this on 4 minute long samples, I'll see soon if it lags once the full movies have finished encoding overnight.


Misc
  • If you notice any spelling/grammar errors, anything that doesn't make sense or is simply incorrect, please post a comment and I will edit. If you know a better way of doing one of these steps, or for the process as a whole, again, please post a comment.
  • The Nintendo DS doesn't automatically allow you to play DPG media. You will need to play it through MoonShell. The best way to do this is to get R4DS or the M3 Simply(same thing really), MoonShell comes with these cartriges.
QUOTE
Originally Posted by CPU_Smarts
Multiple Setting I've Tested:

BatchDPG v1.0

~Average Settings~

Video-------

FPS:20 (or 18 )
Width: 256
Heigth: 192
Bitrate: 128 (192 to go with 18 FPS*)
Profile: High

Audio------
Bitrate 128
Samplerate 32000

~High Quality~

Video-------

FPS:15
Width: 256
Heigth: 192
Bitrate: 256
Profile: High

Audio------
Bitrate 128
Samplerate 32000

~High FPS~

Video-------

FPS:24
Width: 192
Heigth: ??? (Use original converter if you must)
Bitrate: 256
Profile: High

Audio------
Bitrate 128
Samplerate 32000



BatchDPG is here:

[Removed link]

If there are subtitles, go with the High quality and lower FPS if you can deal with it


* = Video lagged maybe a few times, but still very watchable

Setting were tested with a 22 minute english subbed video


--------------------
Downloading copyrighted material that you are capable of buying, that has an alternative that you are capable of buying or that has a free alternative is is indeed an act worthy of punishment. Unless it's music and you live in a place like Canada. Or unless you have another just reasoning. But hey, it's a free service. If you can live with that, then by all means go for it.
Go to the top of the page
 
+Quote Post
Fallen01
post Feb 19 2007, 07:29 AM
Post #3


Master
*****

Group: Members
Posts: 1,192
Joined: 12-May 06
From: Sydney
Member No.: 52,551



Nice work Dubz, I'm sure this will come in handy but shouldn't it be in the tutorials section?.


--------------------

How can you challenge a Perfect, Immortal Machine?
Go to the top of the page
 
+Quote Post
Dubz
post Feb 19 2007, 12:26 PM
Post #4


Expert
****

Group: Members
Posts: 582
Joined: 12-May 05
From: Toronto, ON
Member No.: 7,580



Indeed. I can't post there however, it needs to be moved by an op.

I should PM one?


--------------------
Downloading copyrighted material that you are capable of buying, that has an alternative that you are capable of buying or that has a free alternative is is indeed an act worthy of punishment. Unless it's music and you live in a place like Canada. Or unless you have another just reasoning. But hey, it's a free service. If you can live with that, then by all means go for it.
Go to the top of the page
 
+Quote Post
Guest_ubisuck_*
post Feb 19 2007, 01:24 PM
Post #5





Guests






QUOTE(Dubz @ Feb 19 2007, 07:26 AM) [snapback]222582[/snapback]
Indeed. I can't post there however, it needs to be moved by an op.

I should PM one?


Yes, you should but choose well, meaning PM an active and helpful one. wink.gif
Go to the top of the page
 
+Quote Post
aka_PABLO
post Feb 19 2007, 01:41 PM
Post #6


King
******

Group: Power Posters
Posts: 3,183
Joined: 21-January 06
From: Wigan, northwest england
Member No.: 41,666



cool, a new tut


--------------------
Go to the top of the page
 
+Quote Post
tansydog
post Feb 19 2007, 02:36 PM
Post #7


Empress
********

Group: Ex-moderators
Posts: 11,226
Joined: 19-December 05
From: UK
Member No.: 38,276



Nice guide smile.gif

(especially as I have a DS! laugh.gif)

Moved to tutorials


--------------------


Please DON'T send me PMs asking questions which could be answered on the board
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 22nd November 2009 - 04:46 AM