This is a how to for converting videos into the DPG format in Ubuntu which can then be run in moonshell on your Nintendo DS.
If you have any tips, found mistakes or found out a better way to get this done, please comment below.
Ok here we go...
Step 1: Getting the right stuff
Install mencoder and mplayer:
Open up a terminal and copy this into there:
Code:
sudo apt-get install mencoder mplayer
Get your hands on the dpgconv python script and mpeg_stat:
Download the dpgconv script here (http://theli.ho.com.ua/dpgconv/dpgconv-0.43.py)
Get mpeg_stat here (ftp://ftp.riken.go.jp/pub/FreeBSD/di...2b-src.tar.gz/)
If this link doesn't work I have uploaded the archive below
Step 2: Setting it up
Create new folder in your home directory and name it DPG
Move the file you want to convert, the mpeg_stat archive and the dpgconv script into this folder
Now we have to compile mpeg_stat
extract the mpeg_stat archive in the DPG folder (right click --> extract here)
Open up a terminal
Code:
cd /home/DPG/mpeg_stat-2.2b-src/mpeg_stat
make
Move mpeg_stat and mpeg_stat.1 to /bin (otherwise the dpgconv script can't find them)
Code:
cd /home/DPG
sudo cp mpeg_stat /bin/mpeg_stat
sudo cp mpeg_stat.1 /bin/mpeg_stat.1
You can't just copy files into the /bin folder without having the right permissions, hence the sudo command
Create an executable of the dpgconv script
Code:
cd /home/DPG
chmod +x dpgconv-0.43.py
Step 3: converting the video
Code:
cd /home/DPG
python dpgconv-0.43.py video.avi
That's about it, enjoy watching videos on your DS!
Bookmarks