Converting avi files to dpg in Linux

March 14, 2009 by Clair Ching  
Filed under Geeky Fun

Nintendo DS and DS Lite owners not only play games with their console. We also listen to music, read ebooks, draw pictures, etc. There’s also another thing we could do and that is watch videos. Like other DS owners, I’ve also looked for ways to convert videos into dpg files. One of my main problems is that the available tools I’ve been seeing are the ones that run on Windows. An example is Super. If I wasn’t at home, I couldn’t convert any of my videos because it’s the desktop machine that has a copy of Super running on it. I tried looking for some tips before but I mainly failed at trying them out for one reason on another. In any case, there’s a tip that works and it came from noeman.org: HOW-TO: Converting your movies to DPG for Moonshell on the Nintendo DS. This is especially for Moonshell users, as the title says.

Dependencies:
mplayer
mencoder
python (because the script that will convert the files is in python)

Files you need:
dpgconv (a python script)
mpeg_stat

The setup:
1. You need to create a DPG folder in your home folder. (~/DPG)
2. Place the dpgconv script and the mpeg_stat archive in ~/DPG. Extract the files of mpeg_stat there. You could use the tar command or the archive manager to extract the files.
3. Compile mpeg_stat.
4. Move the mpeg_stat and mpeg_stat.1 files into /bin. You need administrator access to do that.
5. Make the dpgconv script executable. You could use the chmod command on the terminal or you could do it on using the file manager by editing its properties.
6. Put a video in your ~/DPG folder. Convert the file using this command: python dpgconv-0.43.py your_video.avi and at the end of the conversion you will see a dpg file version of your video.

I just noticed that it takes maybe 10 minutes to convert a file between 100-200MB. If you have bigger files, then that would take longer to convert. But if you really want to play video, at least you can convert them for your DS.

Happy converting and video watching on your DS!

  • StumbleUpon
  • Digg
  • Facebook
  • Mixx
  • Google
  • TwitThis
  • Reddit
  • Yahoo! Buzz
  • Slashdot

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!


About Us | Advertise with us | Blog for EveryJoe | Privacy Policy | Terms of Use
Get This Theme | Sitemap


All content is Copyright © 2005-2009 b5media. All rights reserved.